lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mar 22, 2014, at 9:51 AM, Anders Bergh <anders1@gmail.com> wrote:

> On Sat, Mar 22, 2014 at 10:04 AM, Jeremy Ong <jeremycong@gmail.com> wrote:
>> My recommendation is an implementation of the mersenne twister
>> (http://en.wikipedia.org/wiki/Mersenne_twister). MT is known to be
>> highly performant and produce high quality random numbers. With the
>> new bit shift operators this is a lot more doable. If there's
>> interest, I may try to provide a reference implementation for people
>> to try.
> 
> Actually, MT is known to be exactly the opposite. There are CSPRNGs
> with better performance than MT[1].
> 
> [1] http://burtleburtle.net/bob/rand/isaacafa.html
> 
> -- 
> Anders Bergh
> 

ISAAC looks very interesting, does anyone have any experience using it?

—Tim