develooper Front page | perl.perl6.compiler | Postings from April 2012

Re: Not Quite Perl

Thread Next
From:
Moritz Lenz
Date:
April 3, 2012 01:16
Subject:
Re: Not Quite Perl
Message ID:
4F7AB1DA.2070808@faui2k3.org
(follow-up to perl6-compilers@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

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About