Python and the need for speed

Gregory Ewing greg.ewing at canterbury.ac.nz
Wed Apr 12 02:17:50 EDT 2017


Paul Rubin wrote:
> Or you could look at the past 50 years(!) of Lisp and Scheme compilers
> some of which produce very good code, ask what Python features can't be
> straightforwardly transliterated into Lisp to use those compilers,

Lisp and Scheme are much less dynamic than Python. The problem
of translating Python code into efficient Lisp or Scheme isn't
really much different from translating it into efficient
machine code, or Java bytecode, or whatever. Type information
is needed, either explicitly written in, or inferred, or JITted.

-- 
Greg



More information about the Python-list mailing list