[pypy-dev] Re: Hey friends, I'm SOOOO HAPPPYYY

Christian Tismer tismer at stackless.com
Mon Mar 27 00:19:26 CEST 2006


Guido van Rossum wrote:
> On 3/25/06, Christian Tismer <tismer at stackless.com> wrote:
>> What is it good for?
>> --------------------
>>
>> You can write algorithms in an almost Pythonic language
>> instead of using C. Your code will be translated into
>> a C Python extension module of very high efficiency.
> 
> I don't think I've ever written a C extension for performance reasons.
> (I've tweaked built-in objects instead. :-) I've written many
> extensions to interface with existing C code though, like UI widgets
> and system calls. Does your method support this? Otherwise Pyrex would
> still be a beter tool.

My wording wasn't exact enough. Right now it is barely for speed.
But there is an implementation of the ctypes module in the works,
which will handle the issue of interfacing in a very nice way.

About tweaking of builtin objects:
Well, with this tool we can produce new builtin objects, just
by writing them in RPython, and they get optimized like hell.
The consequences are clear: Who would bother writing/optimizing
builtin objects if a tool can do it even better? Plus the
new possibility to create all kinds of instrumentation and
variations with a cmd-line option.

All very young and incomplete, but I hope it will create
hordes of users for PyPy, and it will open optimization
of the Python kernel to many people who wouldn't consider
touching C at all.

thanks for your interest -- chris
-- 
Christian Tismer             :^)   <mailto:tismer at stackless.com>
tismerysoft GmbH             :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9A     :    *Starship* http://starship.python.net/
14109 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
work +49 30 802 86 56  mobile +49 173 24 18 776  fax +49 30 80 90 57 05
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   http://www.stackless.com/



More information about the Pypy-dev mailing list