Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Random numbers Perl ok! (I think)

by pg (Canon)
on Oct 12, 2003 at 18:16 UTC ( #298685=note: print w/replies, xml ) Need Help??


in reply to Random numbers Perl ok! (I think)

Something not conceptually right. The entity suffers from this problem (if that article you mentioned is right) is: the algorithm that used to generate random numbers, not the language.

The laguage is only loosely related to this problem, as whether you picked a good algorithm. Impletation is also not related here, as you may have a bad implementation that suffers from performance issues, but an implementation (if it truely follows the algorithm) does not usually alter the characteristic of the algorithm. Especially for something like generating random numbers, the implementation most likely already have been refined again and again...

From Perl's point of view, it makes sense for perl to call c function to do this kind of stuff, but not doing it itself. That's not what Perl is targeted for.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://298685]
help
Chatterbox?
LanX is Discipulus reciting "Springtime for Hitler" ?
[choroba]: erix could tell you how to do it in Postgres
[LanX]: NOOOOOOOOOOOOOOO not again
[chacham]: wow, mysql really is as bad as i thougt
[choroba]: completion?
[LanX]: That's what he usually does when MySQL is mentioned ;-)
[chacham]: the same thing could be achieved with a trigger
[LanX]: choroba yes
chacham shudders at the thought of using a trigger...so evil
LanX will need to find a Perl workaround ... :-|

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2017-03-30 15:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (360 votes). Check out past polls.