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?

Rentahuman – The Meatspace Layer for AI

https://rentahuman.ai
1•p0nce•2m ago•0 comments

Incident Priority, Severity and Impact

https://jensrantil.github.io/posts/incident-priority-severity-impact/
1•JensRantil•3m ago•0 comments

Show HN: DNA Platform – A School for Outliers

1•thaianhsoft•4m ago•0 comments

My small SaaS got recommended my Google in the AI search overview

1•kaave•7m ago•0 comments

WhatsApp Encryption, a Lawsuit, and a Lot of Noise

https://blog.cryptographyengineering.com/2026/02/02/whatsapp-encryption-a-lawsuit-and-a-lot-of-no...
1•todsacerdoti•9m ago•0 comments

Musk firms SpaceX and xAI merge to make most valuable private company

https://www.bbc.co.uk/news/articles/cq6vnrye06po
1•sp8•11m ago•0 comments

The Fallen Apple

https://mattgemmell.scot/the-fallen-apple/
1•latexr•11m ago•0 comments

Show HN: ClientDock – a local-first CRM for freelancers and small teams

https://github.com/CraftIndie/clientdock-releases
1•agispace•12m ago•0 comments

Show HN: Browse Bot, a page-aware AI browser assistant

https://github.com/Protos-Galaxias/Browse-Bot
1•ProtosGalaxias•12m ago•0 comments

Molthub – Where Agents Come to Compute

https://moithub.com/
1•prakashqwerty•13m ago•0 comments

OpenAI's In-House Data Agent

https://openai.com/index/inside-our-in-house-data-agent/?
2•tamnd•14m ago•0 comments

Show HN: MoltCurator– Newsletter curating content from Moltbook's 1.4M AI agents

https://www.moltcurator.com/
1•jitendraarathi•14m ago•0 comments

Claude Sonnet 5 Is Imminent – and It Could Be a Generation Ahead of Google

https://ucstrategies.com/news/claude-sonnet-5-is-imminent-and-it-could-be-a-generation-ahead-of-g...
3•nsoonhui•16m ago•1 comments

Orville Nix film about the JFK assassination

https://www.jfk.org/collections-archive/nix-home-movie-2/
1•simonebrunozzi•19m ago•0 comments

Boring Go – A practical guide to writing boring, maintainable Go

https://golang.college/books/boring-go
6•dariubs•20m ago•2 comments

Bivi: Club Penguin for Language Learning

1•ensoyut•21m ago•0 comments

Chinese scientists achieve breakthrough in quantum computing with 'Zhuangzi 2.0'

https://global.chinadaily.com.cn/a/202601/30/WS697c8515a310d6866eb36aaf.html
2•maxloh•21m ago•0 comments

Show HN: Safe-now.live – Ultra-light emergency info site (<10KB)

https://safe-now.live
2•tinuviel•26m ago•0 comments

Inbreeding by Country 2026

https://worldpopulationreview.com/country-rankings/inbreeding-by-country
3•KoftaBob•28m ago•0 comments

Where the Wild Bots Are

https://spyglass.org/ai-social-networks/
1•simonebrunozzi•28m ago•0 comments

Women Are More Likely Than Men to Endorse Political Violence

https://www.city-journal.org/article/women-political-violence-digital-online
1•MrBuddyCasino•29m ago•0 comments

Does AI have human-level intelligence? The evidence is clear

https://www.nature.com/articles/d41586-026-00285-6
2•Anon84•32m ago•0 comments

Skill-progress: Show off your skill levels with a progress bar in GitHub README

https://github.com/slimnate/skill-progress
1•slimnate•32m ago•0 comments

Show HN: Find viral video ideas on YouTube

https://viraloutlier.com
1•jklepatch•32m ago•0 comments

Planetary Roller Screws

https://www.humanityslastmachine.com/#planetary-roller-screws
1•everlier•32m ago•0 comments

Claude Sonnet 5 drops next week

https://twitter.com/ridvancan/status/2018132792110968916
2•bkolobara•36m ago•2 comments

Cryptic carnivores: why feline hair makes cats (Felis catus) look vegan

https://www.frontiersin.org/news/2026/02/03/cats-isotopic-fingerprint-fur-vegan
1•XzetaU8•39m ago•0 comments

NeXTWorld Interviews Bud Tribble (1994)

https://computeradsfromthepast.substack.com/p/nextworld-interviews-bud-tribble
1•rbanffy•42m ago•0 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
2•videotopia•43m ago•0 comments

Queue monitoring that catches issues early – Queuedash

https://www.queuedash.com
1•tilt•45m ago•0 comments