On Fri, Oct 03, 2008 at 09:47:38PM -0700, Larry Wall wrote:
> On Fri, Oct 03, 2008 at 11:57:30PM -0400, Michael G Schwern wrote:
> : What's the status of numeric upgrades in Perl 6? Is see the
> : docs say "Perl 6 intrinsically supports big integers and rationals
> : through its system of type declarations. Int automatically
> : supports promotion to arbitrary precision" but it looks like it's
> : doing the same thing as Perl 5.
> The status of numeric upgrades in Perl 6 is fine. It's rakudo that
> doesn't do so well. :)
Correct. I suspect that eventually the Rakudo developers will have
to develop a custom set of PMCs for Perl 6 behaviors rather than
relying on the Parrot ones.
In the more general sense, it's sometimes useful to remember that
Parrot is a virtual machine that often takes a Perl 5 approach to
solving problems -- I suspect because in many cases the "Perl 6"
approach wasn't necessarily well defined at the time. It's going
to take Rakudo a little time to layer or rebuild the correct
semantics for its core object types, so in the meantime we see
bits of Parrot peeking out through the interfaces.