Author: Antonio Cuni <anto.c...@gmail.com> Branch: extradoc Changeset: r3692:9d41c84ce6ca Date: 2011-06-16 11:51 +0200 http://bitbucket.org/pypy/extradoc/changeset/9d41c84ce6ca/
Log: start to write the ep2011 slides diff --git a/talk/rst2beamer-template/Makefile b/talk/ep2011/talk/Makefile copy from talk/rst2beamer-template/Makefile copy to talk/ep2011/talk/Makefile diff --git a/talk/rst2beamer-template/author.latex b/talk/ep2011/talk/author.latex copy from talk/rst2beamer-template/author.latex copy to talk/ep2011/talk/author.latex --- a/talk/rst2beamer-template/author.latex +++ b/talk/ep2011/talk/author.latex @@ -1,8 +1,8 @@ \definecolor{rrblitbackground}{rgb}{0.0, 0.0, 0.0} -\title[PyPy: becoming fast]{PyPy: becoming fast} -\author[antocuni, cfbolz, pedronis] -{Antonio Cuni \\ Carl Friedrich Bolz\\ Samuele Pedroni} +\title[PyPy in Production]{PyPy in Production} +\author[antocuni, arigo] +{Antonio Cuni \\ Armin Rigo} -\institute{EuroPython 2009} -\date{June 30 2009} +\institute{EuroPython 2011} +\date{June 23 2011} diff --git a/talk/rst2beamer-template/beamerdefs.txt b/talk/ep2011/talk/beamerdefs.txt copy from talk/rst2beamer-template/beamerdefs.txt copy to talk/ep2011/talk/beamerdefs.txt --- a/talk/rst2beamer-template/beamerdefs.txt +++ b/talk/ep2011/talk/beamerdefs.txt @@ -20,6 +20,14 @@ } +.. |scriptsize| raw:: latex + + {\scriptsize + +.. |end_scriptsize| raw:: latex + + } + .. closed bracket .. =========================== diff --git a/talk/ep2011/talk/django-last-year.png b/talk/ep2011/talk/django-last-year.png new file mode 100644 index 0000000000000000000000000000000000000000..339e57211b180b7d4e389819eddb1c530849d35d GIT binary patch [cut] diff --git a/talk/ep2011/talk/django-vs-cpython.png b/talk/ep2011/talk/django-vs-cpython.png new file mode 100644 index 0000000000000000000000000000000000000000..a99dae4063d20dd21d0824ad5ad5361a7cfcc433 GIT binary patch [cut] diff --git a/talk/ep2011/talk/pypy-vs-cpython.png b/talk/ep2011/talk/pypy-vs-cpython.png new file mode 100644 index 0000000000000000000000000000000000000000..a8bbda5aa40810162c77e63e499a0cdaac8ce3b1 GIT binary patch [cut] diff --git a/talk/rst2beamer-template/stylesheet.latex b/talk/ep2011/talk/stylesheet.latex copy from talk/rst2beamer-template/stylesheet.latex copy to talk/ep2011/talk/stylesheet.latex --- a/talk/rst2beamer-template/stylesheet.latex +++ b/talk/ep2011/talk/stylesheet.latex @@ -1,4 +1,5 @@ \usetheme{Boadilla} +\usecolortheme{whale} \setbeamercovered{transparent} \setbeamertemplate{navigation symbols}{} diff --git a/talk/rst2beamer-template/talk.pdf.info b/talk/ep2011/talk/talk.pdf.info copy from talk/rst2beamer-template/talk.pdf.info copy to talk/ep2011/talk/talk.pdf.info diff --git a/talk/rst2beamer-template/talk.txt b/talk/ep2011/talk/talk.txt copy from talk/rst2beamer-template/talk.txt copy to talk/ep2011/talk/talk.txt --- a/talk/rst2beamer-template/talk.txt +++ b/talk/ep2011/talk/talk.txt @@ -1,7 +1,114 @@ .. include:: beamerdefs.txt ================================ -Title +PyPy in production ================================ -XXX +What is PyPy? +------------- + +|pause| + +* Past EuroPython talks: + + - |scriptsize| **2004**: PyPy + + - **2005**: PyPy as a compiler + + - **2006**: An introduction to PyPy, PyPy architecture session, What can PyPy do for you + + - **2007**: PyPy 1.0 and Beyond, PyPy Python Interpreter(s) Features, PyPy: Why and + how did it (not) work? + + - **2008**: PyPy for the rest of us, PyPy status talk + + - **2009** PyPy: Complete and Fast + + - **2010**: PyPy 1.3: Status and News |end_scriptsize| + +|pause| + +* You should know by now :-) + +What is PyPy? (seriously) +------------------------- + +* PyPy + + - started in 2003 + + - Open Source, partially funded by EU and others + + - framework for fast dynamic languages + + - **Python implementation** + +* as a Python dev, you care about the latter + + +PyPy 1.5 +--------- + +* Releseased on 30 April, 2011 + +* Python 2.7.1 + +* The most compatible alternative to CPython + +* Most programs just work + +* (C extensions might not) + +|pause| + +* **fast** + + +Speed +------ + +.. image:: pypy-vs-cpython.png + :scale: 40% + :align: center + + +Improvements in the past year +------------------------------ + +.. image:: django-last-year.png + :scale: 38% + :align: center + + +Compare to CPython +------------------- + +.. image:: django-vs-cpython.png + :scale: 38% + :align: center + + +Not convinced yet? +------------------ + +|example<| Real time edge detection |>| +|small| + +.. sourcecode:: python + + def sobeldx(img): + res = img.clone(typecode='d') + for p in img.pixeliter(): + res[p] = (-1.0 * img[p + (-1,-1)] + + 1.0 * img[p + ( 1,-1)] + + -2.0 * img[p + (-1, 0)] + + 2.0 * img[p + ( 1, 0)] + + -1.0 * img[p + (-1, 1)] + + 1.0 * img[p + ( 1, 1)]) / 4.0 + return res + ... + ... + +|end_small| +|end_example| + diff --git a/talk/rst2beamer-template/title.latex b/talk/ep2011/talk/title.latex copy from talk/rst2beamer-template/title.latex copy to talk/ep2011/talk/title.latex --- a/talk/rst2beamer-template/title.latex +++ b/talk/ep2011/talk/title.latex @@ -1,5 +1,5 @@ \begin{titlepage} \begin{figure}[h] -\includegraphics[width=80px]{../img/py-web.png} +\includegraphics[width=60px]{../../img/py-web-new.png} \end{figure} \end{titlepage} _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit