PyPy

충분히 진보한 기술
서상현

2013-03-17
Any sufficiently advanced technology is
indistinguishable from magic.

                         Arthur C. Clarke
http://pypy.org/
10년 전…
때는 極陰의 冬至라…
p.s.: Gerson, ganz vom aktuellen Python abgesehen
fände ich es durchaus interessant, ein “Ptn” zu
machen: Ein total abgespecktes Minimal-Python mit
weniger Features als 1.5.2, sozusagen spartanisch
aber aus heutiger Sicht.

                                 Christian Tismer
                                       2002-12-31
10일 뒤…
We announce a mailing list dedicated to
developing a “Minimal Python” version. Minimal
means we want to have a very small C-core and as
much as possible (re)implemented in Python itself.
As Armin Rigo of PSYCO fame takes part in the
effort, we are confident that Minimal Python will
eventually run faster than today’s CPython.
And because Christian Tismer takes part, we are
confident that we will find a radical enough
approach which also fits Stackless. :-)

                                       Armin Rigo
                                 Christian Tismer
                                    Holger Krekel
                                       2003-01-10
Way cool.

            Guido van Rossum
그 해 9월
Hello, everybody,
I followed the mailing list for some time, but
haven’t touched the code yet. Here’s my first
try…

                                    Seo Sanghyeon
                                       2003-09-23
10월
LLVM: did we know this?
http://llvm.org/

                          Christian Tismer
                                2003-10-28
This looks very interesting, indeed.

                                       Armin Rigo
We made N attempts to use LLVM. Seriously, N is 4
or 5.

                                       2013-02-28
때는 極陰의 冬至라… ⑵
This is a benchmark to be run in front of a live
audience at OSCON 2004 between Python and Parrot.

                                 Guido van Rossum
                                       2003-12-31
Happy new year, pypy-dev!
Guido announced Pie-thon benchmark. I tried to
run it against PyPy revision 2706…

                                    Seo Sanghyeon
                                       2003-12-31
7월
Hi pypy-dev,
Just in case you missed it (I know I did so far),
IronPython has been released.

                                    Holger Krekel
                                       2004-07-30
Well, it ran out of the box on Linux, with Debian
mono package. (Release 1.0) I will play more with
it today. :-)

                                    Seo Sanghyeon
10월
More on optimization
Such an optimizer is obviously not easy to write
but I think it’s quite worth the effort…

                                       Armin Rigo
                                       2004-10-31
12월
EU funding is official!
Hi pypythonistas,
lucky day!
The EU signed the contract and the PyPy/EU
project starts, umm, started on 1st of December
2004!

                                    Holger Krekel
                                       2004-12-02
2월
Hi pypy-list!
To introduce myself shortly: My name is Carl
Friedrich Bolz, I’m 21 and studying math and
physics in Heidelberg, Germany, currently in my
3rd semester.
I’ve been following the pypy-dev mailing list for
quite some time now and am really excited about
this project. This weekend I checked out the code
and started to play around with it a bit. Since
there has been some talk about adding a LLVM
backend and since this doesn’t seem to have
happened I decided to take a stab at it…

                              Carl Friedrich Bolz
                                       2005-02-03
4월
py.py py.py
With revision 10311, py.py py.py runs again, but
fails to print 1.

                                    Seo Sanghyeon
                                       2005-04-05
5월
PyPy released!
The PyPy Development Team is happy to announce
the first public release of PyPy after two years
of spare-time and half a year of EU funded
development. The 0.6 release is eminently a
preview release.
PyPy passes around 90% of the Python language
regression tests that do not depend deeply on C-
extensions…
PyPy running on CPython is quite slow (around
2000x slower than CPython), this is expected.

                                       Armin Rigo
                                       2005-05-20
7월
Breakthrough!
Hi folks,
Two and a half years later… in the very same room
where the first PyPy sprint happened… we got to
the point where PyPy basically runs on its own,
after whole-program type inference and
translation to C!

                                    Holger Krekel
                                       2005-07-31
교훈
$ rot13 < lib_pypy/_pypy_irc_topic.py
  | grep hero

We are not heroes, just very patient.
끈기를 가지자.

재미있는 프로젝트가 보이면 들이대자.

PyPy

  • 1.
  • 2.
  • 3.
    Any sufficiently advancedtechnology is indistinguishable from magic. Arthur C. Clarke
  • 4.
  • 5.
  • 6.
  • 7.
    p.s.: Gerson, ganzvom aktuellen Python abgesehen fände ich es durchaus interessant, ein “Ptn” zu machen: Ein total abgespecktes Minimal-Python mit weniger Features als 1.5.2, sozusagen spartanisch aber aus heutiger Sicht. Christian Tismer 2002-12-31
  • 8.
  • 9.
    We announce amailing list dedicated to developing a “Minimal Python” version. Minimal means we want to have a very small C-core and as much as possible (re)implemented in Python itself.
  • 10.
    As Armin Rigoof PSYCO fame takes part in the effort, we are confident that Minimal Python will eventually run faster than today’s CPython.
  • 11.
    And because ChristianTismer takes part, we are confident that we will find a radical enough approach which also fits Stackless. :-) Armin Rigo Christian Tismer Holger Krekel 2003-01-10
  • 12.
    Way cool. Guido van Rossum
  • 13.
  • 14.
    Hello, everybody, I followedthe mailing list for some time, but haven’t touched the code yet. Here’s my first try… Seo Sanghyeon 2003-09-23
  • 15.
  • 16.
    LLVM: did weknow this? http://llvm.org/ Christian Tismer 2003-10-28
  • 17.
    This looks veryinteresting, indeed. Armin Rigo
  • 18.
    We made Nattempts to use LLVM. Seriously, N is 4 or 5. 2013-02-28
  • 19.
  • 20.
    This is abenchmark to be run in front of a live audience at OSCON 2004 between Python and Parrot. Guido van Rossum 2003-12-31
  • 21.
    Happy new year,pypy-dev! Guido announced Pie-thon benchmark. I tried to run it against PyPy revision 2706… Seo Sanghyeon 2003-12-31
  • 22.
  • 23.
    Hi pypy-dev, Just incase you missed it (I know I did so far), IronPython has been released. Holger Krekel 2004-07-30
  • 24.
    Well, it ranout of the box on Linux, with Debian mono package. (Release 1.0) I will play more with it today. :-) Seo Sanghyeon
  • 25.
  • 26.
    More on optimization Suchan optimizer is obviously not easy to write but I think it’s quite worth the effort… Armin Rigo 2004-10-31
  • 27.
  • 28.
    EU funding isofficial! Hi pypythonistas, lucky day! The EU signed the contract and the PyPy/EU project starts, umm, started on 1st of December 2004! Holger Krekel 2004-12-02
  • 29.
  • 30.
    Hi pypy-list! To introducemyself shortly: My name is Carl Friedrich Bolz, I’m 21 and studying math and physics in Heidelberg, Germany, currently in my 3rd semester.
  • 31.
    I’ve been followingthe pypy-dev mailing list for quite some time now and am really excited about this project. This weekend I checked out the code and started to play around with it a bit. Since there has been some talk about adding a LLVM backend and since this doesn’t seem to have happened I decided to take a stab at it… Carl Friedrich Bolz 2005-02-03
  • 32.
  • 33.
    py.py py.py With revision10311, py.py py.py runs again, but fails to print 1. Seo Sanghyeon 2005-04-05
  • 34.
  • 35.
    PyPy released! The PyPyDevelopment Team is happy to announce the first public release of PyPy after two years of spare-time and half a year of EU funded development. The 0.6 release is eminently a preview release.
  • 36.
    PyPy passes around90% of the Python language regression tests that do not depend deeply on C- extensions… PyPy running on CPython is quite slow (around 2000x slower than CPython), this is expected. Armin Rigo 2005-05-20
  • 37.
  • 38.
    Breakthrough! Hi folks, Two anda half years later… in the very same room where the first PyPy sprint happened… we got to the point where PyPy basically runs on its own, after whole-program type inference and translation to C! Holger Krekel 2005-07-31
  • 39.
  • 40.
    $ rot13 <lib_pypy/_pypy_irc_topic.py | grep hero We are not heroes, just very patient.
  • 41.