[Gllug] C/C++ mentor

Nix nix at esperi.org.uk
Mon Nov 27 21:25:49 UTC 2006


On 27 Nov 2006, Pete Ryland uttered the following:
> On 23/11/06, Nix <nix at esperi.org.uk> wrote:
>> You know about PyPy, right? (It doesn't solve that *yet*, but hopefully
>> it will in time.)
>
> Looks nice.  I'd be very interested if it did any optimisations on
> list/tuple access.  Like converting to C arrays where possible.
> Problem is, a lot of python list uses would indeed be best as C linked
> lists, and it may be difficult to determine how the python list is
> being used.

It's not a static analyzer, so it can potentially determine *how* a list
is being used *right now* and adjust the translated code accordingly.

See e.g. <http://codespeak.net/pypy/dist/pypy/doc/dynamic-language-translation.html>.

It's really cool, I think.

-- 
`The main high-level difference between Emacs and (say) UNIX, Windows,
 or BeOS... is that Emacs boots quicker.' --- PdS
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list