DiceForge is a C++ library for Pseudo Random Number Generation (PRNG). It provides functionality similar to that of the python standard library random. It implements several non-standard algorithms to improve the efficiency over standard PRNGs.

The comparison between our best PRNG, the XORShift 64 and other standard PRNGs is given in the graph above. We can see that our PRNG is about 9x faster than C++’s own PRNG. The GitHub Repository containing the library is linked.