Philosophical Multicore

Sometimes controversial, sometimes fallacious, sometimes thought-provoking, and always fun.

Ruby Wins Brownie Points

Posted by Michael Dickens on December 1, 2009

Today I learned that Ruby‘s random number generator uses the Mersenne Twister, the greatest pseudorandom number generator known to man — both faster and higher quality than the commonly-used linear congruential generator.

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 450 other followers

%d bloggers like this: