[Numpy-discussion] announce: pyjit, a little jit for creating numpy ufuncs
nicolas.chauvat at logilab.fr
Tue Apr 25 03:22:15 CDT 2006
On Mon, Apr 24, 2006 at 04:17:16PM -0400, David M. Cooke wrote:
> Simon Burton <simon at arrowtheory.com> writes:
> > Hi,
> > Inspired by numexpr, pypy and llvm, i've built a simple
> > JIT for creating numpy "ufuncs" (they are not yet real ufuncs).
> > It uses llvm as the backend machine code generator.
> Cool! I had a look at LLVM, but I wanted something to go into SciPy,
> and that was too heavy a dependence. However, I could see doing more
> stuff with this than I can easily with numexpr.
People interested in this might also be interested in PyPy's rctypes
and the exploratory work done in PyPy to annotate code using arrays.
The goal is "write Python code using numeric arrays and other C libs,
then ask PyPy to translate it to C while removing the python wrapper
of the C libs, then compile".
Then you can run the code as python code when developping and compile
the all thing from C to assembly when speed matters.
Please note it is a goal. We are not there yet. But any help will be
logilab.fr - services en informatique avancée et gestion de connaissances
More information about the Numpy-discussion