[pypy-svn] r47568 - pypy/extradoc/talk/dls2007

antocuni at codespeak.net antocuni at codespeak.net
Fri Oct 19 00:06:13 CEST 2007


Author: antocuni
Date: Fri Oct 19 00:06:12 2007
New Revision: 47568

Modified:
   pypy/extradoc/talk/dls2007/rpython-talk.txt
Log:
the talk should be complete now



Modified: pypy/extradoc/talk/dls2007/rpython-talk.txt
==============================================================================
--- pypy/extradoc/talk/dls2007/rpython-talk.txt	(original)
+++ pypy/extradoc/talk/dls2007/rpython-talk.txt	Fri Oct 19 00:06:12 2007
@@ -61,7 +61,7 @@
 Type inference
 ==============
 
-- Top-down, starting from an entry point
+- Top-down, starting from an entry point; whole program analysis
 
 - Assign the most precise type to each variable
 
@@ -200,3 +200,92 @@
 
   * C, CLI (.NET), JVM
 
+
+Benchmarks
+==========
+
+- Classic Martin Richard's test
+
+- Available in Java, C#, RPython
+
+  =========== ============ =========
+  Language    Result          Factor
+  =========== ============ =========
+  C#              6.94 ms      1.00x 
+  RPython         7.25 ms      1.04x
+  IronPython   1675.00 ms    241.35x
+  ----------- ------------ ---------
+  Java            1.77 ms      1.00x
+  RPython         2.10 ms      1.18x
+  Jython       2918.90 ms   1641.80x
+  =========== ============ =========
+
+
+What's good about RPython
+=========================
+
+- Pythonic enough to be usable
+
+- Very fast
+
+- Testable under CPython
+
+
+Things to improve
+=================
+
+- Originally an implementation detail
+
+- Not designed to be user-friendly; crazy error messages
+
+- Lack of documentation/reference manual
+
+- Lack of separate compilation
+
+- Integration with the hosting platform
+
+  * Good for C/Posix
+
+  * Proof of concept for .NET
+
+  * Doesn't exist for JVM
+
+
+About PyPy
+==========
+
+- Python in (R)Python
+
+- High level interpreter written in RPython
+
+  * Easy to understand
+
+  * Easy to extend
+
+- Translation toolchain (in full Python)
+
+  * Works as a general compiler (e.g. Javascript, Prolog interpreter)
+
+- Low-level aspects inserted by the TT
+
+  * Garbage collector
+
+  * Threading model/Stackless
+
+  * Additional language features
+
+  * JIT compiler (only for the C backend so far)
+
+
+Acknowledgments
+===============
+
+- The whole PyPy Team
+
+  * RPython is **not** mine :-)
+
+- Davide Ancona
+
+- Massimo Ancona
+
+- Nicholas D. Matsakis



More information about the Pypy-commit mailing list