Boost logo

Boost :

Subject: [boost] [random] Request for Additional Generators
From: degski (degski_at_[hidden])
Date: 2017-06-14 06:30:01

I would like to request the addition of 2 generators to Boost.Random.


Web page:

A very fast PRNG, (quite a lot) faster than the fastest current boost
generator, with a period of 2 ^ 128, which could/would be good for f.e.
game programming (except for shuffling, see below). It also has a state of
only 16 bytes on x64. The author states that the distribution is of higher
quality than f.e. MT19937-64
It's probably best to just read the web-page, as it goes into quite some
detail and is in itself the summary of the research conducted in this area.

Other than the normal boost complications, it's very easy to implement and
I use my simplistic implementation to great satisfaction with the std and
boost distributions.

In this
article on CodeProject the issue of shuffling is raised. It's appears that
shuffling of large arrays of data requires a generator with extremely long
periods in order to be able to generate all the possible permutations. To
this extent I would like to see in boost a generator like George
Marsaglia's SuperKiss
or/and a templated SFMT generator like this
<> one.


"*Ihre sogenannte Religion wirkt bloß wie ein Opiat reizend, betäubend,
Schmerzen aus Schwäche stillend.*" - Novalis 1798

Boost list run by bdawes at, gregod at, cpdaniel at, john at