[pypy-commit] extradoc extradoc: more slides
antocuni
noreply at buildbot.pypy.org
Thu Jun 16 17:45:27 CEST 2011
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: extradoc
Changeset: r3712:42573617c68a
Date: 2011-06-16 17:48 +0200
http://bitbucket.org/pypy/extradoc/changeset/42573617c68a/
Log: more slides
diff --git a/talk/ep2011/talk/beamerdefs.txt b/talk/ep2011/talk/beamerdefs.txt
--- a/talk/ep2011/talk/beamerdefs.txt
+++ b/talk/ep2011/talk/beamerdefs.txt
@@ -83,3 +83,8 @@
\end{column}
\end{columns}
+
+
+.. |snake| image:: ../../img/py-web-new.png
+ :scale: 15%
+
diff --git a/talk/ep2011/talk/demo.png b/talk/ep2011/talk/demo.png
new file mode 100644
index 0000000000000000000000000000000000000000..80c49b0baf4121a5c6c0623b91c5daa28f8afbbd
GIT binary patch
[cut]
diff --git a/talk/ep2011/talk/talk.rst b/talk/ep2011/talk/talk.rst
--- a/talk/ep2011/talk/talk.rst
+++ b/talk/ep2011/talk/talk.rst
@@ -49,7 +49,7 @@
PyPy 1.5
---------
-* Releseased on 30 April, 2011
+* Released on 30 April, 2011
* Python 2.7.1
@@ -64,6 +64,38 @@
* **fast**
+PyPy features
+---------------
+
+* JIT
+
+ - automatically generated
+
+ - complete/correct by construction
+
+ - multiple backends: x86-32, x86-64, ARM
+
+|pause|
+
+* Stackless
+
+ - not yet integrated with the JIT (in-progress)
+
+|pause|
+
+* cpyext
+
+ - CPython C-API compatibility layer
+
+ - not always working
+
+ - often working: wxPython, PIL, cx_Oracle, mysqldb, pycairo, ...
+
+|pause|
+
+* compact instances (as using ``__slots__``)
+
+
Speed
------
@@ -88,6 +120,61 @@
:align: center
+Real world use case (1)
+-----------------------
+
+* LWN's gitdm
+
+ - http://lwn.net/Articles/442268/
+
+ - data mining tool
+
+ - reads the output of ``git log``
+
+ - generate kernel development statistics
+
+|pause|
+
+* Performance
+
+ - CPython: 63 seconds
+
+ - PyPy: **21 seconds**
+
+|pause|
+
+|example<| ``lwn.net`` |>|
+|small|
+
+ [...] PyPy is ready for prime time; it implements the (Python 2.x)
+ language faithfully, and it is fast.
+
+|end_small|
+|end_example|
+
+
+Real world use case (2)
+-----------------------
+
+XXX write slide about this, the site is down ATM
+http://www.myhdl.org/doku.php/performance
+
+
+Real world use case (3)
+-----------------------
+
+- Translating PyPy itself
+
+- Huge, complex piece of software
+
+- All possible (and impossible :-)) kinds of dynamic and metaprogrammig tricks
+
+- ~2.5x faster with PyPy
+
+- (slow warm-up phase, though)
+
+- Ouroboros! |snake|
+
Not convinced yet?
------------------
@@ -112,3 +199,12 @@
|end_small|
|end_example|
+Live demo
+---------
+
+.. image:: demo.png
+ :scale: 38%
+ :align: center
+
+
+
More information about the pypy-commit
mailing list