2 ms·
Because you cannot trust the 5-to-6 translators yet, so you have to test the translated perl6 code in perl6. It's a completely new VM, with new syntax, compile
by rurban 11y ago
Because you cannot trust the 5-to-6 translators yet, so you have to test the translated perl6 code in perl6.
It's a completely new VM, with new syntax, compiler and run-time.
Even with Inline::Perl5 you need to test the implicit 5<->6 casts with the perl6 vm (which might be rakudo or some other engine).
Moose contains only a small subset of the Perl6 OO, and has also different syntax. E.g. in perl6 types lead to optimizations, in Moose to pessimizations.
Rewriting in Perl6 is always preferred, as Perl6 is a much nicer language.