LoopMix128 – Fast C PRNG (.46ns), 2^128 Period, BigCrush/PractRand Pass
LoopMix128 is a fast C PRNG I wrote for non-cryptographic tasks. GitHub (MIT): https://github.com/danielcota/LoopMix128 Highlights: * ~0.37 ns/value (GCC 11.4, -O3 -march=native), 98% faster than xoroshiro128++ and PCG64. * Passes TestU01 BigCrush & PractRand (32TB). * Guaranteed 2^128 period. * Proven injective (192-bit state) via Z3 SMT solver; allows parallel streams. * Core requires only stdint.h. Seeking feedback on design, use cases, or further testing.
In plain words
LoopMix128 is a fast C pseudorandom number generator for non-cryptographic applications. It generates values at approximately 0.37 nanoseconds per output, passes statistical tests including TestU01 BigCrush and PractRand across 32TB of data, and guarantees a 2^128 period. The generator is proven injective, enabling parallel random streams, and requires only the standard integer library. It is designed for developers needing high-performance random number generation in C projects.
written from the facts on this page · September 2026
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 2d ago · opentrailpaper.com

Launched alongside, May 2025
the whole month →
- C9
Life & fun · 2025 · felixrieseberg.github.io



