Saturday, May 10, 2025

Show HN: LoopMix128 – Fast C PRNG (.46ns), 2^128 Period, BigCrush/PractRand Pass https://ift.tt/FWgdlMe

Show HN: 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://ift.tt/VEf3nLj Highlights: * ~0.46 ns/value (GCC 11.4, -O3 -march=native), 75% faster than xoroshiro128++. * 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. https://ift.tt/VEf3nLj May 11, 2025 at 02:55AM

No comments:

Post a Comment

Show HN: Self-Funded Game with Homemade Engine – Play Online, Steam Coming https://ift.tt/aJRGSv8

Show HN: Self-Funded Game with Homemade Engine – Play Online, Steam Coming Hi HN! I’ve been building a 2D game using a custom engine I wrote...