frontpage.
newsnewestaskshowjobs

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•1y 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•1y 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: Open a 300k-row XLSX in the browser in ~300ms, no server

https://github.com/p10node/office-engine
2•pierreneter•31s ago•0 comments

Test and verification technique effectiveness with GPT-6 Astra

https://danluu.com/astra-testing/
1•surprisetalk•3m ago•0 comments

Kenneth Boulding's Sonnets on Numbers

https://crab.rutgers.edu/users/goertzel/bouldingsonnets.htm
1•pkress2•5m ago•0 comments

Show HN: MCPgraphy – a proxy that learns when your agent's MCP tools work

https://github.com/hemanth1999k/mcpgraphy
1•hemanth2k•6m ago•0 comments

Six Companies Adopt the Accessible Games Initiative Tags

https://accessiblegames.com/news/six-companies-adopt-the-tags/
1•rbits•8m ago•0 comments

Thoughts on LLMs Editing Weights: What's New?

https://ycao.net/posts/llm-rw-weights
1•xiaoyu2006•11m ago•0 comments

Cloudflare experiencing multiple active incidents

https://www.cloudflarestatus.com/
2•jp1016•16m ago•0 comments

VeilCC – AI-resistant binary hardening that seals critical logic

https://veilcc.com/
1•AmeerArsala•18m ago•0 comments

The Midterm Downturn

https://www.reuters.com/graphics/USA-ELECTIONS/MIDTERM-SWINGS/xmpjwxbeovr/
1•gmays•18m ago•0 comments

Show HN: Provenance – A Spec That Evolves with Your Code

https://github.com/quality-sh/provenance
1•xScrubghetti•24m ago•0 comments

Front End Without the Browser

https://redmonk.com/kholterhoff/2026/11/03/frontend-without-the-browser-wth/
1•zapt02•25m ago•0 comments

NASA's Swift space telescope predicted to crash back to Earth tomorrow

https://www.abc.net.au/news/science/2026-11-03/nasa-swift-telescope-crash-landing/100018476
3•Gaishan•26m ago•0 comments

35% Faster Than the Filesystem

https://www.sqlite.org/fasterthanfs.html
1•prakashqwerty•29m ago•0 comments

A new take on the Fermi paradox

1•danbmil99•29m ago•0 comments

Show HN: Followz – A simple RSS feed for the blogs of people you like

https://followz.vercel.app/
1•addy0001•30m ago•1 comments

Eject yourself from work with a little help from Codex

https://github.com/openai/redcard
1•prakashqwerty•33m ago•0 comments

A LoveLetter to Flash Animation [video]

https://www.youtube.com/watch?v=ggoEoBCpMAs
1•joeyjojo•40m ago•0 comments

Is hosting an open-source inference engine profitable?

https://userecurrence.ai/research/is-hosting-open-source-inference-profitable
1•Sheldon_fun•46m ago•0 comments

Project "Ares" – start to colonize Mars in 10 years, for a $42B budget

https://www.youtube.com/watch?v=wX00YRuLPDI
2•d_silin•50m ago•0 comments

Informed Choices: Gender Gaps in Career Advice

https://www.nber.org/papers/w35750
2•rohanm93•1h ago•0 comments

AI advisors debate your business decision in Claude Code

https://github.com/nateherkai/roast-room
2•dotmanish•1h ago•0 comments

Disc Image Studio Turns Blank CDs and DVDs into Laser-Etched Artwork

https://www.gizmoweek.com/disc-image-studio/
1•loog5566•1h ago•0 comments

X/Twitter Is Down

https://imgur.com/a/wc8QHNf
5•nomilk•1h ago•2 comments

Evaluating DeepSeek v4.1 Flash-1017 for loss of control and harmful manipulation

https://arxiv.org/abs/2610.35671
2•eunos•1h ago•0 comments

1.26M Data Center Satellites? Orbit Says No

https://blog.budget-engineer.com/space-data-centers-have-you-looked-up-lately
1•donohoe•1h ago•0 comments

Transitioning the Weather Prediction Center Super Ensemble

https://forecast.weather.gov/product.php?site=NWS&issuedby=WSH&product=PNS&format=ci&version=5&gl...
1•totetsu•1h ago•0 comments

Curtin, Rio Tinto Partner to Keep Cane Toads Out of Pilbara

https://www.miragenews.com/curtin-rio-tinto-partner-to-keep-cane-toads-out-1770919/
1•petethomas•1h ago•1 comments

Code-First Internal Tools vs. Low-Code in the Age of AI

https://openrun.dev/blog/code-first-internal-tools/
1•ajayvk•1h ago•0 comments

Scorigami

https://nflscorigami.com/
1•dieselgate•1h ago•0 comments

What can an LLM build with only 32 CPU instructions?

https://github.com/AlwaysFocus/picos
1•alwaysfocus•1h ago•1 comments