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

John Varley (1947-2025)

https://locusmag.com/2025/12/john-varley-1947-2025/
1•pseudolus•5s ago•0 comments

Ask HN: Health/Ocean builders: What problem would you pay to get off your plate?

3•Frannky•5m ago•0 comments

Show HN: UK Butchers Meat Price Tracker

https://offer-spider.onrender.com
1•wolfer•6m ago•0 comments

Show HN: WineBar: A yet another Wine prefix manager, with Asahi Linux support

https://github.com/Tulon/WineBar
1•JosifA•7m ago•0 comments

Skills-kit/Framework for AI-generated, testable automation skills for every LLM

https://github.com/gabrielekarra/skills-kit
1•gabrielekarra•9m ago•1 comments

Our effort to improve the Mintlify assistant

https://www.mintlify.com/blog/assistant-improvements
1•samuel246•10m ago•0 comments

One Agent Isn't Enough

https://benr.build/blog/one-agent-isnt-enough
1•bisonbear•11m ago•0 comments

10K Docker images spray live cloud creds across the internet

https://www.theregister.com/2025/12/11/docker_hub_secrets_leak/
1•Brajeshwar•12m ago•0 comments

New window insulation blocks heat, but not your view

https://techxplore.com/news/2025-12-window-insulation-blocks-view.html
1•Brajeshwar•12m ago•0 comments

Show HN: Solodash – A single player, Balderdash-style daily word game

https://solodash.net
1•Nathanadian•13m ago•0 comments

Playing Santa Does Things to a Man. What It Did to Bob Rutan Was Even Stranger

https://www.esquire.com/lifestyle/a69597294/santaland-bob-rutan/
1•Lightbody•13m ago•0 comments

Show HN: Kinkora – A creative playground for experimenting with video models

https://kinkora.fun/
5•heavenlxj•18m ago•3 comments

Show HN: Oscilla – Free ngrok alternative for sharing localhost on the 'net

https://oscilla.tech/
1•clowerweb•19m ago•2 comments

What NeurIPS shows about where robotics and physical AI research is flourishing

https://robotsandstartups.substack.com/p/increased-focus-on-robotics-at-neurips
2•robotlaunch•22m ago•0 comments

Elegant Types in Ruby

https://github.com/low-rb/low_type
2•x3qt•27m ago•0 comments

Multiple Indicted on Charges of Theft and Re-Sale of Restaurant Cooking Oil

https://www.justice.gov/usao-sdia/pr/multiple-chinese-nationals-indicted-charges-related-theft-an...
7•737min•28m ago•1 comments

Science sleuths raise concerns about scores of bioengineering papers

https://www.nature.com/articles/d41586-025-03870-3
2•bookofjoe•29m ago•1 comments

Show HN: AI Fiction Duel – adversarial storytelling structure for LLMs

https://aifictionduel.com/
1•pfeaster•29m ago•0 comments

Molecular Effects of Indoor Tanning

https://www.science.org/doi/10.1126/sciadv.ady4878
1•thunderbong•31m ago•0 comments

Name your projects something fun

https://substack.com/inbox/post/181413808
2•lazy_afternoons•35m ago•1 comments

Show HN: Logforth, A versatile and extensible Rust logging framework

https://github.com/fast/logforth
1•tison•35m ago•0 comments

"Gentle" Lecture on the Wigner's Semicircle Law in Python Package Leymosun

https://github.com/msuzen/leymosun/blob/main/lectures/wigner_semicircle.ipynb
1•northlondoner•37m ago•0 comments

Supervisor Jackie Fielder is about to ban all new R&D in the Mission SF

https://twitter.com/terronk/status/1999532633097712090
3•donsupreme•38m ago•0 comments

Hacking Google Chrome Source Code: Make Puppeteer work over Redis PubSub

https://www.deadf00d.com/post/chromium-pub-sub-redis.html
2•deadf00d•40m ago•0 comments

Palmeiras and Flamengo became South America's football superpowers

https://www.theguardian.com/football/2025/nov/28/how-palmeiras-and-flamengo-became-south-americas...
2•PaulHoule•40m ago•0 comments

Meta "deletes" years of conversations with friends/family

4•effectkai•41m ago•1 comments

I built this free app Word monitor, check it out

https://catchwords-app.onrender.com
1•ardi_c_cc•41m ago•0 comments

Undefinable yet Indispensable

https://aeon.co/essays/the-word-religion-resists-definition-but-remains-necessary
2•Brajeshwar•42m ago•0 comments

Building the Weir Language

https://elijahpotter.dev/articles/building-the-weir-language
1•chilipepperhott•43m ago•0 comments

Silk Road-linked Bitcoin wallets move $3M to new address

https://cointelegraph.com/news/silk-road-wallets-transfer-3m-bitcoin-new-address
2•flipped•43m ago•1 comments