Fork me on GitHub

MoarVM 2014.09

Instrumented profiling of routine calls and allocations, along with statistics on garbage collection, specialization, JIT compilation, and inlining. Garbage collection improvements, including finalizers, persistent object identifiers, and smarter full collection triggering. More operations JIT-compiled. PowerPC and ARM fixes. And a bunch of other fixes and improvements!


What is MoarVM?

Short for "Metamodel On A Runtime", MoarVM is a virtual machine built especially for Rakudo Perl 6 and the NQP Compiler Toolchain. While still being under very active development, MoarVM already stands out amongst the various Rakudo and NQP compilation targets by typically:

  • Running the Perl 6 specification test suite in the least time
  • Passing more of the Perl 6 specification tests than Rakudo Perl 6 on other backends
  • Having the lowest memory usage
  • Having the best startup time
  • Being fastest to build both NQP and Rakudo - and thus in theory your Perl 6 and NQP programs too!

For long-running workloads where startup time doesn't matter, or when you need tried-and-tested, mature threading support, Rakudo on the JVM is a better bet; its JIT compiler gets to work and makes quite a difference. For maximum module coverage, Rakudo on Parrot may have a small edge, but that is changing fast.