[Python-Dev] RQST: Master Thesis

Alex Martelli aleaxit at gmail.com
Mon Mar 10 06:16:27 CET 2008


Depending on which implementation[s] you want to target, Michal, you
should also check out PyPy at http://codespeak.net/pypy/, IronPython
at http://www.codeplex.com/IronPython, and Jython at
http://www.jython.org/ -- Jython's currently a tad behind the other
three, but Sun Microsystems has just announced new investments and
high-profile hires to make Jython a top-quality Python implementation.

Alex

On Sun, Mar 9, 2008 at 7:42 AM,  <skip at pobox.com> wrote:
>
>     Michal> I'm about to start my master thesis: "optimizing python
>     Michal> interpreter" therefore i would require your help plz ;)
>
>     Michal> first of all i need to find out, how the python interpreter is
>     Michal> implemented, and which are the related sources, if this stuff is
>     Michal> somewhere documented that would be very helpfull...
>
>  Michal,
>
>  The best place to start is the implementation of the interpreter itself
>  (Python/ceval.c in the source tree) and the byte code compiler
>  (Python/compile.c).  There have, at times, been modest attempts to document
>  what's going on, but I believe the source code is far and away still your
>  best bet.
>
>  I recommend you get a Subversion checkout of either the trunk:
>
>     svn co http://svn.python.org/projects/python/trunk
>
>  or the py3k branch:
>
>     svn co http://svn.python.org/projects/python/branches/py3k
>
>  You will find the trunk more stable, but the py3k branch is the future.
>
>  Also, study the archives of this list and the python-3000 at python.org list as
>  well as checkin comments for the Python source, especially for the two files
>  I referenced above.  Finally, there may well be pending patches in the
>  Python tracker which implement various optimizations:
>
>     http://bugs.python.org/
>
>  Studying them (and trying them out and attaching comments or reviews of
>  their efficacy) would be a good way to help understand the system.
>
>  --
>  Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/
>
>
> _______________________________________________
>  Python-Dev mailing list
>  Python-Dev at python.org
>  http://mail.python.org/mailman/listinfo/python-dev
>  Unsubscribe: http://mail.python.org/mailman/options/python-dev/aleaxit%40gmail.com
>


More information about the Python-Dev mailing list