[pypy-commit] extradoc extradoc: first part of the slides

antocuni noreply at buildbot.pypy.org
Thu Apr 16 17:52:22 CEST 2015


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: extradoc
Changeset: r5530:5d0633b2f4f8
Date: 2015-04-16 17:29 +0200
http://bitbucket.org/pypy/extradoc/changeset/5d0633b2f4f8/

Log:	first part of the slides

diff --git a/talk/pycon-italy-2015/speed.png b/talk/pycon-italy-2015/speed.png
new file mode 100644
index 0000000000000000000000000000000000000000..e2372b9e0d5fc3fe7711b27d641d2d9706185fd3
GIT binary patch

[cut]

diff --git a/talk/pycon-italy-2015/talk.rst b/talk/pycon-italy-2015/talk.rst
--- a/talk/pycon-italy-2015/talk.rst
+++ b/talk/pycon-italy-2015/talk.rst
@@ -16,10 +16,90 @@
 - http://antocuni.eu
 
 
-PyPy status
-----------------
+What is PyPy
+---------------
 
-bla bla
+- Alternative, fast Python implementation
+
+- Performance: JIT compiler, advanced GC
+
+- STM: goodbye GIL
+
+- PyPy 2.5.1 (2.7.8)
+
+- Py3k as usual in progress (3.2.5 out, 3.3 in development)
+
+- http://pypy.org
+
+
+STM
+---
+
+- pypy-stm-2.5.1 is out
+
+  * 64 bit Linux only
+
+- no GIL!
+
+- 25-40% slowdown for single core programs
+
+  * still ``7*0.75 = 5.25x`` faster than CPython :)
+
+- parallelism up to 4 threads
+
+- concurrency slow-but-correct by default
+
+  * compared to fast-but-buggy by using threads
+
+- conflict detection
+
+- TransactionQueue: parallelize your program without using threads!
+
+
+Extension modules
+------------------
+
+- CFFI: stable, mature and widely used
+
+  * psycopg2cffi, lxml-cffi, pysdl2-cffi, etc.
+
+  * should be used even for CPython-only projects!
+
+- numpy:
+
+  * support for linalg
+
+  * support for pure Python, JIT friendly ufuncs
+
+  * object dtype in-progress
+
+- scipy: see next slide :)
+
+
+Pymetabiosis
+--------------
+
+- embed CPython in PyPy
+
+- import and use CPython modules in PyPy
+
+- ALPHA status
+
+- slow when passing arbitrary objects
+
+- but fast for numpy arrays
+
+- matplotlib and scipy works
+
+- https://github.com/rguillebert/pymetabiosis
+
+
+
+Speed: 7x faster than CPython
+-------------------------------
+
+.. image:: speed.png
+   :scale: 47%
 
 
 Contacts, Q&A


More information about the pypy-commit mailing list