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?

Man who videotaped himself BASE jumping in Yosemite arrested. He says it was AI

https://www.latimes.com/california/story/2026-02-05/man-videotaped-himself-base-jumping-in-yosemi...
1•harambae•1m ago•0 comments

Ford shows off the tech going into its $30k electric pickup truck

https://www.engadget.com/transportation/evs/ford-shows-off-the-tech-going-into-its-30000-electric...
1•neogodless•3m ago•0 comments

Educators weave AI into their classrooms

https://www.cbc.ca/news/canada/profs-highered-usingai-9.7071321
1•empressplay•4m ago•0 comments

Boundary Engineering

https://cabreza.substack.com/p/boundary-engineering
1•fathermarz•4m ago•0 comments

Keep DRM out of the public airwaves

https://blog.velocifyer.com/Posts/7,2026+1+5,Keep%20DRM%20out%20of%20the%20public%20airwaves.html
2•Velocifyer•6m ago•0 comments

The weird propeller that offers improved agility on the water

https://hackaday.com/2026/02/06/the-weird-propeller-that-offers-improved-agility-on-the-water/
2•unsnap_biceps•9m ago•0 comments

SaaS Is Dead, Long Live Platforms

https://blog.herlein.com/post/saas-dead-long-live-platforms/
1•speckx•9m ago•0 comments

Elon Musk Will Be Deposed over What He Did with DOGE

https://newrepublic.com/post/206223/elon-musk-will-deposed-doge
1•doener•10m ago•0 comments

Stash or splash? NASA asked for ISS deorbit alternatives

https://www.theregister.com/2026/02/05/iss_stash_or_splash/
2•rbanffy•10m ago•0 comments

Show HN: Search complex flight itineraries with natural language

https://flightdeepresearch.com
1•aiddun•12m ago•0 comments

Fable

https://fable.io/
1•tosh•13m ago•0 comments

LLMs Play Boggle

https://simonsocolow.com/boggle-bench/
1•ssocolow•14m ago•0 comments

Agent Skills: Teaching AI Agents Like You'd Onboard a New Hire

https://johnsonshi.substack.com/p/agent-skills-teaching-ai-agents-like-onboarding-a-new-hire
1•johnsonshi•15m ago•0 comments

Best way to customize btc addresses?

1•sfffs•16m ago•0 comments

Jujutsu v0.38.0 Released

https://github.com/jj-vcs/jj/releases/tag/v0.38.0
2•birdculture•16m ago•0 comments

Built with Opus 4.6: a Claude Code hackathon

https://cerebralvalley.ai/e/claude-code-hackathon
2•tzury•17m ago•0 comments

Ahead-of-time WASM GC in wastrel

https://wingolog.org/archives/2026/02/06/ahead-of-time-wasm-gc-in-wastrel
1•davexunit•17m ago•0 comments

Latest Epstein files release rattles Silicon Valley

https://www.nbcnews.com/tech/tech-news/jeffrey-epstein-files-reveal-deep-tech-ties-musk-gates-rcn...
1•wslh•18m ago•0 comments

China Testing Nuclear Weapons and Covering Its Tracks, U.S. Alleges

https://www.twz.com/nuclear/china-secretly-testing-nuclear-weapons-and-covering-its-tracks-u-s-al...
1•DustinEchoes•23m ago•0 comments

Show HN: I let strangers vote on commands to a Claude Code instance with root

https://claudecrowd.clodhost.com/
1•zhoujianfu•23m ago•0 comments

A tenancy controller and experiment in AI driven product building

https://leebriggs.co.uk/blog/2026/02/06/landlord
1•jaxxstorm•23m ago•0 comments

A Refuge from the Sloppocalypse

https://www.cybrsecmedia.com/from-the-editor-a-refuge-from-the-sloppocalypse/
1•ohjeez•24m ago•0 comments

Show HN: Jourdle (Coop Wordle)

https://jourdle.com/
1•furyofantares•24m ago•0 comments

The Rumsfeld Matrix for AI

https://hollisrobbinsanecdotal.substack.com/p/the-rumsfeld-matrix
1•HR01•24m ago•0 comments

Opus of the People | Opus des Volkes

https://christopher-helm.com/opus-des-volkes-endlich-frei-von-kompetenz/
1•chelm•25m ago•0 comments

Microbiome-associated phenotypes that reshape agricultural sustainability

https://www.science.org/doi/10.1126/sciadv.aed3360
1•PaulHoule•25m ago•0 comments

Show HN: Structured devil's advocate code review as a Claude Code slash command

https://github.com/richiethomas/claude-devils-advocate
1•toomanyrichies•26m ago•0 comments

Welcome to the $600B AI era, where Big Tech is spending like it's a Gilded Age

https://www.businessinsider.com/amazon-google-meta-microsoft-boost-ai-spending-stocks-2026-2
3•zerosizedweasle•26m ago•0 comments

Claude Code and What Comes Next

https://www.oneusefulthing.org/p/claude-code-and-what-comes-next
1•speckx•27m ago•0 comments

NASA to Save $1.4B by Insourcing

https://twitter.com/NASAAdmin/status/2019823962465923366
2•trothamel•28m ago•0 comments