On Wed, Jun 27, 2012 at 02:57:25PM +0200, Landry Breuil wrote:

>> To build PyPy, you will need a fair bit of RAM (8Gb is definitely safe;
>> 6Gb is probably safe). Once built, PyPy often consumes less memory than
>> CPython.
[...]
> They use java to build or what ? What can be so greedy and insane that it
> needs that much ram ?

It is a very unusual system. It reads in hundreds of thousands of lines of
Python (well, RPython) code, performs static analysis on it, then spits out
C; some of those files equally cause GCC to consume a few Gb of RAM.

At the risk of a shamless plug, this article I wrote partly explains why PyPy
and RPython are so interesting:

  
http://tratt.net/laurie/tech_articles/articles/fast_enough_vms_in_fast_enough_time

There are also some academic publications (see e.g. "Tracing the meta-level:
PyPy's tracing JIT compiler" by Bolz et al.) that go into more detail.


Laurie
-- 
Personal                                             http://tratt.net/laurie/
The Converge programming language                      http://convergepl.org/
   https://github.com/ltratt              http://twitter.com/laurencetratt

Reply via email to