From: "nobu (Nobuyoshi Nakada)" Date: 2022-01-08T09:55:03+00:00 Subject: [ruby-core:107006] [Ruby master Feature#18463] Random number generation with xoshiro Issue #18463 has been updated by nobu (Nobuyoshi Nakada). That gem seems pretty old, before `include/ruby/random.h` was introduced. You can see a skeleton at `ext/-test-/random/loop.c` too. ---------------------------------------- Feature #18463: Random number generation with xoshiro https://bugs.ruby-lang.org/issues/18463#change-95837 * Author: bbrklm (Benson Muite) * Status: Open * Priority: Normal ---------------------------------------- Xoshiro https://prng.di.unimi.it/ random number generation is typically faster than Mersenne Twister currently used in Ruby in https://github.com/ruby/ruby/blob/master/random.c It would be good to allow use of xoshiro either as an option or as default. Xoshiro is the default for Fortran https://gcc.gnu.org/onlinedocs/gfortran/RANDOM_005fNUMBER.html and Julia https://github.com/JuliaLang/julia/tree/master/stdlib/Random/src Happy to implement this. -- https://bugs.ruby-lang.org/ Unsubscribe: