Camelia, the Perl 6 bug

Perl 6 Compilers

Perl 6 is a language specification, and just like C or C++ there are multiple compilers for the language.



Rakudo runs on MoarVM and the Java Virtual Machine (JVM). It is actively developed on the Rakudo GitHub site. Download or compile Rakudo.


NQP (Not Quite Perl) is not a Perl 6 compiler. NQP is a small subset of Perl 6 used as a foundational tool to help write compilers (including Rakudo Perl 6) and libraries.

Historical Compilers

Niecza is a compiler targeting the Common Language Runtime (.NET and Mono). Its goal is to explore the static aspects of Perl 6 and the possibilities for compile-time optimization.
STD is Larry Wall's reference implementation of the Perl 6 grammar, parser generator, and some of the semantic verifier. STD is an abbreviation of "Standard", as in "Perl6.0.0-STD". It is written in Perl 6, transliterated into Perl 5 by viv. It is also used by various phases of several other compilers (mildew, perlito, elf).
viv ("vi" to "v", 6 to 5) is a compiler that uses STD as its front-end. STD itself uses viv to build. It is actively developed along with STD.
Perlito, also known as MiniPerl6, is a subset of Perl 6, designed as a light bootstrapping language. You can try it online. It is actively developed here.
Pugs is written in Haskell. Maintenance releases for successive versions of ghc are published to Hackage.

Feature matrix

To see which compilers implement which Perl 6 features, please see our feature comparison matrix.


  • Inline::Perl5 executes Perl 5 code in Perl 6. Supports Perl 5 modules including XS modules like DBI. Allows passing integers, strings, arrays and hashes. Also supports calling methods on Perl 5 objects from Perl 6 and calling methods on Perl 6 objects from Perl 5.
  • Rakudo's setting library which defines all of the classes, routines, and terms available when your script starts. In Perl 5 parlance, it's roughly all the things you can see in perlfunc, perlop, etc. This part of Perl 6 is mostly written in Perl 6 (and NQP).