frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: DualMix128 – A fast, simple PRNG passing PractRand (32TB) and BigCrush

https://github.com/the-othernet/DualMix128
5•the_othernet•9mo ago
Hi HN,

I'd like to share DualMix128, a pseudo-random number generator I developed. It's written in C and achieves very high speed while maintaining strong statistical properties for non-cryptographic use.

GitHub (MIT License): https://github.com/the-othernet/DualMix128

Key points:

* *Fast:* Benchmarked at ~0.36 ns per 64-bit generation on GCC 11.4 (-O3 -march=native). This was over 2x faster than `xoroshiro128++` (~0.74 ns) and competitive with `wyrand` (~0.36 ns) in the same tests. (Benchmark code/results in repo).

* *Robust:* Passes the full TestU01 BigCrush suite and PractRand up to 32TB with no anomalies reported. (Test harnesses/logs in repo).

* *Simple Algorithm:* Uses a 128-bit state (two `uint64_t`) with simple mixing based on addition, XOR, rotation, and a final multiplication by the golden ratio constant.

* *C Implementation:* Minimal dependencies (`stdint.h` for core), straightforward C code.

This came out of exploring simple constructions for efficient PRNGs that still hold up under heavy statistical testing.

Curious to hear feedback on the design, performance, potential applications, or any weaknesses you might spot. Thanks!

Comments

thomaskoopman•9mo ago
Very cool, fast and looks like it should vectorize too. Do you have a jump function for parallel seeding?

How did you come up with this, some number-theoretic basis or more experimental?

Show HN: Lightwave – Real-time notes app, 3.5 years of hand-rolled JavaScript

1•jv22222•35s ago•0 comments

The Desperate Race to Escape AI's Permanent Underclass

https://www.telegraph.co.uk/business/2026/02/15/the-desperate-race-to-escape-ais-permanent-underc...
1•colesantiago•1m ago•1 comments

R.A.T.A. v3: Achieving 312M:1 Information Density on Solana

1•Codedwaves•2m ago•0 comments

Laziness, Impatience, Hubris, and AI (2025)

https://arctortect.substack.com/p/laziness-impatience-hubris-and-ai
1•arctortect•2m ago•0 comments

ClawdINT – let OpenClaw AI Agents be analysts

https://clawdint.com
1•lknik•3m ago•0 comments

GNU Pies – Program Invocation and Execution Supervisor

https://www.gnu.org.ua/software/pies/
1•smartmic•4m ago•0 comments

Restty = libghostty-vt and text-shaper and WebGPU

1•wiedymi•6m ago•0 comments

Hacker Fab Documentation

https://github.com/hacker-fab/gitbook
2•EvgeniyZh•6m ago•0 comments

Nobel Novelist Orhan Pamuk Gets the Netflix Series He Wanted

https://www.nytimes.com/2026/02/12/world/europe/orhan-pamuk-istanbul-turkey-museum-of-innocence.html
1•paulpauper•6m ago•0 comments

Maybe America Needs Some New Cities

https://www.nytimes.com/2026/02/12/business/economy/america-new-cities-irvine.html
1•paulpauper•7m ago•0 comments

Expensive Beatles Auction

https://www.christies.com/en/events/the-jim-irsay-collection/browse-all-lots
1•paulpauper•7m ago•0 comments

The Jobs Report Doesn't Add Up

https://www.youtube.com/watch?v=3rjbUQszOC0
1•belter•10m ago•0 comments

The dialogs on your website should probably not be taller than 539px

https://xn--ime-zza.eu/5/
1•zagrebian•12m ago•0 comments

Show HN: Triad Engine beats Claude 4.6 (100% vs. 45%) on Rome cultural benchmark

https://github.com/Mysticbirdie/triad-rome-benchmark
1•MysticBirdie•12m ago•0 comments

WebMCP Proposal

https://webmachinelearning.github.io/webmcp/
1•rupertsworld•19m ago•0 comments

Cursor for Writers: How I chained parallel agents to track narrative consistency

https://www.minotauris.app/waitlist
1•minotauris•19m ago•1 comments

How bad can Python stop-the-world pauses get?

https://lemire.me/blog/2026/02/15/how-bad-can-python-stop-the-world-pauses-get/
1•usdogu•22m ago•0 comments

FeedBack Request

https://bbrewrite.live
1•shaonsikder•23m ago•1 comments

Scaling Django to 10M active users on a single VM

https://eliot.blog/p/scaling-django-to-10-million-active-users
1•ea016•24m ago•0 comments

Gitdatamodel Documentation

https://git-scm.com/docs/gitdatamodel
1•birdculture•26m ago•0 comments

Ask HN: What book are you reading?

4•aavci•28m ago•3 comments

Cherry, A firewall against AI-generated PRs

https://cherry.gethopp.app/
4•konsalexee•28m ago•2 comments

Administration may force data center builders like Meta to 'internalize' costs

https://www.cnbc.com/2026/02/15/navarro-trump-data-centers-affordability.html
4•pseudolus•30m ago•0 comments

GGML GGUF File Format Vulnerabilities

https://www.databricks.com/blog/ggml-gguf-file-format-vulnerabilities
1•eatonphil•30m ago•0 comments

Compound Engineering: The AI-native engineering philosophy

https://every.to/guides/compound-engineering
2•Karrot_Kream•33m ago•0 comments

The T Project

https://mumble.net/~jar/tproject/
1•shakna•34m ago•0 comments

Voith Schneider Propeller

https://en.wikipedia.org/wiki/Voith_Schneider_Propeller
2•Luc•35m ago•0 comments

The Four Burner Theory

https://twitter.com/thecurioustales/status/2023042136686682141
1•dsego•37m ago•0 comments

Show HN: Clue (Cluedo) Solver/Assistant

https://github.com/dmd/clue-assistant
1•dmd•37m ago•0 comments

Multi-Agent Teams Hold Experts Back

https://www.arxiv.org/pdf/2602.01011
1•fauigerzigerk•39m ago•0 comments