On Tue, 1 Sep 2009, Andrew Whitworth wrote:
> In response to our discussion today in #ps, I have started drafting
> some plans for implementing a proper JIT for Parrot. I have tried to
> show several options for each step, each with pros and cons:
>
> https://trac.parrot.org/parrot/wiki/JITRewrite
Here are a few random observations:
Current JIT:
Can anyone provide reasonable benchmarks for whether this actually
provides any significant performance boost? (Obviously, this has
to be done by someone on a platform where it currently works.)
LLVM:
Wasn't there a Google Summer of Code project exploring this for
parrot? What ever happened to that?
Yuval Kogman has a very nice description of how LLVM might fit
into perl5 at
http://www.perlfoundation.org/perl5/index.cgi?llvm
Obviously, much of it is specific to perl 5, but the section on
"Tradeoffs" is definititely worth reading, particularly the last 9
paragraphs.
Gnu Lightning: According to the documentation:
"The low number of available registers (six) is also an important
limitation . . . ."
Does anyone have a sense how well that would (or would not) mesh
with Parrot's "infinite" register model?
LibJIT:
The only URL I've found,
http://www.southern-storm.com.au/libjit.html
doesn't seem to go anywhere useful anymore. That's doesn't seem
to be a good sign.
Also, this exchange on the old perl6-internals list doesn't look
too hopeful:
http://groups.google.com/group/perl.perl6.internals/browse_thread/thread/9b61366be89b4333
--
Andy Dougherty [email protected]
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev