Re: [Numpy-discussion] Re: numexpr thoughts
by David M. Cooke other posts by this author
Mar 6 2006 3:39PM messages near this date
[Numpy-discussion] Re: numexpr thoughts
|
[Numpy-discussion] numexpr
Robert Kern <robert.kern@[...].com> writes:
> David M. Cooke wrote:
>
> > 5. Currently, we use a big switch statement. There are ways (taken
> > from Forth) that are better: indirect and direct threading.
> > Unfortunately, it looks the easy way to do these uses GCC's
> > capability to take the address of local labels. I'll add that if I
> > can refactor the machine enough so that both variants can be
> > produced. Have a look at
> > http://www.complang.tuwien.ac.at/anton/vmgen/
> > which is the virtual machine generator used for gforth (but
> > applicable to other things). I may use this.
>
> Hmmm. If LLVM weren't so huge and such a pain to install, I might recommend
> looking at using it. It could make a fun experiment, though.
Yeah, I had a look at that. PyPy is using it, so things could be
stolen from that.
Fortunately, our virtual machine can be simpler than most, because we
don't have conditionals or jumps :-)
--
|> |\/|<
/--------------------------------------------------------------------------|David M. Cooke
http://arbutus.physics.mcmaster.ca/dmc/
|cookedm@[...].ca
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@[...].net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion
Thread:
Tim Hochberg
David M. Cooke
Tim Hochberg
Tim Hochberg
David M. Cooke
Tim Hochberg
Tim Hochberg
Tim Hochberg
David M. Cooke
Robert Kern
David M. Cooke
|