Python compilers?
Michael Hudson
mwh at python.net
Tue May 18 07:13:31 EDT 2004
Svein Ove Aas <svein+usenet01 at brage.info> writes:
> Leif K-Brooks wrote:
>
> > Svein Ove Aas wrote:
> >> Is anyone working on a python-to-native compiler?
> >> I'd be interested in taking a look.
> >
> > What are you trying to achieve?
> >
> > If it's faster code execution, the primary slowdown with a very
> > high-level language like Python is caused by high-level data structures
> > (introspection, everything being an object, etc.), not the code itself.
> > A native compiler would still have to use high-level data structures to
> > work with all Python code, so the speed increase wouldn't be very much.
>
> I'd like to point out the usual suspects: Lisp compilers.
> *They* somehow manage to get within 2x of C++ speed, so why can't Python?
Type declarations. Lots of effort by seriously smart cookies.
We're working on the latter :-)
Cheers,
mwh
--
> say-hi-to-the-flying-pink-elephants-for-me-ly y'rs,
No way, the flying pink elephants are carrying MACHINE GUNS!
Aiiee!! Time for a kinder, gentler hallucinogen...
-- Barry Warsaw & Greg Ward, python-dev
More information about the Python-list
mailing list