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

6 Active AI Training Projects on Alignerr Right Now [March 2026]

https://aitrainer.work/guides/alignerr-active-projects-march-2026
2•celadondev•1m ago•0 comments

From Zip to Nought: The Rise and Fall of Iomega

https://hackaday.com/2026/03/24/from-zip-to-nought-the-rise-and-fall-of-iomega/
1•lxm•4m ago•0 comments

Ask HN: What shell/terminal setup would you recommend to beginners today?

1•GeekUses9527•6m ago•0 comments

My Stay at the Biltmore Mayfair

https://substack.com/profile/484399211-lolipop/note/c-232884584
1•Btmviolet123•7m ago•0 comments

Url to Video – Transform Product URLs into High-Converting AI Video Ads

https://urltovideo.ai
2•Lisheng•10m ago•0 comments

Primary School Children Face Having to Work Until They Are 75

https://www.thetimes.com/money/pensions/article/primary-school-children-work-until-75-retirement-...
3•karakoram•12m ago•1 comments

Fantastic Anime Edit

https://www.youtube.com/watch?v=mEyrsy6PWgo
1•nivethan•14m ago•0 comments

Show HN: I built a team of AI executives to build my startup – I fired one

https://www.agentmadness.ai/entries/mise-inc
1•jonflaig13•19m ago•0 comments

Why Microsoft and OpenAI are at odds

https://finshots.in/archive/why-microsoft-and-openai-are-at-odds/
1•vismit2000•22m ago•0 comments

Nginx ingress controller has been archived

https://github.com/kubernetes/ingress-NGINX
1•Doublon•23m ago•0 comments

New Mexico just handed Meta its first courtroom defeat over child safety

https://techcrunch.com/2026/03/24/new-mexico-just-handed-meta-its-first-courtroom-defeat-over-chi...
1•pseudolus•24m ago•1 comments

Why Speech Has Never Become Context

https://zhenthinks.substack.com/p/why-speech-has-never-become-context
1•zhenthinks•27m ago•0 comments

The Ocean of Numbers: How India Shaped the Way We Calculate [video]

https://www.youtube.com/watch?v=sa2kN-li984
1•vismit2000•27m ago•0 comments

Data Transformation in the Browser

https://www.smartquerytools.com/
1•dango2506•29m ago•0 comments

StationeryObject

https://stationeryobject.com/archive/
1•NaOH•29m ago•0 comments

Levine Links: Money Stuff but enhanced with O paywalls

https://levine.yet-to-be.com/
1•wyxuan•29m ago•1 comments

LiteLLM got supply-chain attacked: 97M downloads/month, credential stealer

https://hexaclaw.com/blog/litellm-supply-chain-attack
1•hexaclawdevs•31m ago•1 comments

OpenAI killed Sora. Here are 11 video APIs that still work, with pricing

https://hexaclaw.com/blog/sora-is-dead-video-alternatives
1•hexaclawdevs•33m ago•0 comments

DOSS $55M Series B

https://www.doss.com/news/doss-raises-55m-series-b
1•doppp•36m ago•0 comments

So far AI has mostly proven the inherent worth of menial laborers

https://www.theverge.com/ai-artificial-intelligence/899086/jensen-huang-nvidia-agi
4•wrqvrwvq•36m ago•2 comments

Pidgin HTML Markup for Writing, or How Much Can HTML Sustain?

https://aartaka.me/pidgin.html
1•pabs3•38m ago•0 comments

Singapore's Sound Card Hero [video]

https://www.youtube.com/watch?v=VTPa6wRECw0
1•arbayi•39m ago•0 comments

Show HN: JaaS platform: AI panhandler charges $1 minimum per joke

https://doyouhaveadollar.com
1•flarite•40m ago•0 comments

What we learned after 6 months of building an AI podcast app nobody used

https://ansenhuang.substack.com/p/instapodz-from-ai-podcast-platform
2•AnsenHuang•43m ago•0 comments

Intel's Binary Optimization Tool may be cheating on Geekbench 6

https://www.geekbench.com/blog/2026/03/geekbench-6-and-intels-binary-optimization-tool/
1•wmf•45m ago•0 comments

Show HN: Give your agents the ability to operate interactive TUI apps

https://github.com/flipbit03/terminal-use
2•fb03•45m ago•0 comments

NeurIPS bans submissions from US-sanctioned institutions

https://neurips.cc/Conferences/2026/MainTrackHandbook
2•xucheng•51m ago•1 comments

DigitalOcean Announces Proposed Public Offering of Common Stock

https://investors.digitalocean.com/news/news-details/2026/DigitalOcean-Announces-Proposed-Public-...
3•SergeAx•51m ago•1 comments

Building superconducting and neutral atom quantum computers

https://blog.google/innovation-and-ai/technology/research/neutral-atom-quantum-computers/
2•qnleigh•54m ago•0 comments

Pokopia Atlas – a companion database and tracker for Pokopia

https://pokopiaatlas.netlify.app/
2•Xez13•57m ago•0 comments