Why I love python.

510046470588-0001 at t-online.de 510046470588-0001 at t-online.de
Tue Aug 17 05:19:30 EDT 2004


Nick Patavalis <npat at efault.net> writes:

> On 2004-08-17, Paul Rubin <> wrote:
> >
> > Compilers for languages like Lisp and Smaltalk have dealt with this
> > for decades.  They can either generate code that switches on the type
> > tags, or have dispatch tables in the objects that point to code for
> > operations like "+", or take advice or declarations from the
> > programmer about the arg types, among other possibilities.  Any of
> > these approaches generates code that runs much faster than
> > interpreted code.
> >
> 
> Yes, I know. Something like this was what I was thinking about. I
> would really love to see this technology brought to Python, or at
> least a discussion as to what additions would be required in the
> *language* in order for similar technologies to be easily applicable
> to future Pythonic environments.
> 

those compilers are totally unflexible,
as they can't deal with data types and function code supplied at run time,
and they cache too much information, causing bloat of the ram.

Klaus Schilling



More information about the Python-list mailing list