unladen swallow: python and llvm
Nick Craig-Wood
nick at craig-wood.com
Thu Jun 11 17:29:36 EDT 2009
Stefan Behnel <stefan_ml at behnel.de> wrote:
> Nick Craig-Wood wrote:
> > Luis M González wrote:
> >> I am very excited by this project (as well as by pypy) and I read all
> >> their plan, which looks quite practical and impressive.
> >> But I must confess that I can't understand why LLVM is so great for
> >> python and why it will make a difference.
> >
> > CPython uses a C compiler to compile the python code (written in C)
> > into native machine code.
>
> That would be Cython: compile Python code to (optimised) C code and then
> run a C compiler over that to get native machine code.
Actually I meant "compile the python source code" - sorry if I wasn't
clear!
--
Nick Craig-Wood <nick at craig-wood.com> -- http://www.craig-wood.com/nick
More information about the Python-list
mailing list