Latest / Developer tools

LoopMix128

github.com · Open source · Quiet

Fast MIT-licensed C pseudo-random number generator with a 2^128 period

Visit github.com ↗Share

  • prng
  • fast prng c
  • c random number generator
  • non cryptographic random
  • pseudo random generator
  • parallel random streams
Stars
153
Forks
5
Open issues
6
Last commit
Found
18 months ago

GitHub figures as of . They are context, not a ranking.

LoopMix128 is a fast C pseudorandom number generator for non-cryptographic use, with a guaranteed 2^128 period. The maker reports that it passes the BigCrush and PractRand test suites and that its state is proven injective, which allows parallel streams. It suits developers who need fast non-cryptographic randomness.

Positioned as an alternative to xoroshiro128++, PCG64.

Repository description on GitHub: “A very fast and robust 64-bit PRNG with a minimum 2^64 period.”

What it does

  • Maker reports about 0.37 ns per value on GCC 11.4 with -O3
  • Guaranteed 2^128 period
  • Passes TestU01 BigCrush and PractRand suites
  • State proven injective, which allows parallel streams

Good for

  • Generate random values in performance-sensitive C code
  • Create independent random streams for parallel workers
  • Swap in a faster generator than xoroshiro128++ or PCG64

Suits: C developers who need fast non-cryptographic randomness.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw LoopMix128 on , when the_othernet posted it to Show HN. GitHub listed no published releases for danielcota/LoopMix128 when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 76 points, 34 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 76 points, 34 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: danielcota/LoopMix128
  2. Found: the_othernet posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was LoopMix128 released?
No dated release record is available. Kip found it on Show HN on 10 May 2025.
Is LoopMix128 open source?
Its source is public on GitHub at danielcota/LoopMix128 under the MIT licence.
What does LoopMix128 run on?
Library.
Is LoopMix128 free?
It is open source, so the code is free to read and run; check the licence for terms.
Is LoopMix128 still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorydanielcota/LoopMix128
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-43949134. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.