develooper Front page | perl.perl5.porters | Postings from August 2013

Re: [perl.git] branch tonyc/drandpublic, created. v5.19.2-316-gd820fd3

From:
demerphq
Date:
August 8, 2013 07:13
Subject:
Re: [perl.git] branch tonyc/drandpublic, created. v5.19.2-316-gd820fd3
Message ID:
CANgJU+XN1WjUvJW6NzaaTjXHop04XBR2KWe-n=SEgsnJgdVFiA@mail.gmail.com
Nice stuff. +1 on this getting in. Ending the system rand stupidity is
the way to go for a language as portable as Perl is.

It will also improve hash security on boxen with a poor quality rand.

On 8 August 2013 08:44, Tony Cook <tony@develop-help.com> wrote:
> In perl.git, the branch tonyc/drandpublic has been created
>
> <http://perl5.git.perl.org/perl.git/commitdiff/d820fd344e0ce2ee9bd4727cdf2249c1ad8b6afd?hp=0000000000000000000000000000000000000000>
>
>         at  d820fd344e0ce2ee9bd4727cdf2249c1ad8b6afd (commit)
>
> - Log -----------------------------------------------------------------
> commit d820fd344e0ce2ee9bd4727cdf2249c1ad8b6afd
> Author: Tony Cook <tony@develop-help.com>
> Date:   Thu Aug 8 16:31:57 2013 +1000
>
>     [perl #115928] a consistent (public) rand() implementation
>
>     Based on Yves' random branch work.
>
>     This version makes the new random number visible to external modules,
>     for example, List::Util's XS shuffle() implementation.
>
>     I've also added a 64-bit implementation when HAS_QUAD is true, this
>     should be significantly faster, even on 32-bit CPUs.  This is intended to
>     produce excactly the same sequence as the original implementation.
> -----------------------------------------------------------------------
>
> --
> Perl5 Master Repository



-- 
perl -Mre=debug -e "/just|another|perl|hacker/"



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