[pypy-svn] r74354 - pypy/extradoc/talk/ep2010

afa at codespeak.net afa at codespeak.net
Tue May 4 00:27:17 CEST 2010


Author: afa
Date: Tue May  4 00:27:16 2010
New Revision: 74354

Modified:
   pypy/extradoc/talk/ep2010/abstract.txt
Log:
Add some items. I don't know if all this belongs to the abstract,
but they should be part of the talk.


Modified: pypy/extradoc/talk/ep2010/abstract.txt
==============================================================================
--- pypy/extradoc/talk/ep2010/abstract.txt	(original)
+++ pypy/extradoc/talk/ep2010/abstract.txt	Tue May  4 00:27:16 2010
@@ -66,9 +66,29 @@
 
 * How it works
 
+  - "normal" integration with distutils
+  - PyObjects are "shadows" of living interpreter objects
+    - reference counted
+  - Most of the API is written in RPython
+  - Some C functions are copied verbatim
+    - PyArg_ParseTuple, PyString_Format, the buffer object...
+  - Testable from interpreted PyPy
+
 * What are the drawbacks, and the current status
 
+  - built on top of another Python VM
+    - Concrete Layer built on top of the Abtract Layer
+      ex: PyDict_Size(x) calls len(x)
+    - Constant round-turns between PyObjects and the interpreter objects
+  - no threads yet
+  - extensions only, cannot embed PyPy yet
+  - PyPy still has a GIL...
+
 * What are the incompatibilities, and how to solve them
 
+  - No direct field access
+    - except for types
+  - Borrowed references are evil
+
 
 Authors: Antonio Cuni, Amaury Forgeot d'Arc, Armin Rigo



More information about the Pypy-commit mailing list