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•8mo 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•8mo 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?

Fundraising Compensation

1•ebitda_ai•49s ago•0 comments

Show HN: Sigil – Track data trust at the type level

1•croolily•9m ago•0 comments

Merge Labs – Altman-Backed BCI Lab Using Biomolecular Ultrasound

https://merge.io/blog
1•vagabund•14m ago•1 comments

The Mind as a City: A Systems View of Consciousness, by Ian Reppel

https://berggruen.org/news/the-mind-as-a-city-a-systems-view-of-consciousness-by-ian-reppel
1•adityaathalye•14m ago•1 comments

Running Factorio from over 1k floppy disks

https://www.pcgamer.com/hardware/running-factorio-from-over-1-000-floppy-disks-is-a-masochistical...
1•Tomte•31m ago•0 comments

The One Simple Thing That Makes the U.S. Economy Unmanageable

https://www.thebignewsletter.com/p/the-one-simple-thing-that-makes-the
1•connor11528•34m ago•0 comments

Podpdf – Ultra-fast, zero-dependency PDF generation for Node.js and Bun

https://github.com/herolabid/podpdf
3•javatuts•38m ago•0 comments

Title: A simple dinner meeting led to a sophisticated iOS eKYC bypass

https://medium.com/@ryu360i/potential-for-iphone-ekyc-face-id-hacking-how-passcode-shouldering-se...
2•ryuzaburo•39m ago•1 comments

India Issues Final Warning to Apple in Ongoing Antitrust Case

https://www.macobserver.com/news/india-issues-final-warning-to-apple-in-ongoing-antitrust-case/
3•Brajeshwar•39m ago•0 comments

The Executive Assistant Paradox: Why AI Makes This Role Critical, Not Obsolete

https://vleech.substack.com/p/the-executive-assistant-paradox-why
3•connor11528•41m ago•0 comments

100's of hours of GTM research in seconds

https://dev.dashboard.chainfuse.ai/team/01981bfb-b6fa-78a8-937e-822018bddac0/dataspace/019a6f6c-1...
2•sushidata•42m ago•1 comments

Show HN: The viral speed read at 900wpm app

https://wordblip.com
2•Gillinghammer•43m ago•0 comments

Learning Latent Action World Models in the Wild

https://arxiv.org/abs/2601.05230
1•saswatms•44m ago•0 comments

Antigravity down for Ultra plan accounts

https://discuss.ai.google.dev/t/antigravity-broken-getting-only-agent-execution-terminated-due-to...
2•fmnxl•45m ago•1 comments

European Sovereign Cloud

https://www.chrisfarris.com/
2•weinzierl•50m ago•0 comments

OpenAI Codex with Ollama

https://ollama.com/blog/codex
1•meetpateltech•50m ago•0 comments

OpenAI Used Kenyan Workers on Less Than $2 per Hour to Make ChatGPT Less Toxic

https://time.com/6247678/openai-chatgpt-kenya-workers/
2•pabs3•51m ago•0 comments

I tricked my partner into caring about finances

https://www.indiehackers.com/post/how-i-tricked-my-partner-into-caring-about-finances-dff051a4cb
2•abbster52•1h ago•1 comments

Simulation: Jupiter holds 1.5 times more oxygen than the sun

https://phys.org/news/2026-01-jupiter-hidden-depths-simulation-planet.html
1•wglb•1h ago•1 comments

Behind Trump vs. Powell Is a Battle over US Empire's Future

https://jacobin.com/2026/01/trump-powell-fed-europe-dollars
5•kaycebasques•1h ago•0 comments

It Can Apply and Positive in Favor the Newton III Law on an Engine System Device

1•monterrey•1h ago•0 comments

State Ofthe Art Novel InFlow 1Gearturbine/Reaction 2Imploturbocompressor/Impulse

1•monterrey•1h ago•0 comments

San Francisco to offer free childcare to people making up to $230000

https://www.theguardian.com/us-news/2026/jan/15/san-francisco-childcare-families
11•darth_avocado•1h ago•1 comments

Podcasting Could Use a Good Asteroid

https://www.joanwestenberg.com/podcasting-could-use-a-good-asteroid/
2•zdw•1h ago•0 comments

Ask HN: What are Claude's skills/what skills does Claude possess?

3•Obscurity4340•1h ago•0 comments

Glyphhanger – Your web font utility belt

https://www.zachleat.com/web/glyphhanger/
1•doodlesdev•1h ago•0 comments

The Myth of the ThinkPad

https://innovintageblog.wordpress.com/2026/01/08/the-myth-of-the-thinkpad/
29•volemo•1h ago•25 comments

Jeff Bezos Needs to Speak Up

https://www.theatlantic.com/ideas/2026/01/raid-washington-post/685621/
4•JumpCrisscross•1h ago•2 comments

Ericsson Silent Layoffs in the US

4•allabouttech•1h ago•1 comments

Trump Moves to Make Tech Giants Pay for Surging Power Costs

https://www.bloomberg.com/news/articles/2026-01-15/trump-to-direct-key-us-grid-operator-to-hold-e...
4•jmcdonald-ut•1h ago•1 comments