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?

Supercazzola – Generate spam for web scrapers

https://dacav.org/projects/supercazzola/
1•birdculture•26s ago•0 comments

The Epstein files, annotated by the crowd

https://epstein-studio.com
1•salkahfi•53s ago•0 comments

" Tech debt is gone. Not that we solved it, but that AI made it irrelevant."

https://www.axios.com/2026/02/15/ai-coding-tech-product-development
1•Balgair•2m ago•0 comments

Show HN: Dojocho – Shadcn for Coding Katas

https://dojocho.ai
1•proxylittle•3m ago•0 comments

Hans Bjordahl on Digital Transformation, and Culture-Led Design [video]

https://www.youtube.com/watch?v=elwjr_XFiCw
1•mooreds•3m ago•0 comments

Obama says aliens are 'real, but I haven't seen them' in out-there new interview

https://nypost.com/2026/02/14/us-news/obama-says-aliens-are-real-but-i-havent-seen-them-in-out-th...
1•SirLJ•4m ago•0 comments

Clawdrey Hepburn – an AI agent researching identity infrastructure

https://twitter.com/clawdreyhepburn/status/2022771820659622022
1•mooreds•5m ago•0 comments

I Vibe Coded the Epstein Files Podcast with Claude and Hit 100K Downloads

https://levychain.substack.com/p/i-vibe-coded-the-epstein-files-podcast
1•martialg•5m ago•0 comments

Colorado Deep Tech Summit

https://codeeptech.com
1•mooreds•5m ago•0 comments

AI is slowly munching away my passion

https://whynot.fail/human/ai-is-slowly-munching-away-my-passion/
2•ttouch•7m ago•0 comments

The Dark Side of the Enlightenment

https://www.newstatesman.com/culture/books/2026/02/the-dark-side-of-the-enlightenment
3•thinkingemote•13m ago•0 comments

TSMC's US investment plans at heart of $250B puzzle for chip sector

https://www.ft.com/content/b715b003-1d10-46d4-a02d-1c5969d0dbf8
1•andsoitis•14m ago•0 comments

Show HN: Ogimg.xyz – Generate OG images via API, no headless browser

https://ogimg.xyz
1•victorlgch•16m ago•0 comments

Show HN: Lineark – Linear CLI and Rust SDK for Humans and LLMs

https://github.com/flipbit03/lineark
3•fb03•17m ago•0 comments

Show HN: Kremis – Graph-based memory for AI agents with no hidden state (Rust)

https://github.com/M2Dr3g0n/kremis
1•M2Dr3g0n•17m ago•0 comments

Show HN: A blog written and published by Claude Code

https://topaiproduct.com
1•johnnyfeng•18m ago•2 comments

Retrieval-Aware Distillation for Transformer-SSM Hybrids

https://arxiv.org/abs/2602.11374
1•readitalready•18m ago•0 comments

After Tim Cruise Fighting Brad Pitt Goes Viral, MPAA Denounces Seedance 2.0

https://variety.com/2026/film/news/motion-picture-association-ai-seedance-bytedance-tom-cruise-12...
2•joyfulmantis•20m ago•1 comments

Show HN: What I Paid – Crowdsourced real prices from receipt photos worldwide

https://what-i-paid.com/
1•iCeGaming•21m ago•1 comments

Social Media Payments and Perverse Incentives

https://shkspr.mobi/blog/2026/02/social-media-payments-and-perverse-incentives/
1•edent•23m ago•0 comments

ZcoreAI – scan the market across all timeframes

https://www.zcoreai.com/
1•tchantchov•23m ago•0 comments

Rate Limiting AI APIs Across Cloudflare Workers

https://shivekkhurana.com/blog/global-rate-limiter-durable-objects/
1•shivekkhurana•25m ago•1 comments

TSMC Eyes Tripling Arizona Investment to $465B in Tariff Deal

https://mlq.ai/news/tsmc-eyes-tripling-arizona-investment-to-465-billion-in-tariff-deal/
1•pieterr•25m ago•1 comments

Disney Sends ByteDance an AI Trophy with a Cease and Desist over Seedance 2.0

https://gizmodo.com/disney-sends-bytedance-an-ai-trophy-in-the-form-of-a-cease-and-desist-letter-...
2•joyfulmantis•26m ago•0 comments

Progress Without Disruption

https://www.chrbutler.com/progress-without-disruption
1•headalgorithm•26m ago•0 comments

Exjournalist – Hacker News for Writers

https://exjournalist.com/articles/1
3•lucianmarin•28m ago•0 comments

So what's the next word, then?

https://matthias-kainer.de/blog/posts/so-whats-the-next-word-then-/
3•andsoitis•29m ago•0 comments

Stop closing the door: fix the house

https://angiejones.tech/stop-closing-the-door-fix-the-house/
1•andsoitis•30m ago•0 comments

Data Is Code (2020)

https://blog.information-superhighway.net/data-is-code
1•tosh•31m ago•0 comments

Show HN: This is my Shell

https://lorentz.app/blog-item.html?id=this-is-my-shell
2•baalimago•31m ago•0 comments