develooper Front page | perl.perl6.language | Postings from October 2008

Re: Smooth numeric upgrades?

From:
Michael G Schwern
Date:
October 5, 2008 06:50
Subject:
Re: Smooth numeric upgrades?
Message ID:
48E8C5DD.7000704@pobox.com
Darren Duncan wrote:
> Patrick R. Michaud wrote:
>> 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.
> 
> I think it would be better for things like unlimited-precision integers
> and rationals to be Parrot generic PMCs rather than Perl 6 specific
> ones, since there are other languages that also have unlimited-precision
> numbers (for example Python afaik) and it would be better to have a
> common implementation.  Several popular languages have unlimiteds now,
> and more are coming over time.

+1

The basics of sane numbers should be pushed down into Parrot.
(Of course, my vote counts for bupkis as I'm not going to be the one to
implement it)


-- 
Whip me, beat me, make my code compatible with VMS!



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