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?

Ask HN: Why are some websites locking or using the audio device on Windows?

1•ezconnect•3m ago•0 comments

Leak confirms GrapheneOS and Motorola partnership

https://piunikaweb.com/2026/02/27/leak-confirms-grapheneos-motorola-partnership-for-non-pixel-har...
2•Cider9986•9m ago•0 comments

You might be falling behind without realizing it

1•hoangnnguyen•13m ago•1 comments

Show HN: AI Tutorial Series – Building Neural Networks with Python

https://peertube.cif.su/watari/videos/watch/123456
1•watari_ai_tools•15m ago•0 comments

Show HN: Agent Hand – Tmux session manager for AI coding agents (Rust)

https://weykon.github.io/agent-hand/
1•weykon•23m ago•0 comments

The proposal for generic methods for Go has been officially accepted

https://github.com/golang/go/issues/77273
2•birdculture•23m ago•0 comments

Startup idea validator – Get brutal verdict

https://dontbuild.it/
1•hackerbo•31m ago•0 comments

Students Are Skipping the Hardest Part of Growing Up

https://larrycuban.wordpress.com/2026/02/28/students-are-skipping-the-hardest-part-of-growing-up-...
3•Tomte•37m ago•0 comments

Packaging AI/ML Models as Conda Packages

https://prefix.dev/blog/packaging-ai-ml-models-as-conda-packages
1•droelf•38m ago•0 comments

OpenAI: Food First, Then Morals

1•goloroden•39m ago•0 comments

Show HN: News Pulse – Real-time global news feed, 475 sources, no algorithm

https://news-alert-eta.vercel.app
4•trevwebdev•43m ago•1 comments

Show HN: Standup.so – Paste your commits, get a standup report in seconds

https://standup-so.vercel.app
1•neoloong•48m ago•1 comments

Redirector Privacy Alternatives: forward links to privacy aware front ends

https://github.com/duyfken/RedirectorPrivacyAlternatives
2•Baljhin•53m ago•1 comments

NASA announces change to its Moon landing plans

https://www.bbc.co.uk/news/articles/c6270030neyo
2•iamflimflam1•55m ago•1 comments

Israel and the U.S. launch strikes against Iran

https://www.npr.org/2026/02/28/nx-s1-5730158/israel-iran-strikes
6•0in•56m ago•0 comments

Show HN: API checks show three suppression strategies on X

https://blog.karljtaylor.com/blog/2026-02-28-xai-search-api-suppression/
1•karljtaylor•57m ago•0 comments

When Do We Become Adults, Really?

https://www.newyorker.com/culture/annals-of-inquiry/when-do-we-become-adults-really
2•fortran77•57m ago•1 comments

Google quantum-proofs HTTPS by squeezing 2.5kB of data into 64-byte space

https://arstechnica.com/security/2026/02/google-is-using-clever-math-to-quantum-proof-https-certi...
2•maxloh•58m ago•0 comments

What Do the People Building AI Believe?

https://www.theatlantic.com/podcasts/2026/02/what-do-the-people-building-ai-believe/686173/
1•fortran77•1h ago•0 comments

Inferring Car Movement Patterns from Passive TPMS Measurements

https://dspace.networks.imdea.org/handle/20.500.12761/2011
7•wisdomseaker•1h ago•1 comments

Show HN: Mdc – Orchestrate multi-repo Docker environments with one command

https://github.com/tominaga-h/multi-docker-commander
1•tominaga-h•1h ago•0 comments

Human brain cells on a chip learned to play Doom in a week

https://www.newscientist.com/article/2517389-human-brain-cells-on-a-chip-learned-to-play-doom-in-...
2•urban_winter•1h ago•1 comments

Dario, come to Europe. Here you are allowed to do your job

3•Trickery5837•1h ago•0 comments

Show HN: Can we have Flutter-like portability without the bloated web binaries?

1•io_eric•1h ago•0 comments

Vinext: Vibe-Hacking Cloudflare's Vibe-Coded Next.js Replacement

https://www.hacktron.ai/blog/hacking-cloudflare-vinext
1•zeyu1337•1h ago•0 comments

The Day an AI Company Told The Pentagon to Go F*** Itself

https://defragzone.substack.com/p/the-day-an-ai-company-told-the-pentagon
5•frag•1h ago•0 comments

How to Cancel Claude Code

https://support.claude.com/en/articles/8325617-how-do-i-cancel-my-paid-claude-subscription
1•JasonHEIN•1h ago•1 comments

Alternative Privacy-respecting Web Front-ends to popular online platforms

https://github.com/duyfken/alternative-front-ends
1•Baljhin•1h ago•1 comments

Feature Flags: Power, Risk and Responsibility

http://emanueleminotto.github.io/blog/feature-flags-power-risk-responsabilities
1•EmanueleMinotto•1h ago•0 comments

Show HN: Open Vernacular AI Kit – preprocessing for Indian code-mixed text

https://github.com/SudhirGadhvi/open-vernacular-ai-kit
1•sudhirgadhvi•1h ago•0 comments