Hey Kasper, This is great, I had talked to Ivan once about it before. It's good that we avoid system random for a few reasons, including thread safety / lock holding / etc.
I know nothing of the implementation though, I would have gone with mersenne twister since it is what everyone else uses (python, ruby, etc) http://codereview.chromium.org/126113/diff/39/48 File src/v8.cc (right): http://codereview.chromium.org/126113/diff/39/48#newcode145 Line 145: static uint32_t lo = 0; why not just static uint32_t hi = random() ? http://codereview.chromium.org/126113 --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
