{"by":"the_othernet","descendants":34,"id":43949134,"kids":[43949797,43950386,43949663,43952486,43959117,43956993,43949596,43951313,43949604,43949761,43949780],"score":76,"text":"LoopMix128 is a fast C PRNG I wrote for non-cryptographic tasks.<p>GitHub (MIT): <a href=\"https:&#x2F;&#x2F;github.com&#x2F;danielcota&#x2F;LoopMix128\">https:&#x2F;&#x2F;github.com&#x2F;danielcota&#x2F;LoopMix128</a><p>Highlights:<p>* ~0.37 ns&#x2F;value (GCC 11.4, -O3 -march=native), 98% faster than xoroshiro128++ and PCG64.<p>* Passes TestU01 BigCrush &amp; PractRand (32TB).<p>* Guaranteed 2^128 period.<p>* Proven injective (192-bit state) via Z3 SMT solver; allows parallel streams.<p>* Core requires only stdint.h.<p>Seeking feedback on design, use cases, or further testing.","time":1746912321,"title":"Show HN: LoopMix128 – Fast C PRNG (.46ns), 2^128 Period, BigCrush/PractRand Pass","type":"story","url":"https://github.com/danielcota/LoopMix128"}