|
|
|
|
|
by kbenson
3860 days ago
|
|
Rakudo is an implementation of Perl 6 built on top of NQP (Not-Quite-Perl. a pseudo lang that implements the easier parts of Perl 6 that can be targeted and optimized by VMs), and MoarVM is a C-based NQP interpreter. There is also an NQP back-end for the JVM, which is now Rakudo runs on the JVM. Think of NQP as an intermediate language (kind of like java bytecode but much higher level). It's like this: Rakudo -> NQP -> MoarVM or like this: Rakudo -> NQP -> NQP-JVM implementation -> JVM Want to get Perl 6 running on the .Net CLR? Implement an NQP interpreter (which is supposed to be fairly easy) and you're 99% done (at least that's my understanding). |
|
Sure, MoarVM is by design semantically close to NQP, but if you look at
you get mostly the same steps as on the JVM except that MoarVM bytecode files do not get bundled into JARs and there's no need to do the extra processing that happens in the 'classname' stage.