Wet Dream--python to native compiler
Michael Hudson
mwh at python.net
Fri Dec 13 06:38:54 EST 2002
Greg Ewing <see_reply_address at something.invalid> writes:
> Aaron K. Johnson wrote:
>
> > Has anyone used Psycho or Pyrex enough to critique/recommend it?
> > What are the technical reasons for the difficulty of having a native
> > code
> > compiler similar to what certain implementations of Lisp enjoy?
>
>
> The main technical reason is that to generate *efficient* native code
> requires either inserting type declarations in the source, or performing
> some extremely heavy-duty type inference.
Well, that's the interesting thing about pysco: it does neither of
this things. It instead works on the principle that what you have
just done will resemble what you will do next (a bit like a CPU's L1
cache, I guess).
Cheers,
M.
--
ARTHUR: Yes. It was on display in the bottom of a locked filing
cabinet stuck in a disused lavatory with a sign on the door
saying "Beware of the Leopard".
-- The Hitch-Hikers Guide to the Galaxy, Episode 1
More information about the Python-list
mailing list