note
BrowserUk
<blockquote><i>I know that one shouldn't use the built-in PRNG for any 'serious' work...</i></blockquote>
<p>And that's pretty much why the MS C built-in PRNG has never been improved. If they improved it sufficiently that it was no longer glaringly obvious that it is useless, then someone, and probably many someones, would try to use it for critical purposes and then blame them when it all came unravelled.
<P>And whilst I've never seen it written anywhere, that <i>might</i> also be a good reason for Perl not providing a better PRNG built-in. If it is sufficiently better to be worth while including, someone is going to assume it is sufficient for purposes for which it isn't.
<P>That said, it would be nice to have a good--in the simulation sense rather than the crypto sense--PRNG as a part of the core. Preferably such that if enabled through a [use] (or pragma), and seeded with a known value, it would produce consistant sequences across platforms. It would be a considerable boon for testing purposes.
<p>The [mod://Math::Random::MT|MT] would probably do that, but would forcing the users to explicitly select it for use be sufficient to prevent the blame game when people use it for the wrong purposes?
<div class="pmsig"><div class="pmsig-171588">
<hr />
<font size=1 >
<div>Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.</div>
<div>"Science is about questioning the status quo. Questioning authority". </div>
<div>In the absence of evidence, opinion is indistinguishable from prejudice.</div>
<div>[http://www.theregister.co.uk/2009/06/11/pcw/|RIP PCW] [http://www.bbc.co.uk/iplayer/console/b00lv1ln|It is as I've been saying!(Audio until 20090817)]</div>
</font>
</div></div>
803632
803651