[pypy-svn] r20690 - pypy/dist/pypy/doc

cfbolz at codespeak.net cfbolz at codespeak.net
Mon Dec 5 16:03:28 CET 2005

Author: cfbolz
Date: Mon Dec  5 16:03:27 2005
New Revision: 20690

(pedronis, cfbolz):

added future work in the threading and object model section

Modified: pypy/dist/pypy/doc/translation-aspects.txt
--- pypy/dist/pypy/doc/translation-aspects.txt	(original)
+++ pypy/dist/pypy/doc/translation-aspects.txt	Mon Dec  5 16:03:27 2005
@@ -417,16 +417,27 @@
 implementation by removing unnecessary incref-decref pairs. A bigger task would
 be to add support for detecing circular references.
 Threading model
-  - green threads? 
-  - threading model with various granularities of locking
+One of the interesting possibities that stackless offers is to implement green
+threading. This would involve writing a scheduler and preemption logic. 
+We should also investigate other threading models based on operating system
+threads with various granularities of locking for access of shared access.
 Object model
-  - more sophisticated structure inlining ?  possibly
+We also might want to experiment with more sophisticated structure inlining.
+That means identifying a field in a structure A that points to another object B
+on the heap in such a way, that the pointer in A gets assigned only once to and
+that no other pointer to B exists from a heap object. If this is the case the
+object B can be inlined into the A since B lives exactly as long as A. 
+As noted above, another plan is to implement builtin application level objects
+by using tagged pointer.

More information about the Pypy-commit mailing list