SCOUG Logo


Next Meeting: Sat, TBD
Meeting Directions


Be a Member
Join SCOUG

Navigation:


Help with Searching

20 Most Recent Documents
Search Archives
Index by date, title, author, category.


Features:

Mr. Know-It-All
Ink
Download!










SCOUG:

Home

Email Lists

SIGs (Internet, General Interest, Programming, Network, more..)

Online Chats

Business

Past Presentations

Credits

Submissions

Contact SCOUG

Copyright SCOUG



warp expowest
Pictures from Sept. 1999

The views expressed in articles on this site are those of their authors.

warptech
SCOUG was there!


Copyright 1998-2024, Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.

The Southern California OS/2 User Group
USA

SCOUG-Programming Mailing List Archives

Return to [ 31 | March | 2007 ]


Date: Sat, 31 Mar 2007 22:05:23 -0700
From: Sheridan George <s-geo@usa.net >
Reply-To: scoug-programming@scoug.com
To: scoug-programming@scoug.com
Subject: SCOUG-Programming: PyPy 1.0: JIT compilers for free and more - comp.lang.python | Google Groups


1
This is a multi-part message in MIME format.

Content Type: text/plain

Content-Transfer-Encoding: 7bit

Lynn,

Taken from: <http://groups.google.com/group/comp.lang.python/browse_thread/thread/5d2675e6895a9daf/>

This PyPy thing seems to have a minor subset of the features we are trying get by creating SL1. For
instance:

1) Transparent proxies: allow the customization of both application and
builtin objects from application level code.

2) Since the JIT is
automatically generated out of the Python interpreter it should deal
with any sort of language changes rather well. Whether that is true in
practice remains to be seen, but this is one of the reason why PyPy was
started in the first place.

3) "Technically, PyPy is both a Python interpreter implementation and an
advanced compiler, or more precisely a framework for implementing dynamic
languages and generating virtual machines for them.

"The framework allows for alternative frontends and for alternative
backends, currently C, LLVM and .NET. For our main target "C", we can
can "mix in" different garbage collectors and threading models,
including micro-threads aka "Stackless". The inherent complexity that
arises from this ambitious approach is mostly kept away from the Python
interpreter implementation, our main frontend.

"PyPy is now also a Just-In-Time compiler generator. The translation
framework contains the now-integrated JIT generation technology. This
depends only on a few hints added to the interpreter source and should
be able to cope with the changes to the interpreter and be generally
applicable to other interpreters written using the framework."


Content Type: text/html

name*0="groups.google.com/group/comp.lang.python/browse_thread/thread/5d"; name*1="2675e6895a9daf/" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename*0="groups.google.com/group/comp.lang.python/browse_thread/threa"; filename*1="d/5d2675e6895a9daf/" Content-Base: "http://groups.google.com/group/comp.la ng.python/browse_thread/thread/5d26 75e6895a9daf/" Content-Location: "http://groups.google.com/group/comp.la ng.python/browse_thread/thread/5d26 75e6895a9daf/" PyPy 1.0: JIT compilers for free and more - comp.lang.python | Google Groups

=
3D""3D""
PyPy 1.0: JIT compilers for free and more
There are currently too many topics in this group= that display first. To make this topic appear first, remove this option = from another topic.
There was an error processing your request. Pleas= e try again.
3D""3D""
3D"flag"
  Messages 1 - = 25 of 31 - Collapse all   New= er >
The group you are posting to is= a Usenet group. Messages posted to this group will make your= email address visible to anyone on the Internet.
Your reply message has not been= sent.
Your post was successful
Carl Friedrich Bolz  
V= iew profile
(2 users)  More options Mar 27, 5:48 pm
Newsgroups: c= omp.lang.python
From: Carl Fr= iedrich Bolz <cfb...@gmx.de>
Date: Tue, 27= Mar 2007 23:48:11 +0200
Local: Tues, = Mar 27 2007 5:48 pm
Subject: PyPy= 1.0: JIT compilers for free and more
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =
PyPy 1.0: JIT compilers for free and more
=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Welcome to the PyPy 1.0 release - = a milestone integrating the results
of four years of research, engin= eering, management and sprinting
efforts, concluding the 28 months p= hase of EU co-funding!

Although still not mature enough for gener= al use, PyPy 1.0 materializes
for the first time the full extent of = our original vision:

- A flexible Python interpreter, written in = "RPython":

   - Mostly unaware of threading, = memory and lower-level target platform
     aspects. =
   - Showcasing advanced interpreter features and prototyp= es.
   - Passing core CPython regression tests, translatab= le to C, LLVM and
.NET.

- An advanced framework to translate= such interpreters and programs:

   - That performs who= le type-inference on RPython programs.
   - Can weave in t= hreading, memory and target platform aspects.
   - Has low= level (C, LLVM) and high level (CLI, Java, JavaScript)
backends.

- A **Just-In-Time Compiler generator** able to **automatically** <= br>    enhance the low level versions of our Python interpreter= , leading to
   run-time machine code that runs algorithmi= c examples at speeds typical
   of JITs!

Previous = releases, particularly the 0.99.0 release from February,
already hig= hlighted features of our Python implementation and the
abilities of = our translation approach but the **new JIT generator**
clearly marks= a major research result and gives weight to our vision
that one can= generate efficient interpreter implementations, starting
from a des= cription in a high level language.

We have prepared several entry= points to help you get started:

* The main entry point for JIT d= ocumentation and status:

    http:/= /codespeak.net/pypy/dist/pypy/doc/jit.html

* The main documen= tation and getting-started PyPy entry point:

    http://codespeak.net/pypy/dist/pypy/doc/index.html <= br>

* Our online "play1" demos showcasing various Python int= erpreters,
   features (and a new way to program AJAX appl= ications):

    http://play1.codespeak.net/

= * Our detailed and in-depth Reports about various aspects of the
&nb= sp;  project:

    ht= tp://codespeak.net/pypy/dist/pypy/doc/index-report.html

In th= e next few months we are going to discuss the goals and form of
the = next stage of development - now more than ever depending on your
fee= dback and contributions - and we hope you appreciate PyPy 1.0 as an
= interesting basis for greater things to come, as much as we do
ourse= lves!

have fun,

     the PyPy release team= ,
     Samuele Pedroni, Armin Rigo, Holger Krekel, Mi= chael Hudson,
     Carl Friedrich Bolz, Antonio Cuni,= Anders Chrigstroem, Guido Wesdorp
     Maciej Fijalk= owski, Alexandre Fayolle

     and many others:      http://codespeak.net/p= ypy/dist/pypy/doc/contributor.html

What is PyPy?
=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D

Technically, PyPy is both a Python interpreter imple= mentation and an
advanced compiler, or more precisely a framework fo= r implementing dynamic
languages and generating virtual machines for= them.

The framework allows for alternative frontends and for alt= ernative
backends, currently C, LLVM and .NET.  For our main ta= rget "C", we can
can "mix in" different garbage = collectors and threading models,
including micro-threads aka "S= tackless".  The inherent complexity that
arises from this = ambitious approach is mostly kept away from the Python
interpreter i= mplementation, our main frontend.

PyPy is now also a Just-In-Time= compiler generator.  The translation
framework contains the no= w-integrated JIT generation technology.  This
depends only on a= few hints added to the interpreter source and should
be able to cop= e with the changes to the interpreter and be generally
applicable to= other interpreters written using the framework.

Socially, PyPy i= s a collaborative effort of many individuals working
together in a d= istributed and sprint-driven way since 2003.  PyPy would
not ha= ve gotten as far as it has without the coding, feedback and
general = support from numerous people.

Formally, many of the current devel= opers were involved in executing an
EU contract with the goal of exp= loring and researching new approaches
to language and compiler devel= opment and software engineering.  This
contract's duration is a= bout to end this month (March 2007) and we are
working and preparing= the according final review which is scheduled
for May 2007.
For the future, we are in the process of setting up structures to help <= br> maintain conceptual integrity of the project and to discuss and deal =
with funding opportunities related to further PyPy sprinting and developments. See here for results of the discussion so far:

&n= bsp;    http://codespeak.net/pip= ermail/pypy-dev/2007q1/003577.html

1.0.0 Feature highlights <= br> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D

Here is a summary list of key features incl= uded in PyPy 1.0:

- The Just-In-Time compiler generator, now capa= ble of generating the
   first JIT compiler versions of ou= r Python interpreter:

    http://c= odespeak.net/pypy/dist/pypy/doc/jit.html

- More Python interp= reter optimizations (a CALL_METHOD bytecode, a method
   c= ache, rope-based strings), now running benchmarks at around half of
=    CPython's speed (without the JIT):

    http://codespeak.net/pypy/dist/py= py/doc/interpreter-optimizations.html

- The Python interprete= r can be translated to .NET and enables
   interactions wi= th the CLR libraries:

    = http://codespeak.net/pypy/dist/pypy/doc/cli-backend.html
  =   http://codespeak.net/pypy/dist/pypy/do= c/clr-module.html

- Aspect Oriented Programming facilities (b= ased on mutating the Abstract
   Syntax Tree):

&nb= sp;   http://codespeak.= net/pypy/dist/pypy/doc/aspect_oriented_programming.html

http= ://codespeak.net/pypy/extradoc/eu-report/D10.1_Aspect_Oriented_Pr... =

- The JavaScript backend has evolved to a point where it can be u= sed to
   write AJAX web applications with it. This is sti= ll an experimental
   technique, though. For demo applicat= ions which also showcase various
   generated Python and P= ROLOG interpreters, see:

    http://play1.codespeak.net/=

- Proxying object spaces and features of our Python interpre= ter:

   - Tainting: a 270-line proxy object space track= ing and boxing
     sensitive information within an a= pplication.

   - Transparent proxies: allow the customi= zation of both application and
     builtin objects f= rom application level code.  Now featuring an
    &nb= sp;initial support module (tputil.py) for working with transparent
&= nbsp;    proxies.

For a detailed description and discus= sion of high level backends and
Python interpreter features, please = see our extensive "D12" report:

http://codespeak.net/p= ypy/extradoc/eu-report/D12.1_H-L-Backends_and_F...

Funding pa= rtners and organisations
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

PyPy development and acti= vities happen as an open source project and
with the support of a co= nsortium partially funded by a 28 month
European Union IST research = grant for the period from December 2004 to
March 2007. The full part= ners of that consortium are:

     Heinrich-Heine U= niversity (Germany), Open End (Sweden)
     merlinux = GmbH (Germany), tismerysoft GmbH (Germany)
     Logil= ab Paris (France), DFKI GmbH (Germany)
     ChangeMak= er (Sweden), Impara (Germany)


3D""
3D""
s...@pobox.com  
V= iew profile
 More options Mar 27, 6:39 pm
Newsgroups: c= omp.lang.python
From: s...@pobox.= com
Date: Tue, 27= Mar 2007 17:39:40 -0500
Local: Tues, = Mar 27 2007 6:39 pm
Subject: Re: = PyPy 1.0: JIT compilers for free and more

    Carl> Welcome to the PyPy 1.0 re= lease...
    ...
    Carl> - A **Just-In= -Time Compiler generator** able to **automatically**
    C= arl>   enhance the low level versions of our Python interpreter, =
    Carl>   leading to run-time machine code that = runs algorithmic examples
    Carl>   at speeds ty= pical of JITs!

Woo hoo!  Congratulations to all the PyPynist= as!

Skip


3D""
3D""
Luis M. Gonz=C3=A1lez  
View profile
 More options Mar 27, 8:24 pm
Newsgroups: c= omp.lang.python
From: "L= uis M. Gonz=C3=A1lez" <luis...@gmail.com>
Date: 27 Mar = 2007 17:24:49 -0700
Local: Tues, = Mar 27 2007 8:24 pm
Subject: Re: = PyPy 1.0: JIT compilers for free and more

- Hide quoted text -
- Show quoted text -

Carl Friedrich Bolz wrote:
> =3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> PyPy 1.0: JIT compilers for f= ree and more
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

> Welcome to the PyPy 1.0 release - a milestone integrating t= he results
> of four years of research, engineering, management a= nd sprinting
> efforts, concluding the 28 months phase of EU co-f= unding!

> Although still not mature enough for general use, Py= Py 1.0 materializes
> for the first time the full extent of our o= riginal vision:

> - A flexible Python interpreter, written in = "RPython":

>    - Mostly unaware of thread= ing, memory and lower-level target platform
>      = ;aspects.
>    - Showcasing advanced interpreter featur= es and prototypes.
>    - Passing core CPython regressi= on tests, translatable to C, LLVM and
> .NET.

> - An a= dvanced framework to translate such interpreters and programs:

&g= t;    - That performs whole type-inference on RPython programs.=
>    - Can weave in threading, memory and target platf= orm aspects.
>    - Has low level (C, LLVM) and high le= vel (CLI, Java, JavaScript)
> backends.

> - A **Just-I= n-Time Compiler generator** able to **automatically**
>   &n= bsp;enhance the low level versions of our Python interpreter, leading to =
>    run-time machine code that runs algorithmic exampl= es at speeds typical
>    of JITs!

> Previou= s releases, particularly the 0.99.0 release from February,
> alre= ady highlighted features of our Python implementation and the
> a= bilities of our translation approach but the **new JIT generator**
&= gt; clearly marks a major research result and gives weight to our vision =
> that one can generate efficient interpreter implementations, st= arting
> from a description in a high level language.

>= ; We have prepared several entry points to help you get started:

= > * The main entry point for JIT documentation and status:

>= ;     http://codespeak.net/pypy/dist/pypy/= doc/jit.html

> * The main documentation and getting-starte= d PyPy entry point:

>     http= ://codespeak.net/pypy/dist/pypy/doc/index.html

> * Our onl= ine "play1" demos showcasing various Python interpreters,
= >    features (and a new way to program AJAX applications): =

>     http://play1.codespeak.net/

> *= Our detailed and in-depth Reports about various aspects of the
>=    project:

>     http://codespeak.net/pypy/dist/pypy/doc/index-report.html

> In the next few months we are going to discuss the goals and f= orm of
> the next stage of development - now more than ever depen= ding on your
> feedback and contributions - and we hope you appre= ciate PyPy 1.0 as an
> interesting basis for greater things to co= me, as much as we do
> ourselves!

> have fun,

= >      the PyPy release team,
>     &= nbsp;Samuele Pedroni, Armin Rigo, Holger Krekel, Michael Hudson,
>= ;      Carl Friedrich Bolz, Antonio Cuni, Anders Chrigstro= em, Guido Wesdorp
>      Maciej Fijalkowski, Alexa= ndre Fayolle

>      and many others:
> =      http://codespeak.net/pyp= y/dist/pypy/doc/contributor.html

> What is PyPy?
>= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D

> Technically, PyPy is both a Python = interpreter implementation and an
> advanced compiler, or more pr= ecisely a framework for implementing dynamic
> languages and gene= rating virtual machines for them.

> The framework allows for a= lternative frontends and for alternative
> backends, currently C,= LLVM and .NET.  For our main target "C", we can
>= can "mix in" different garbage collectors and threading models= ,
> including micro-threads aka "Stackless".  The = inherent complexity that
> arises from this ambitious approach is= mostly kept away from the Python
> interpreter implementation, o= ur main frontend.

> PyPy is now also a Just-In-Time compiler g= enerator.  The translation
> framework contains the now-inte= grated JIT generation technology.  This
> depends only on a = few hints added to the interpreter source and should
> be able to= cope with the changes to the interpreter and be generally
> appl= icable to other interpreters written using the framework.

> So= cially, PyPy is a collaborative effort of many individuals working
&= gt; together in a distributed and sprint-driven way since 2003.  PyP= y would
> not have gotten as far as it has without the coding, fe= edback and
> general support from numerous people.

> F= ormally, many of the current developers were involved in executing an > EU contract with the goal of exploring and researching new approac= hes
> to language and compiler development and software engineeri= ng.  This
> contract's duration is about to end this month (= March 2007) and we are
> working and preparing the according fina= l review which is scheduled
> for May 2007.

> For the = future, we are in the process of setting up structures to help
> = maintain conceptual integrity of the project and to discuss and deal
= > with funding opportunities related to further PyPy sprinting and > developments. See here for results of the discussion so far:
=

>      http://codesp= eak.net/pipermail/pypy-dev/2007q1/003577.html

> 1.0.0 Feat= ure highlights
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

> Here is a summary= list of key features included in PyPy 1.0:

> - The Just-In-Ti= me compiler generator, now capable of generating the
>   &nb= sp;first JIT compiler versions of our Python interpreter:

> &n= bsp;   http://codespeak.net/pypy/dist/pypy/doc/= jit.html

> - More Python interpreter optimizations (a CALL= _METHOD bytecode, a method
>    cache, rope-based strin= gs), now running benchmarks at around half of
>    CPyt= hon's speed (without the JIT):

>     http://codespeak.net/pypy/dist/pypy/doc/inter= preter-optimizations.html

> - The Python interpreter can b= e translated to .NET and enables
>    interactions with= the CLR libraries:

>     http://codespeak.net/pypy/dist/pypy/doc/cli-backend.html
> =     http://codespeak.net/pypy/dist/= pypy/doc/clr-module.html

> - Aspect Oriented Programming f= acilities (based on mutating the Abstract
>    Syntax T= ree):

>     http://codespeak.net/pypy/dist/pypy/doc/aspect_oriented_programming.= html

> http://codespeak.net/pypy/extradoc/eu-report/D10.1= _Aspect_Oriented_Pr...

> - The JavaScript backend has evol= ved to a point where it can be used to
>    write AJAX = web applications with it. This is still an experimental
>   =  technique, though. For demo applications which also showcase variou= s
>    generated Python and PROLOG interpreters, see: <= br>

>     http://play1.codespeak.net/

> - = Proxying object spaces and features of our Python interpreter:

&g= t;    - Tainting: a 270-line proxy object space tracking and bo= xing
>      sensitive information within an applic= ation.

>    - Transparent proxies: allow the customi= zation of both application and
>      builtin obje= cts from application level code.  Now featuring an
>   =    initial support module (tputil.py) for working with transpar= ent
>      proxies.

> For a detailed de= scription and discussion of high level backends and
> Python inte= rpreter features, please see our extensive "D12" report:
<= p>> http://codespeak.net/pypy/extradoc/eu-report/D12.1_H-L-Backends_a= nd_F...

> Funding partners and organisations
> =3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D

> PyPy development and activities happen as an open sou= rce project and
> with the support of a consortium partially fund= ed by a 28 month
> European Union IST research grant for the peri= od from December 2004 to
> March 2007. The full partners of that = consortium are:

>      Heinrich-Heine Universit= y (Germany), Open End (Sweden)
>      merlinux Gmb= H (Germany), tismerysoft GmbH (Germany)
>      Log= ilab Paris (France), DFKI GmbH (Germany)
>      Ch= angeMaker (Sweden), Impara (Germany)

Congratulations!
= I just have a couple of questions:

Attempting to execute pypy-c.= exe (precompiled binary for Windows),
raise an error message indicat= ing that it cannot find gc_pypy.dll.
Have you missed something or I'= m doing something wrong?

Regarding the jit integration, do you ha= ve any rough idea of when will
it speed up arbitrary code, other tha= n integer aritmethic?

Thanks and regards,
Luis


3D""
3D""
Ben Finney  
View profile
 More options Mar 27, 11:41 pm
Newsgroups: c= omp.lang.python
From: Ben Fin= ney <bignose+hates-s...@benfinney.id.au>
Date: Wed, 28= Mar 2007 13:41:23 +1000
Local: Tues, = Mar 27 2007 11:41 pm
Subject: Re: = PyPy 1.0: JIT compilers for free and more
Carl Friedrich Bolz <cfb...@gmx.de> writes:

=

> =3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> PyPy 1.0: JIT compilers= for free and more
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D

> Welcome to the PyPy 1.0 release - a milestone integra= ting the
> results of four years of research, engineering, manage= ment and
> sprinting efforts, concluding the 28 months phase of E= U co-funding!

Fabulous! Congratulations to all who contrib= uted to getting PyPy to
this significant milestone.

Here's t= o all the cool new things people will be doing with PyPy!

--
=  \          "If nothing changes, ever= ything will remain the same."  -- |
  `\    = ;                     &= nbsp;                   &nbs= p;         Barne's Law |
_o__)     &nb= sp;                    =                     &n= bsp;                  |
= Ben Finney


3D""
3D""
Bruno Desthuilliers  
View profile
 More options Mar 28, 3:57 am
Newsgroups: c= omp.lang.python
From: Bruno D= esthuilliers <bruno.42.desthuilli...@wtf.websiteburo.oops.com>
Date: Wed, 28= Mar 2007 09:57:51 +0200
Local: Wed, M= ar 28 2007 3:57 am
Subject: Re: = PyPy 1.0: JIT compilers for free and more
Carl Friedrich Bolz a =C3=A9crit :

> =3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> PyPy 1.0: JIT compilers for free= and more
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =

> Welcome to the PyPy 1.0 release - a milestone integrating th= e results
> of four years of research, engineering, management an= d sprinting
> efforts

You guys rock !
=

3D""
3D""
Carl Friedrich Bolz  
V= iew profile
 More options Mar 28, 4:38 am
Newsgroups: g= mane.comp.python.general, comp.lang.python
From: Carl Fr= iedrich Bolz <cfb...@gmx.de>
Date: Wed, 28= Mar 2007 10:38:18 +0200
Local: Wed, M= ar 28 2007 4:38 am
Subject: Re: = PyPy 1.0: JIT compilers for free and more
Hi Luis!

Luis M. Gonz=C3=A1lez wrote:

 = > Carl Friedrich Bolz wrote:
 >> =3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 >> PyPy 1.0: JIT compiler= s for free and more
 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D
[snip]
 >
 >
 = ;> Congratulations!

Thanks :-)

 > I just have = a couple of questions:
 >
 > Attempting to exec= ute pypy-c.exe (precompiled binary for Windows),
 > raise an= error message indicating that it cannot find gc_pypy.dll.
 >= ; Have you missed something or I'm doing something wrong?

Brain e= rror on our side: the gc_pypy.dll is the dll of the Boehm garbage
co= llector, which you would need to compile yourself (which makes
preco= mpiled binaries a bit useless :-) ). We updated the zip file, would
= you mind checking whether it works better now?

 > Regardi= ng the jit integration, do you have any rough idea of when will
&nbs= p;> it speed up arbitrary code, other than integer aritmethic?
Relatively soon. The hard bits of that are done, the JIT compiler
g= enerator is in a pretty good shape, we need to apply it to more parts of the PyPy Python interpreter. There are some non-coding related
= reasons why we are not doing it _right_ now: we still need to write some =
EU-reports (about the JIT for example) then we will need a while to =
recover from the EU project.

Cheers,

Carl Friedrich = Bolz


3D""
3D""
Carl Friedrich Bolz  
V= iew profile
 More options Mar 28, 4:38 am
Newsgroups: c= omp.lang.python
From: Carl Fr= iedrich Bolz <cfb...@gmx.de>
Date: Wed, 28= Mar 2007 10:38:18 +0200
Local: Wed, M= ar 28 2007 4:38 am
Subject: Re: = PyPy 1.0: JIT compilers for free and more
Hi Luis!

Luis M. Gonz=C3=A1lez wrote:

 = > Carl Friedrich Bolz wrote:
 >> =3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 >> PyPy 1.0: JIT compiler= s for free and more
 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D
[snip]
 >
 >
 = ;> Congratulations!

Thanks :-)

 > I just have = a couple of questions:
 >
 > Attempting to exec= ute pypy-c.exe (precompiled binary for Windows),
 > raise an= error message indicating that it cannot find gc_pypy.dll.
 >= ; Have you missed something or I'm doing something wrong?

Brain e= rror on our side: the gc_pypy.dll is the dll of the Boehm garbage
co= llector, which you would need to compile yourself (which makes
preco= mpiled binaries a bit useless :-) ). We updated the zip file, would
= you mind checking whether it works better now?

 > Regardi= ng the jit integration, do you have any rough idea of when will
&nbs= p;> it speed up arbitrary code, other than integer aritmethic?
Relatively soon. The hard bits of that are done, the JIT compiler
g= enerator is in a pretty good shape, we need to apply it to more parts of the PyPy Python interpreter. There are some non-coding related
= reasons why we are not doing it _right_ now: we still need to write some =
EU-reports (about the JIT for example) then we will need a while to =
recover from the EU project.

Cheers,

Carl Friedrich = Bolz


3D""
3D""
Kay Schluehr  
View profile
 More options Mar 28, 8:12 am
Newsgroups: c= omp.lang.python
From: "K= ay Schluehr" <kay.schlu...@gmx.net>
Date: 28 Mar = 2007 05:12:35 -0700
Local: Wed, M= ar 28 2007 8:12 am
Subject: Re: = PyPy 1.0: JIT compilers for free and more
On Mar 27, 11:48 pm, Carl Friedrich Bolz <cfb...@gmx.= de> wrote:

- Hide quoted text -
-= Show quoted text -

> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> PyPy 1.0: JIT compilers for free and more
> =3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

> Welcome to the PyPy = 1.0 release - a milestone integrating the results
> of four years= of research, engineering, management and sprinting
> efforts, co= ncluding the 28 months phase of EU co-funding!

> Although stil= l not mature enough for general use, PyPy 1.0 materializes
> for = the first time the full extent of our original vision:

> - A f= lexible Python interpreter, written in "RPython":

> =    - Mostly unaware of threading, memory and lower-level target= platform
>      aspects.
>    -= Showcasing advanced interpreter features and prototypes.
>  = ;  - Passing core CPython regression tests, translatable to C, LLVM = and
> .NET.

> - An advanced framework to translate suc= h interpreters and programs:

>    - That performs wh= ole type-inference on RPython programs.
>    - Can weav= e in threading, memory and target platform aspects.
>   &nbs= p;- Has low level (C, LLVM) and high level (CLI, Java, JavaScript)
&= gt; backends.

> - A **Just-In-Time Compiler generator** able t= o **automatically**
>    enhance the low level versions= of our Python interpreter, leading to
>    run-time ma= chine code that runs algorithmic examples at speeds typical
> &nb= sp;  of JITs!

> Previous releases, particularly the 0.99.= 0 release from February,
> already highlighted features of our Py= thon implementation and the
> abilities of our translation approa= ch but the **new JIT generator**
> clearly marks a major research= result and gives weight to our vision
> that one can generate ef= ficient interpreter implementations, starting
> from a descriptio= n in a high level language.

> We have prepared several entry p= oints to help you get started:

> * The main entry point for JI= T documentation and status:

>    http://codespeak.net/pypy/dist/pypy/doc/jit.html

> * The= main documentation and getting-started PyPy entry point:

> &n= bsp;  http://codespeak.net/pypy/dist/pypy/doc= /index.html

> * Our online "play1" demos showcas= ing various Python interpreters,
>    features (and a n= ew way to program AJAX applications):

>    http://pl= ay1.codespeak.net/

> * Our detailed and in-depth Reports a= bout various aspects of the
>    project:

> =    http://codespeak.net/pypy/di= st/pypy/doc/index-report.html

> In the next few months we = are going to discuss the goals and form of
> the next stage of de= velopment - now more than ever depending on your
> feedback and c= ontributions - and we hope you appreciate PyPy 1.0 as an
> intere= sting basis for greater things to come, as much as we do
> oursel= ves!

> have fun,

>      the PyPy rel= ease team,
>      Samuele Pedroni, Armin Rigo, Hol= ger Krekel, Michael Hudson,
>      Carl Friedrich = Bolz, Antonio Cuni, Anders Chrigstroem, Guido Wesdorp
>   &n= bsp;  Maciej Fijalkowski, Alexandre Fayolle

>   &nbs= p;  and many others:
>      http://codespeak.net/pypy/dist/pypy/doc/contributor.html =

> What is PyPy?
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

>= Technically, PyPy is both a Python interpreter implementation and an > advanced compiler, or more precisely a framework for implementing = dynamic
> languages and generating virtual machines for them.

> The framework allows for alternative frontends and for alternat= ive
> backends, currently C, LLVM and .NET.  For our main ta= rget "C", we can
> can "mix in" different gar= bage collectors and threading models,
> including micro-threads a= ka "Stackless".  The inherent complexity that
> ar= ises from this ambitious approach is mostly kept away from the Python > interpreter implementation, our main frontend.

> PyPy i= s now also a Just-In-Time compiler generator.  The translation
= > framework contains the now-integrated JIT generation technology. &nb= sp;This
> depends only on a few hints added to the interpreter so= urce and should
> be able to cope with the changes to the interpr= eter and be generally
> applicable to other interpreters written = using the framework.

> Socially, PyPy is a collaborative effor= t of many individuals working
> together in a distributed and spr= int-driven way since 2003.  PyPy would
> not have gotten as = far as it has without the coding, feedback and
> general support = from numerous people.

> Formally, many of the current develope= rs were involved in executing an
> EU contract with the goal of e= xploring and researching new approaches
> to language and compile= r development and software engineering.  This
> contract's d= uration is about to end this month (March 2007) and we are
> work= ing and preparing the according final review which is scheduled
>= for May 2007.

> For the future, we are in the process of sett= ing up structures to help
> maintain conceptual integrity of the = project and to discuss and deal
> with funding opportunities rela= ted to further PyPy sprinting and
> developments. See here for re= sults of the discussion so far:

>      http://codespeak.net/pipermail/pypy-dev/2007q1/003= 577.html

> 1.0.0 Feature highlights
> =3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D

> Here is a summary list of key features included in PyPy = 1.0:

> - The Just-In-Time compiler generator, now capable of g= enerating the
>    first JIT compiler versions of our P= ython interpreter:

>    http://= codespeak.net/pypy/dist/pypy/doc/jit.html

> - More Python = interpreter optimizations (a CALL_METHOD bytecode, a method
> &nb= sp;  cache, rope-based strings), now running benchmarks at around ha= lf of
>    CPython's speed (without the JIT):

&= gt;    http://codesp= eak.net/pypy/dist/pypy/doc/interpreter-optimizations.html

>= ; - The Python interpreter can be translated to .NET and enables
>= ;    interactions with the CLR libraries:

>   &= nbsp;http://codespeak.net/pypy/dist/pypy/doc= /cli-backend.html
>    = http://codespeak.net/pypy/dist/pypy/doc/clr-module.html

> = - Aspect Oriented Programming facilities (based on mutating the Abstract =
>    Syntax Tree):

>    http://codespeak.net/pypy/dist/pypy/doc/= aspect_oriented_programming.html

> http://codespeak.net/pypy/extradoc/eu-report/D10.1_Asp= ect_Oriented_Pr...

> - The JavaScript backend has evolved = to a point where it can be used to
>    write AJAX web = applications with it. This is still an experimental
>   &nbs= p;technique, though. For demo applications which also showcase various >    generated Python and PROLOG interpreters, see:
=

>    http://play1.codespeak.net/

> - Proxy= ing object spaces and features of our Python interpreter:

> &n= bsp;  - Tainting: a 270-line proxy object space tracking and boxing =
>      sensitive information within an application= =2E

>    - Transparent proxies: allow the customizat= ion of both application and
>      builtin objects= from application level code.  Now featuring an
>   &nb= sp;  initial support module (tputil.py) for working with transparent=
>      proxies.

> For a detailed descr= iption and discussion of high level backends and
> Python interpr= eter features, please see our extensive "D12" report:

&= gt; http://codespeak.net/pypy/e= xtradoc/eu-report/D12.1_H-L-Backends_and_F...

> Funding pa= rtners and organisations
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

> PyPy developme= nt and activities happen as an open source project and
> with the= support of a consortium partially funded by a 28 month
> Europea= n Union IST research grant for the period from December 2004 to
>= March 2007. The full partners of that consortium are:

>  = ;    Heinrich-Heine University (Germany), Open End (Sweden) >      merlinux GmbH (Germany), tismerysoft GmbH (Ger= many)
>      Logilab Paris (France), DFKI GmbH (Ge= rmany)
>      ChangeMaker (Sweden), Impara (German= y)

Nice to read that things are going on. I've still a PyP= y 0.7 version
on my notebook. I guess I will upgrade :)

A so= mewhat unrelated question. With Py3K Python gets optional type
annot= ations. Are you already architecting an annotation handler that
can = process these annotations? This feature is somewhat competitive to
a= ll the complicated type inference and jitting you have been worked
o= ut so I don't know how it fits well into the current PyPy
architectu= re?

Ciao,
Kay


3D""
3D""
Paul Boddie  
View profile
 More options Mar 28, 8:54 am
Newsgroups: c= omp.lang.python
From: "P= aul Boddie" <p...@boddie.org.uk>
Date: 28 Mar = 2007 05:54:56 -0700
Local: Wed, M= ar 28 2007 8:54 am
Subject: Re: = PyPy 1.0: JIT compilers for free and more
3D""
3D""
Paul Rubin  
V= iew profile
 More options Mar 28, 10:34 am
Newsgroups: c= omp.lang.python
From: Paul Ru= bin <http://phr...@NOSPAM.invalid>
Date: 28 Mar = 2007 07:34:00 -0700
Subject: Re: = PyPy 1.0: JIT compilers for free and more

"Kay Schluehr" <kay.schlu...@gmx.net> writes:
&g= t; A somewhat unrelated question. With Py3K Python gets optional type > annotations. Are you already architecting an annotation handler th= at
> can process these annotations? This feature is somewhat comp= etitive to
> all the complicated type inference and jitting you h= ave been worked
> out so I don't know how it fits well into the c= urrent PyPy
> architecture?

What's the nature of t= he conflict between annotations and inference?
Haskell for example h= as both.

3D""
3D""
Christian Tismer  
View profile
 More options Mar 28, 10:59 am
Newsgroups: c= omp.lang.python
From: Christi= an Tismer <tis...@stackless.com>
Date: Wed, 28= Mar 2007 16:59:25 +0200
Local: Wed, M= ar 28 2007 10:59 am
Subject: Re: = PyPy 1.0: JIT compilers for free and more

On 28.03.2007, at 10:38, Carl Friedrich Bolz wrot= e:

>= Brain error on our side: the gc_pypy.dll is the dll of the Boehm   =
> garbage
> collector, which you would need to compile yo= urself (which makes
> precompiled binaries a bit useless :-) ). W= e updated the zip file,  
> would
> you mind checkin= g whether it works better now?

Why can't we provide a pre-= compiled binary?
Is this a license issue?

cheers - chris


3D""
3D""
Kay Schluehr  
View profile
 More options Mar 28, 11:37 am
Newsgroups: c= omp.lang.python
From: "K= ay Schluehr" <kay.schlu...@gmx.net>
Date: 28 Mar = 2007 08:37:35 -0700
Local: Wed, M= ar 28 2007 11:37 am
Subject: Re: = PyPy 1.0: JIT compilers for free and more
On Mar 28, 2:54 pm, "Paul Boddie" <p...@bod= die.org.uk> wrote:

You are right. The feature is more situated on a syntacti= cal /
interface level. The semantical level has to be specified by <= br> annotation handlers. Among them there will also be those that deal with type annotations. I have little doubts that one of them will make=
it into the stdlib sooner or later and might also influence
co= mpilation.

> Still, I'd like to see the PyPy = people stick their necks out and
> answer your questions. ;-)

> Paul

> [1]http://codes= peak.net/pipermail/pypy-dev/2007q1/003607.html

=

3D""
3D""
Carl Friedrich Bolz  
V= iew profile
(1 user)  More options Mar 28, 12:04 pm
Newsgroups: g= mane.comp.python.general, comp.lang.python
From: Carl Fr= iedrich Bolz <cfb...@gmx.de>
Date: Wed, 28= Mar 2007 18:04:30 +0200
Local: Wed, M= ar 28 2007 12:04 pm
Subject: Re: = PyPy 1.0: JIT compilers for free and more
Hi Christian!

Christian Tismer wrote:
> On 28.03.20= 07, at 10:38, Carl Friedrich Bolz wrote:

>> Brain error on = our side: the gc_pypy.dll is the dll of the Boehm  
>> ga= rbage
>> collector, which you would need to compile yourself (= which makes
>> precompiled binaries a bit useless :-) ). We up= dated the zip file,  
>> would
>> you mind che= cking whether it works better now?

> Why can't we provide a pr= e-compiled binary?
> Is this a license issue?

We c= an. That's exactly what we did.

Cheers,

Carl Friedrich Bo= lz


3D""
3D""
Carl Friedrich Bolz  
V= iew profile
 More options Mar 28, 12:04 pm
Newsgroups: c= omp.lang.python
From: Carl Fr= iedrich Bolz <cfb...@gmx.de>
Date: Wed, 28= Mar 2007 18:04:30 +0200
Local: Wed, M= ar 28 2007 12:04 pm
Subject: Re: = PyPy 1.0: JIT compilers for free and more
Hi Christian!

Christian Tismer wrote:
> On 28.03.20= 07, at 10:38, Carl Friedrich Bolz wrote:

>> Brain error on = our side: the gc_pypy.dll is the dll of the Boehm  
>> ga= rbage
>> collector, which you would need to compile yourself (= which makes
>> precompiled binaries a bit useless :-) ). We up= dated the zip file,  
>> would
>> you mind che= cking whether it works better now?

> Why can't we provide a pr= e-compiled binary?
> Is this a license issue?

We c= an. That's exactly what we did.

Cheers,

Carl Friedrich Bo= lz


3D""
3D""
Kay Schluehr  
View profile
 More options Mar 28, 12:41 pm
Newsgroups: c= omp.lang.python
From: "K= ay Schluehr" <kay.schlu...@gmx.net>
Date: 28 Mar = 2007 09:41:11 -0700
Local: Wed, M= ar 28 2007 12:41 pm
Subject: Re: = PyPy 1.0: JIT compilers for free and more
On Mar 28, 4:34 pm, Paul Rubin <http://phr...@NOSPAM.= invalid> wrote:

> "Kay Schluehr" <kay.schlu...@gmx.net> writes= :
> > A somewhat unrelated question. With Py3K Python gets opt= ional type
> > annotations. Are you already architecting an an= notation handler that
> > can process these annotations? This = feature is somewhat competitive to
> > all the complicated typ= e inference and jitting you have been worked
> > out so I don'= t know how it fits well into the current PyPy
> > architecture= ?

> What's the nature of the conflict between annotations and = inference?
> Haskell for example has both.

There i= s no conflict in Haskell because Haskell has a type system by
defaul= t. But Python has none and so one had to define RPython, a
subset of= Python *viewed* as static enough to be translatable to C
( RPython = is of course as polymorphic as any other Python code and can
be fed = with arbitrary types. Only the context makes it special ).
RPython i= s an approximation to Python on which static type inference
is feasi= ble. RPython is yet defined heuristically and this heuristics
might = be changed when RPython can be defined by the power of a type
system= defined *formally*. So it might be just a matter of reason to
defin= e a typesystem for interpreter/jit level Python code.

3D""
3D""
Kay Schluehr:

> RPython is heuristically defined as a su= bset of Python "static enough
> to be translatable to C"= ;. So it is actually static analysis that is
> done here, not on = a local scale but on a simpler sublanguage. It is
> not clear to = me whether for a sufficiently annotated Py3K program the
> inequa= tion RPython !=3D Python still holds?

You may also take a = very good look at ShedSkin, it's already able to
compile a decent pa= rt of Python, and that part is slowly growing
still.
I'd like t= o see a comparison of SSPython and RPython (width-wise and
running s= peed wise too) :-)

Bye,
bearophile


3D""
3D""
dmitrey  
V= iew profile
 More options Mar 28, 3:51 pm
Newsgroups: c= omp.lang.python
From: "d= mitrey" <open...@ukr.net>
Date: 28 Mar = 2007 12:51:59 -0700
Local: Wed, M= ar 28 2007 3:51 pm
Subject: Re: = PyPy 1.0: JIT compilers for free and more
Hi!
Suppose I have a py-written module.
Is= it possible somehow run PyPy on the whole module?
I didn't find it = in documentation.
And if yes (or if just run in every module func) w= hat will be after
computer restart?
Should I restart  PyPy= on the module once again?
And are there any chances/intends for &nb= sp;PyPy to be included into Python
core?
Thx, D.

On Mar= 28, 12:48 am, Carl Friedrich Bolz <cfb...@gmx.de> wrote:

> =3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DPyPy1.0: JIT compilers for free= and more
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =

> Welcome to thePyPy1.0 release - a milestone integrating the = results
> of four years of research, engineering, management and = sprinting
> efforts, concluding the 28 months phase of EU co-fund= ing!

> Although still not mature enough for general use,PyPy1.= 0 materializes
> for the first time the full extent of our origin= al vision:

> - A flexible Python interpreter, written in "= ;RPython":

>    - Mostly unaware of threading, = memory and lower-level target platform
>      aspe= cts.
>    - Showcasing advanced interpreter features an= d prototypes.
>    - Passing core CPython regression te= sts, translatable to C, LLVM and
> .NET.

> - An advanc= ed framework to translate such interpreters and programs:

> &n= bsp;  - That performs whole type-inference on RPython programs.
= >    - Can weave in threading, memory and target platform a= spects.
>    - Has low level (C, LLVM) and high level (= CLI, Java, JavaScript)
> backends.

> - A **Just-In-Tim= e Compiler generator** able to **automatically**
>    e= nhance the low level versions of our Python interpreter, leading to
= >    run-time machine code that runs algorithmic examples at= speeds typical
>    of JITs!

> Previous rel= eases, particularly the 0.99.0 release from February,
> already h= ighlighted features of our Python implementation and the
> abilit= ies of our translation approach but the **new JIT generator**
> c= learly marks a major research result and gives weight to our vision
= > that one can generate efficient interpreter implementations, startin= g
> from a description in a high level language.

> We = have prepared several entry points to help you get started:

> = * The main entry point for JIT documentation and status:

> &nb= sp;  http://codespeak.net/pypy/dist/pypy/doc/ji= t.html

> * The main documentation and getting-startedPyPye= ntry point:

>    http://codes= peak.net/pypy/dist/pypy/doc/index.html

> * Our online &quo= t;play1" demos showcasing various Python interpreters,
> &nb= sp;  features (and a new way to program AJAX applications):

= >    http://play1.codespeak.net/

> * Our deta= iled and in-depth Reports about various aspects of the
>   &= nbsp;project:

>    htt= p://codespeak.net/pypy/dist/pypy/doc/index-report.html

> I= n the next few months we are going to discuss the goals and form of
= > the next stage of development - now more than ever depending on your=
> feedback and contributions - and we hope you appreciatePyPy1.0= as an
> interesting basis for greater things to come, as much as= we do
> ourselves!

> have fun,

>   &n= bsp;  thePyPyrelease team,
>      Samuele Ped= roni, Armin Rigo, Holger Krekel, Michael Hudson,
>     =  Carl Friedrich Bolz, Antonio Cuni, Anders Chrigstroem, Guido Wesdor= p
>      Maciej Fijalkowski, Alexandre Fayolle

>      and many others:
>     &n= bsp;http://codespeak.net/pypy/dist/pypy/doc/= contributor.html

> What isPyPy?
> =3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D

> Technically,PyPyis both a Python interpreter implementat= ion and an
> advanced compiler, or more precisely a framework for= implementing dynamic
> languages and generating virtual machines= for them.

> The framework allows for alternative frontends an= d for alternative
> backends, currently C, LLVM and .NET.  F= or our main target "C", we can
> can "mix in"= different garbage collectors and threading models,
> including m= icro-threads aka "Stackless".  The inherent complexity tha= t
> arises from this ambitious approach is mostly kept away from = the Python
> interpreter implementation, our main frontend.
=

> PyPyis now also a Just-In-Time compiler generator.  The tran= slation
> framework contains the now-integrated JIT generation te= chnology.  This
> depends only on a few hints added to the i= nterpreter source and should
> be able to cope with the changes t= o the interpreter and be generally
> applicable to other interpre= ters written using the framework.

> Socially,PyPyis a collabor= ative effort of many individuals working
> together in a distribu= ted and sprint-driven way since 2003.  PyPywould
> not have = gotten as far as it has without the coding, feedback and
> genera= l support from numerous people.

> Formally, many of the curren= t developers were involved in executing an
> EU contract with the= goal of exploring and researching new approaches
> to language a= nd compiler development and software engineering.  This
> co= ntract's duration is about to end this month (March 2007) and we are
= > working and preparing the according final review which is scheduled=
> for May 2007.

> For the future, we are in the proce= ss of setting up structures to help
> maintain conceptual integri= ty of the project and to discuss and deal
> with funding opportun= ities related to furtherPyPysprinting and
> developments. See her= e for results of the discussion so far:

>      = http://codespeak.net/pipermail/pypy-dev/20= 07q1/003577.html

> 1.0.0 Feature highlights
> =3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D

> Here is a summary list of key features included in= PyPy1.0:

> - The Just-In-Time compiler generator, now capable = of generating the
>    first JIT compiler versions of o= ur Python interpreter:

>    htt= p://codespeak.net/pypy/dist/pypy/doc/jit.html

> - More Pyt= hon interpreter optimizations (a CALL_METHOD bytecode, a method
>=    cache, rope-based strings), now running benchmarks at aroun= d half of
>    CPython's speed (without the JIT):
=

>    http://co= despeak.net/pypy/dist/pypy/doc/interpreter-optimizations.html
> - The Python interpreter can be translated to .NET and enables
= >    interactions with the CLR libraries:

> &nbs= p;  http://codespeak.net/pypy/dist/pypy= /doc/cli-backend.html
>    http://codespeak.net/pypy/dist/pypy/doc/clr-module.html

&= gt; - Aspect Oriented Programming facilities (based on mutating the Abstr= act
>    Syntax Tree):

>    http://codespeak.net/pypy/dist/pyp= y/doc/aspect_oriented_programming.html

> http://codespeak.net/pypy/extradoc/eu-report/D10= =2E1_Aspect_Oriented_Pr...

> - The JavaScript backend has = evolved to a point where it can be used to
>    write A= JAX web applications with it. This is still an experimental
> &nb= sp;  technique, though. For demo applications which also showcase va= rious
>    generated Python and PROLOG interpreters, se= e:

>    http://play1.codespeak.net/

>= - Proxying object spaces and features of our Python interpreter:
>    - Tainting: a 270-line proxy object space tracking and= boxing
>      sensitive information within an app= lication.

>    - Transparent proxies: allow the cust= omization of both application and
>      builtin o= bjects from application level code.  Now featuring an
> &nbs= p;    initial support module (tputil.py) for working with trans= parent
>      proxies.

> For a detailed= description and discussion of high level backends and
> Python i= nterpreter features, please see our extensive "D12" report:

> http://codespeak.net/= pypy/extradoc/eu-report/D12.1_H-L-Backends_and_F...

> Fund= ing partners and organisations
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

> PyPydeve= lopment and activities happen as an open source project and
> wit= h the support of a consortium partially funded by a 28 month
> Eu= ropean Union IST research grant for the period from December 2004 to
= > March 2007. The full partners of that consortium are:

> =      Heinrich-Heine University (Germany), Open End (Sweden= )
>      merlinux GmbH (Germany), tismerysoft GmbH= (Germany)
>      Logilab Paris (France), DFKI Gmb= H (Germany)
>      ChangeMaker (Sweden), Impara (G= ermany)


3D""
3D""
Carl Friedrich Bolz  
V= iew profile
 More options Mar 28, 5:24 pm
Newsgroups: g= mane.comp.python.general, comp.lang.python
From: Carl Fr= iedrich Bolz <cfb...@gmx.de>
Date: Wed, 28= Mar 2007 23:24:53 +0200
Local: Wed, M= ar 28 2007 5:24 pm
Subject: Re: = PyPy 1.0: JIT compilers for free and more
Hi!

dmitrey wrote:
> Hi!
> Suppose I have a= py-written module.
> Is it possible somehow run PyPy on the whol= e module?
> I didn't find it in documentation.
> And if y= es (or if just run in every module func) what will be after
> com= puter restart?
> Should I restart  PyPy on the module once a= gain?
> And are there any chances/intends for  PyPy to be in= cluded into Python
> core?

PyPy contains a full Py= thon interpreter (which can include a JIT
compiler) and thus replace= s the "Python core". PyPy can never really be
integrated i= nto CPython.

Cheers,

Carl Friedrich Bolz


3D""
3D""
Carl Friedrich Bolz  
V= iew profile
 More options Mar 28, 5:24 pm
Newsgroups: c= omp.lang.python
From: Carl Fr= iedrich Bolz <cfb...@gmx.de>
Date: Wed, 28= Mar 2007 23:24:53 +0200
Local: Wed, M= ar 28 2007 5:24 pm
Subject: Re: = PyPy 1.0: JIT compilers for free and more
Hi!

dmitrey wrote:
> Hi!
> Suppose I have a= py-written module.
> Is it possible somehow run PyPy on the whol= e module?
> I didn't find it in documentation.
> And if y= es (or if just run in every module func) what will be after
> com= puter restart?
> Should I restart  PyPy on the module once a= gain?
> And are there any chances/intends for  PyPy to be in= cluded into Python
> core?

PyPy contains a full Py= thon interpreter (which can include a JIT
compiler) and thus replace= s the "Python core". PyPy can never really be
integrated i= nto CPython.

Cheers,

Carl Friedrich Bolz


3D""
3D""
Jarek Zgoda  
View profile
 More options Mar 28, 5:36 pm
Newsgroups: c= omp.lang.python
From: Jarek Z= goda <jzg...@o2.usun.pl>
Date: Wed, 28= Mar 2007 23:36:08 +0200
Local: Wed, M= ar 28 2007 5:36 pm
Subject: Re: = PyPy 1.0: JIT compilers for free and more
Carl Friedrich Bolz napisa=C2=B3(a):

> Welcome to the Py= Py 1.0 release - a milestone integrating the results
> of four ye= ars of research, engineering, management and sprinting
> efforts,= concluding the 28 months phase of EU co-funding!

So it to= ok 4 yars of work and over 2 yaers of consumption of EU funds,
yeah,= great.

Could anybody explain, what this gives to Python and its = users? Would
we, eventually, get GIL-free VM, that is capable to con= sume all
available power of multicore processors? Or, maybe, we'll g= et something
special, I am unable to dream of? Or is it purely acade= mic project to
create Python VM in Python?

--
Jarek Zgo= da
http://jpa.berlios.de/


3D""
3D""
Carl Friedrich Bolz  
V= iew profile
 More options Mar 28, 5:41 pm
Newsgroups: g= mane.comp.python.general, comp.lang.python
From: Carl Fr= iedrich Bolz <cfb...@gmx.de>
Date: Wed, 28= Mar 2007 23:41:33 +0200
Local: Wed, M= ar 28 2007 5:41 pm
Subject: Re: = PyPy 1.0: JIT compilers for free and more
Kay Schluehr wrote:

 > Nice to read that thi= ngs are going on. I've still a PyPy 0.7 version
 > on my not= ebook. I guess I will upgrade :)
 >
 > A somewh= at unrelated question. With Py3K Python gets optional type
 >= ; annotations. Are you already architecting an annotation handler that  > can process these annotations? This feature is somewhat com= petitive to
 > all the complicated type inference and jittin= g you have been worked
 > out so I don't know how it fits we= ll into the current PyPy
 > architecture?

I don't se= e at all why type annotations are competitive to the type
inference = that PyPy's translation toolchain is doing. The type inference
of Py= Py is an artefact of the way we are implementing our interpreter
(na= mely in RPython). You also wouldn't say that the static typing of C
= is competitive to type annotations because CPython is written in C,
= right?

The JIT (which is completely independent from our type inf= erence engine)
will hopefully deal well with the eventual addition o= f type annotations
(it's not clear to me how soon we will start supp= orting Py3k features,
we are not even fully supporting Python 2.5 ye= t). Since the JIT is
automatically generated out of the Python inter= preter it should deal
with any sort of language changes rather well.= Whether that is true in
practice remains to be seen, but this is on= e of the reason why PyPy was
started in the first place.

Als= o, I fail to see how type annotations can have a huge speed-advantage versus what our JIT and Psyco are doing. Imagine you have a function that is nicely algorithmic, takes only integers as arguments and only =
does some calculations with them. If you have a Psyco-like scheme, t= he
JIT will note that you are using it mostly with ints, generate relatively efficient assembly for the whole function (at least after i= t
has been called several times). If you call that functions, the arguments are checked whether they are integers and then the fast
= assembly code is used without any further type checks. How can you
= improve on this with type annotations? If the type annotations say that <= br> your arguments have to be ints, you _still_ have to check whether thi= s
is true. So it is not faster than what Psyco is doing and has the =
disadvantage that it only works with ints -- good bye, duck typing. =
Psyco on the other hand will be perfectly happy with you using a cus= tom
class that looks mostly like an int and generate assembly optimi= zed for
this situation.

Cheers,

Carl Friedrich Bolz =


3D""
3D""
Carl Friedrich Bolz  
V= iew profile
 More options Mar 28, 5:41 pm
Newsgroups: c= omp.lang.python
From: Carl Fr= iedrich Bolz <cfb...@gmx.de>
Date: Wed, 28= Mar 2007 23:41:33 +0200
Local: Wed, M= ar 28 2007 5:41 pm
Subject: Re: = PyPy 1.0: JIT compilers for free and more
Kay Schluehr wrote:

 > Nice to read that thi= ngs are going on. I've still a PyPy 0.7 version
 > on my not= ebook. I guess I will upgrade :)
 >
 > A somewh= at unrelated question. With Py3K Python gets optional type
 >= ; annotations. Are you already architecting an annotation handler that  > can process these annotations? This feature is somewhat com= petitive to
 > all the complicated type inference and jittin= g you have been worked
 > out so I don't know how it fits we= ll into the current PyPy
 > architecture?

I don't se= e at all why type annotations are competitive to the type
inference = that PyPy's translation toolchain is doing. The type inference
of Py= Py is an artefact of the way we are implementing our interpreter
(na= mely in RPython). You also wouldn't say that the static typing of C
= is competitive to type annotations because CPython is written in C,
= right?

The JIT (which is completely independent from our type inf= erence engine)
will hopefully deal well with the eventual addition o= f type annotations
(it's not clear to me how soon we will start supp= orting Py3k features,
we are not even fully supporting Python 2.5 ye= t). Since the JIT is
automatically generated out of the Python inter= preter it should deal
with any sort of language changes rather well.= Whether that is true in
practice remains to be seen, but this is on= e of the reason why PyPy was
started in the first place.

Als= o, I fail to see how type annotations can have a huge speed-advantage versus what our JIT and Psyco are doing. Imagine you have a function that is nicely algorithmic, takes only integers as arguments and only =
does some calculations with them. If you have a Psyco-like scheme, t= he
JIT will note that you are using it mostly with ints, generate relatively efficient assembly for the whole function (at least after i= t
has been called several times). If you call that functions, the arguments are checked whether they are integers and then the fast
= assembly code is used without any further type checks. How can you
= improve on this with type annotations? If the type annotations say that <= br> your arguments have to be ints, you _still_ have to check whether thi= s
is true. So it is not faster than what Psyco is doing and has the =
disadvantage that it only works with ints -- good bye, duck typing. =
Psyco on the other hand will be perfectly happy with you using a cus= tom
class that looks mostly like an int and generate assembly optimi= zed for
this situation.

Cheers,

Carl Friedrich Bolz =


3D""
3D""
Christian Tismer  
View profile
(1 user)  More options Mar 28, 5:51 pm
Newsgroups: c= omp.lang.python
From: Christi= an Tismer <tis...@stackless.com>
Date: Wed, 28= Mar 2007 23:51:56 +0200
Local: Wed, M= ar 28 2007 5:51 pm
Subject: Re: = PyPy 1.0: JIT compilers for free and more

On 28.03.2007, at 23:36, Jarek Zgoda wrote:
=

> Carl Fr= iedrich Bolz napisa=C5=82(a):

>> Welcome to the PyPy 1.0 re= lease - a milestone integrating the results
>> of four years o= f research, engineering, management and sprinting
>> efforts, = concluding the 28 months phase of EU co-funding!

> So it took = 4 yars of work and over 2 yaers of consumption of EU funds,
> yea= h, great.

> Could anybody explain, what this gives to Python a= nd its users? Would
> we, eventually, get GIL-free VM, that is ca= pable to consume all
> available power of multicore processors? O= r, maybe, we'll get  
> something
> special, I am un= able to dream of? Or is it purely academic project to
> create Py= thon VM in Python?

It will eventually give you a GIL-free = VM, and it already gives you
a lot more than you have dreamt of.

There is one feature missing that is probably hard to add.
Hand= ling the 'posters who are not willing to read before they post'   syndrome.

cheers - chris


3D""
3D""
Robin Becker  
View profile
 More options Mar 29, 6:17 am
Newsgroups: c= omp.lang.python
From: Robin B= ecker <r...@reportlab.com>
Date: Thu, 29= Mar 2007 11:17:45 +0100
Local: Thurs,= Mar 29 2007 6:17 am
Subject: Re: = PyPy 1.0: JIT compilers for free and more
Christian Tismer wrote:

.......
>> something
>&g= t; special, I am unable to dream of? Or is it purely academic project to =
>> create Python VM in Python?

> It will eventually= give you a GIL-free VM, and it already gives you
> a lot more th= an you have dreamt of.

> There is one feature missing that is = probably hard to add.
> Handling the 'posters who are not willing= to read before they post'  
> syndrome.

....= =2E..

I come from an academic background (sadly not in computer s= cience) so I
understand the need to promote the abstract advances th= at are being made here.

However, I am a bit confused about the ap= plicability of pypy. All the talk of
backends, annotation object spa= ces etc etc may make some sense to really
interested parties, but I = would like to know what I can do in real terms with
the new interpre= ters?

The demo javascript stuff seems a bit fake since others hav= e already done some
work in that direction already using ordinary py= thon. RPython may be larger or
smaller than those subsets, but that'= s not clear.

I would be interested to know if it's possible to po= int a tool at an existing
python-2.4 module and wrap it into a much = faster extension that can be used by
my CPython stuff. I know there = is preliminary work in that direction.

I am hugely encouraged by = this

C:\Python\devel\pypy-1.0.0>\python24\python \python\lib\t= est\pystone.py
Pystone(1.1) time for 50000 passes =3D 1.49586
T= his machine benchmarks at 33425.6 pystones/second

C:\Python\devel= \pypy-1.0.0>.\pypy-c.exe \python\lib\test\pystone.py
Pystone(1.1)= time for 50000 passes =3D 2.16123e-005
This machine benchmarks at 2= =2E3135e+009 pystones/second

:) not

--
Robin Becker =


3D""
3D""
Messages 1 - 25 of 31   Newer >
« Back= to Discussions « Newer topic     Older topic »

3D""

Content Type: text/plain

=====================================================

To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".

For problems, contact the list owner at
"postmaster@scoug.com".

=====================================================


Return to [ 31 | March | 2007 ]



The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA

Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.