Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Small Perl 6 discoveries III, Ints

by Anonymous Monk
on Oct 12, 2017 at 14:42 UTC ( [id://1201230]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Small Perl 6 discoveries III, Ints
in thread Small Perl 6 discoveries III, Ints

The problem can be summarized as follows:
  • Some platforms ship with a vendor-supplied libc that's really sloppy.
  • Because of this, perl5 development has been slowly replacing use of libc with home-grown code.
  • However, GNU libc is really good. It's the default libc on many platforms, and it's available on most.
  • As a result, many perl programmers have been experiencing slowly deteriorating quality of numeric implementation for around two decades. Perl6 accelerates this trend.

Replies are listed 'Best First'.
Re^4: Small Perl 6 discoveries III, Ints
by syphilis (Archbishop) on Oct 13, 2017 at 07:53 UTC
    Perl6 accelerates this trend

    They seem to be at least perpetuating some unfortunate perl5 design choices. (I see they've also opted for having say/print round doubles to 15 decimal digits of precision.)

    I've mentioned before that Jarkko Hietaniemi plans to replace perl5's current (homegrown) implementation with netlib's gdtoa if he manages to find the tuits.
    I gather that would be an excellent development, but I've no idea whether he will ever find those tuits - and no-one else seems at all interested in doing anything about it.

    Anyway, I have workarounds in place for perl5 but it would be nice if perl6 didn't require the same workarounds.

    Cheers,
    Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1201230]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-03-29 08:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found