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?

How do I become a good writer?

https://ritza.co/handbook/improving-your-writing/how-do-I-become-a-good-writer/
1•mooreds•28s ago•0 comments

Show HN: Snapsell – AI-driven infrastructure for e-commerce optimization

https://snapsell.website
1•helia_ai•1m ago•0 comments

Show HN: Updated HyperUPnP TV App

https://github.com/zeet2020/HyperUpnp-TV
1•zeet2020•1m ago•0 comments

Are we becoming QA for the machine?

https://medium.com/@theRedbeardIO/are-we-becoming-qa-for-the-machine-9622ea6efdeb
1•theredbeard•1m ago•0 comments

Multi-omics analysis reveals oral microbiome-metabolome signatures of obesity

https://www.sciencedirect.com/science/article/pii/S2211124725015918
1•PaulHoule•2m ago•0 comments

Aligning brains into a shared space improves their alignment with LLMs

https://www.nature.com/articles/s43588-025-00900-y
2•tesserato•2m ago•1 comments

The problem with blaming 'ultra-processed' foods for obesity

https://greyenlightenment.com/2026/02/09/the-problem-with-blaming-ultra-processed-for-obesity/
1•paulpauper•3m ago•0 comments

Extractive Taxation and the French Revolution

https://www.nber.org/papers/w34816
1•paulpauper•4m ago•0 comments

My Claude Code Setup

https://psantanna.com/claude-code-my-workflow/
2•paulpauper•4m ago•0 comments

Chess Mate Cafe in Detroit

https://musicorigins.org/item/the-chess-mate/
1•marysminefnuf•4m ago•0 comments

Mon-kinetic Coyote variant defeats multiple drone swarms

https://www.rtx.com/news/news-center/2026/02/11/rtxs-raytheons-non-kinetic-coyote-variant-defeats...
1•geox•4m ago•0 comments

Detroit's Chess Mate, the Forgotten Incubator of Joni Mitchell

https://jonimitchell.com/library/view.cfm?id=4927
1•marysminefnuf•5m ago•0 comments

Show HN: I built a focus system that forces real breaks after burning out

https://focusflows.org
1•nashoni•6m ago•0 comments

The Machinery of Freedom [pdf]

http://daviddfriedman.com/The_Machinery_of_Freedom_.pdf
2•pr337h4m•9m ago•0 comments

OpenSSH Post-Quantum Cryptography

https://www.openssh.org/pq.html
1•vinni2•13m ago•0 comments

Trump revokes landmark ruling that greenhouse gases endanger public health

https://www.bbc.com/news/articles/cn0zdd7yl4vo
12•saikatsg•14m ago•3 comments

Spotify: Our best developers haven't written a single line of code since Dec

https://seekingalpha.com/article/4868154-spotify-technology-s-a-spot-q4-2025-earnings-call-transc...
4•hashim-warren•14m ago•2 comments

GPT in 200 lines of dependency-free Python

https://gist.github.com/karpathy/8627fe009c40f57531cb18360106ce95
2•marvinborner•15m ago•0 comments

Louvre Museum crown left crushed but 'intact' after raid

https://www.bbc.com/news/articles/cn40ev200yjo
1•saikatsg•16m ago•0 comments

Last year, all my non-programmer friends built apps

https://idiallo.com/blog/my-non-programmer-friends-built-apps
3•firefoxd•17m ago•1 comments

An AI Agent Published a Hit Piece on Me

https://simonwillison.net/2026/Feb/12/an-ai-agent-published-a-hit-piece-on-me/
1•pretext•19m ago•0 comments

Fact-check AI output with /verify

https://truthlayer.netlify.app
1•ahgentopps•19m ago•1 comments

Gestolen data bij Odido zijn 'goud waard voor criminelen'

https://nos.nl/artikel/2602162-gestolen-data-bij-odido-zijn-goud-waard-voor-criminelen
1•smartera•20m ago•0 comments

Data Science Weekly – Issue 638

https://datascienceweekly.substack.com/p/data-science-weekly-issue-638
1•sebg•20m ago•0 comments

MiniMax M2.5 matches Claude Opus at 1/33rd the cost

https://news.reading.sh/2026/02/13/minimax-m2-5-matches-claude-opus-at-1-33rd-the-cost/
2•zenoware•20m ago•1 comments

Show HN: Digital identity pages with traffic quality

https://thugg.lol
1•m6jo9•20m ago•0 comments

Trump Administration Erases the Government's Power to Fight Climate Change

https://www.nytimes.com/2026/02/12/climate/trump-epa-greenhouse-gases-climate-change.html
7•egonschiele•23m ago•0 comments

Game sound effects for Claude Code

https://josepvidal.dev/lo-claude/sounds
1•jvidalv•23m ago•1 comments

Show HN: We Made Nasdaq Parsing Even Faster (and More Reliable)

https://lunyn.com/blog/nasdaq-parsing-faster-reliable/
2•sundancegh•23m ago•0 comments

American Express Became Indian Express

https://www.youtube.com/watch?v=t5fXrPMGM5E
2•joshcsimmons•23m ago•0 comments