frontpage.
newsnewestaskshowjobs

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•1y 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•1y 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?

LoRA Speedrun – a public wall-clock leaderboard for fine-tuning techniques

https://github.com/Saivineeth147/lora-speedrun
1•Vineeth147•2m ago•0 comments

Pkgxray

https://github.com/adamsjack711-ux/pkgxray
1•jadamsl•2m ago•0 comments

Fractl.art – a fractal generator with 8 octillion different patterns

https://fractl.art
1•gilded-lilly•6m ago•1 comments

Israel Has a "Silicon Shield"

https://www.israeltechinsider.com/p/the-silicon-shield
1•chasil•7m ago•1 comments

Power companies are using eminent domain to seize land for data centers

https://fortune.com/2026/07/19/data-center-eminent-domain-public-use/
2•1vuio0pswjnm7•7m ago•0 comments

Japan logistics provider for Amazon to use JPYC stablecoin in operations

https://asia.nikkei.com/spotlight/cryptocurrencies/japan-logistics-provider-for-amazon-to-use-jpy...
1•mikhael•7m ago•0 comments

ICD-11

https://en.wikipedia.org/wiki/ICD-11
1•teleforce•18m ago•0 comments

AI Thinks the Internet Is Reddit. We Have 8,616 Answers Proving It

https://growtika.com/blog/reddit-ai-visibility-research
1•Growtika•19m ago•0 comments

Cultural Influence of Music as Propaganda (2025)

https://westpointpressjournals.westpoint.edu/index.php/iser/article/view/209
1•jayhoon•20m ago•0 comments

Created a free browser-based lyric video maker

https://deadmod.com/studio/
1•jimmyshoez•22m ago•1 comments

AI-Native Firms

https://download.ssrn.com/2026/6/9/6905079.pdf?response-content-disposition=inline&X-Amz-Security...
1•sonabinu•23m ago•0 comments

Rep Cammack says China has deployed 'digital twins' of every lawmaker

https://thehill.com/homenews/house/5970422-cammack-warns-china-ai-threat/
1•gscott•29m ago•0 comments

Tweet claiming Claude Fable 5 has helped disprove the Jacobian conjecture

https://twitter.com/__alpoge__/status/2079028340955197566
6•meowface•39m ago•2 comments

Show HN: Local-first CLI to make Obsidian vaults searchable for AI agents

https://github.com/nmdra/notebrain-cli
3•nmdra•39m ago•0 comments

Gmail AI Inbox

https://support.google.com/mail/answer/16845247?hl=en&co=GENIE.Platform%3DAndroid
2•thejacenxpress•42m ago•0 comments

Coding Skills Development Report

1•juntz•47m ago•1 comments

Tyler Cowen: The Future Belongs to AI Maniacs

https://www.thefp.com/p/tyler-cowen-ai-maniacs-future-economy
2•ripe•50m ago•0 comments

How you use AI AS HELPER?

1•anitroves•52m ago•0 comments

LLM Wiki Maintenance: Drift, Contradictions and Review

https://www.glukhov.org/knowledge-management/knowledge-systems-architectures/compiled-knowledge/l...
1•navigate8310•53m ago•0 comments

Lake Natron

https://en.wikipedia.org/wiki/Lake_Natron
2•toomuchtodo•53m ago•1 comments

WhaleTrack I track the biggest Polymarket bettors and grade them by consistency

https://whaletrack.app
2•whaletrack•53m ago•1 comments

The Brick Game, Through the Ages

https://nicole.express/2026/bricked-up-and-no-amontillado.html
2•zdw•55m ago•0 comments

Apple Is the King of AI and Nobody Knows It

https://limitededitionjonathan.substack.com/p/apple-is-the-king-of-ai-and-nobody
3•jinjin2•58m ago•2 comments

Autonomous AI Intrusions Are Here: Lessons from the Hugging Face Compromise

https://embracethered.com/blog/posts/2026/ai-intrusion-are-now-real/
3•Khaine•1h ago•0 comments

Reverse Compilation techniques – Cristina Cifuentes(1994) [pdf]

https://www.cs.tufts.edu/~nr/cs257/archive/cristina-cifuentes/DCC_decompilation_thesis.pdf
1•num42•1h ago•0 comments

Neural Drive, a SuperTuxKart World Model that runs in the browser

https://huggingface.co/codelion/neural-drive-model
1•codelion•1h ago•0 comments

How the Best Hackers Learn Their Craft(2018)

https://www.youtube.com/watch?v=6vj96QetfTg
1•num42•1h ago•0 comments

The Cost and Network Limits of Space-Based AI Compute

https://arxiv.org/abs/2607.14172
1•Jimmc414•1h ago•0 comments

Don't Predict, Prioritize: Rethinking GPU Reliability Assessment

https://arxiv.org/abs/2607.15115
1•Jimmc414•1h ago•0 comments

Getting nerd sniped by the h-index

https://davidxyu.substack.com/p/being-nerd-sniped-by-the-h-index
1•4thwaywastrel•1h ago•0 comments