lua-users home
lua-l archive

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


I  prefer to replace rand() with a custom PRNG as LuaJIT 2.0 does, but I do think that the generator should be seeded using /dev/urandom with a fall back to using time(NULL) if /dev/urandom does not exist.