Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Small Perl 6 discoveries III, Ints

by Anonymous Monk
on Oct 12, 2017 at 14:42 UTC ( #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.
  • Comment on Re^3: Small Perl 6 discoveries III, Ints

Replies are listed 'Best First'.
Re^4: Small Perl 6 discoveries III, Ints
by syphilis (Bishop) 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
Node Status?
node history
Node Type: note [id://1201230]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2020-12-02 22:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (47 votes). Check out past polls.

    Notices?