(follow-up to perl6-compil...@perl.org) Am 03.04.2012 10:02, schrieb Daniel Carrera:
I've been reading a little about NQP (Not Quite Perl). I was wondering if NQP is part of the Parrot project, or if it is an independent spec.
NQP exists in several versions. The earliest version lived in the parrot repository. The next iteration, called NQP-rx, was developed outside of parrot, and its compiled form (compiled to PIR, that is) was bundled with Parrot. The current version (called "NQP" again) is developed outside of parrot (in github.com/perl6/nqp/ repository), and not (yet?) bundled with parrot.
NQP is intended to be a subset of Perl 6, use for bootstrapping the Rakudo compiler (and of use to other compiler writers as well).
It doesn't have a separate spec.
I'm wondering if a program written in NQP will be faster in general, or faster under Rakudo/Parrot, or not fast at all.
Since NQP mostly(*) just implements stuff that maps well to parrot, it is usually much faster than Rakudo, but of course it also does much less.
(*) current NQP also implements 6model, a lightweight object storage system that is flexible enough for Perl 6.
Cheers, Moritz