[pypy-svn] r74422 - pypy/extradoc/talk/pycon-italy-2010/talk
antocuni at codespeak.net
antocuni at codespeak.net
Thu May 6 18:13:35 CEST 2010
Author: antocuni
Date: Thu May 6 18:13:33 2010
New Revision: 74422
Added:
pypy/extradoc/talk/pycon-italy-2010/talk/merlinux-logo.jpg (contents, props changed)
pypy/extradoc/talk/pycon-italy-2010/talk/pypy-vs-cpython.png (contents, props changed)
pypy/extradoc/talk/pycon-italy-2010/talk/pypy-vs-psyco.png (contents, props changed)
pypy/extradoc/talk/pycon-italy-2010/talk/wxpython1.png (contents, props changed)
pypy/extradoc/talk/pycon-italy-2010/talk/wxpython2.png (contents, props changed)
Modified:
pypy/extradoc/talk/pycon-italy-2010/talk/beamerdefs.txt
pypy/extradoc/talk/pycon-italy-2010/talk/talk.txt
pypy/extradoc/talk/pycon-italy-2010/talk/title.latex
Log:
slides for part 1
Modified: pypy/extradoc/talk/pycon-italy-2010/talk/beamerdefs.txt
==============================================================================
--- pypy/extradoc/talk/pycon-italy-2010/talk/beamerdefs.txt (original)
+++ pypy/extradoc/talk/pycon-italy-2010/talk/beamerdefs.txt Thu May 6 18:13:33 2010
@@ -20,6 +20,15 @@
}
+.. |scriptsize| raw:: latex
+
+ {\scriptsize
+
+.. |end_scriptsize| raw:: latex
+
+ }
+
+
.. closed bracket
.. ===========================
Added: pypy/extradoc/talk/pycon-italy-2010/talk/merlinux-logo.jpg
==============================================================================
Binary file. No diff available.
Added: pypy/extradoc/talk/pycon-italy-2010/talk/pypy-vs-cpython.png
==============================================================================
Binary file. No diff available.
Added: pypy/extradoc/talk/pycon-italy-2010/talk/pypy-vs-psyco.png
==============================================================================
Binary file. No diff available.
Modified: pypy/extradoc/talk/pycon-italy-2010/talk/talk.txt
==============================================================================
--- pypy/extradoc/talk/pycon-italy-2010/talk/talk.txt (original)
+++ pypy/extradoc/talk/pycon-italy-2010/talk/talk.txt Thu May 6 18:13:33 2010
@@ -15,6 +15,25 @@
- Demo: how to use PyPy right now
+Part 0: What is PyPy? :-)
+--------------------------
+
+- Python interpreter written in Python
+
+- Framework for developing dynamic languages
+
+- etc. etc.
+
+|pause|
+
+- From the user point of view
+
+- An alternative to CPython
+
+- with more features!
+
+
+
Part 1
-------
@@ -26,38 +45,133 @@
What's new in PyPy 1.2
-----------------------
+- Released on March 12th, 2010
+
- Main theme: speed
- JIT compiler
-- Memory savings
-
- speed.pypy.org
-- ubuntu packages
+- Ubuntu packages
-Speed
------
-XXX show the performance graphs
-(also with psyco)
+Speed: PyPy vs CPython
+-----------------------
+
+.. image:: pypy-vs-cpython.png
+ :scale: 35
+
+
+Speed: PyPy vs Psyco
+-----------------------
+
+.. image:: pypy-vs-psyco.png
+ :scale: 35
What works on PyPy
-------------------
-XXX
+- Pure Python modules should Just Work (TM)
+
+ * django trunk
+
+ * twisted, nevow
+
+ * pylons
+
+ * bittorrent
+
+ * ...
+
+|pause|
+
+- lot of standard modules
+
+|scriptsize|
+
+ * __builtin__ __pypy__ _codecs _lsprof _minimal_curses _random _rawffi
+ _socket _sre _weakref bz2 cStringIO crypt errno exceptions fcntl gc
+ itertools marshal math md5 mmap operator parser posix pyexpat select sha
+ signal struct symbol sys termios thread time token unicodedata zipimport
+ zlib
+
+ * array binascii cPickle cmath collections ctypes datetime functools grp md5
+ pwd pyexpat sha sqlite3 syslog
+
+|end_scriptsize|
+
+ * **ctypes**
What does not work on PyPy
--------------------------
-XXX :-)
+- Pure Python modules should Just Work (TM) |pause|
+
+ * ... unless they don't :-)
+
+|pause|
+
+- Programs that rely on CPython-specific behavior
+
+ * refcounting: ``open('xxx', 'w').write('stuff')``
+
+ * non-string keys in dict of types (try it!)
+
+ * exact naming of a list comprehension variable
+
+ * exact message matching in exception catching code
+
+ * ...
+
+|pause|
+
+- Extension modules |pause|
+
+ * really?
+
+ * drum roll...
+
cpyext
------
-XXX
+- CPython extension modules in PyPy
+
+- ``pypy-c setup.py build``
+
+- still beta
+
+- not 100% of CPython API is supported
+
+- not included in PyPy 1.2
+
+- Known to work:
+
+ * wxPython (after a patch)
+
+ * _sre
+
+ * PyCrypto
+
+ * PIL
+
+
+wxPython on PyPy (1)
+---------------------
+
+.. image:: wxpython1.png
+ :scale: 30
+
+wxPython on PyPy (2)
+---------------------
+
+
+.. image:: wxpython2.png
+ :scale: 30
+
PyPy 1.2.1
----------
@@ -66,6 +180,8 @@
- Many bugfixes
+ * 26 issues reported after release of 1.2
+
- beta version of cpyext
Modified: pypy/extradoc/talk/pycon-italy-2010/talk/title.latex
==============================================================================
--- pypy/extradoc/talk/pycon-italy-2010/talk/title.latex (original)
+++ pypy/extradoc/talk/pycon-italy-2010/talk/title.latex Thu May 6 18:13:33 2010
@@ -1,5 +1,8 @@
\begin{titlepage}
\begin{figure}[h]
-\includegraphics[width=80px]{../img/py-web.png}
+\scalebox{0.8}{\includegraphics[width=80px]{../../img/py-web.png}}
+\qquad
+\qquad
+\scalebox{0.8}{\includegraphics[width=64px,height=64px]{merlinux-logo.jpg}}
\end{figure}
\end{titlepage}
Added: pypy/extradoc/talk/pycon-italy-2010/talk/wxpython1.png
==============================================================================
Binary file. No diff available.
Added: pypy/extradoc/talk/pycon-italy-2010/talk/wxpython2.png
==============================================================================
Binary file. No diff available.
More information about the Pypy-commit
mailing list