Hello,
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.
I'm wondering if a program written in NQP will be faster in general,
or faster under Rakudo/Parrot, or not fast at all.
Cheers,
Daniel.
--
I'm not
(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 p
Hello.
We are all familiar with this:
(1..10).WHAT # => Range()
@foo = 1..10;
@foo.WHAT # => Array()
When you assign a range to @foo, the result is an array. Something
similar happens, for example, if you assign a scalar to @foo... The
context of the assignment causes Perl 6 to convert
Am 03.04.2012 17:10, schrieb Daniel Carrera:
(1..10).WHAT # => Range()
@foo = 1..10;
@foo.WHAT # => Array()
When you assign a range to @foo, the result is an array. Something
similar happens, for example, if you assign a scalar to @foo... The
context of the assignment causes Perl 6 to
On 3 April 2012 17:24, Moritz Lenz wrote:
> You can, very nearly. You just need to write
>
> my @vec is Vector;
>
> because you really want to change the type of the container, not just of the
> contents (my Vector @vec would be an array containing Vector objects).
Another option might be to jus
On 04/03/2012 08:24 PM, Daniel Carrera wrote:
> On 3 April 2012 17:24, Moritz Lenz wrote:
>> You can, very nearly. You just need to write
>>
>> my @vec is Vector;
>>
>> because you really want to change the type of the container, not just of the
>> contents (my Vector @vec would be an array contai
On 3 April 2012 20:38, Moritz Lenz wrote:
> which version of Rakudo are you using? (I've tried on the last
> development version from git)
Rakudo Star 2012.02
% perl6 --version
This is perl6 version 2012.02 built on parrot 4.1.0 revision 0
>> Hmm... So you'd have to mess with the STORE method
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 7658104d48f7400089a8be66e431632e79e7f2cf
https://github.com/perl6/specs/commit/7658104d48f7400089a8be66e431632e79e7f2cf
Author: Herbert Breunung
Date: 2012-04-03 (Tue, 03 Apr 2012)
Changed paths:
M S
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 6ef69b98d8afb6e33a271a466fb8e1beb7142eb8
https://github.com/perl6/specs/commit/6ef69b98d8afb6e33a271a466fb8e1beb7142eb8
Author: Herbert Breunung
Date: 2012-04-03 (Tue, 03 Apr 2012)
Changed paths:
M S