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?

Show HN: Detailed Guide to Agent Memory

https://www.cognee.ai/agent-memory
1•vasa_•1m ago•0 comments

What reversing, modernising old games tells us about the economic impact of AI

https://this.os.isfine.org/blog/posts/what-reverse-engineering-and-modernising-an-old-war-game-te...
1•keeda•3m ago•1 comments

Claude Deleted 48k Files

https://web.archive.org/web/20260920145334/https://www.reddit.com/r/ClaudeAI/comments/1wl5cgo/cod...
5•gurjeet•9m ago•0 comments

344,799 Bible cross-references

https://trekhleb.dev/bible-cross-references/
1•trekhleb•12m ago•0 comments

Universe, Drawn in ASCII

https://gcdatlas.vercel.app/
1•abetusk•12m ago•1 comments

First ever 3D animation (40 year old 3D computer graphics Pixar 1972)

https://www.youtube.com/watch?v=T5seU-5U0ms
2•nmstoker•15m ago•0 comments

Things You Notice Rewatching Ed, Edd N Eddy as an Adult

https://noxluneworld.com/darkest-cartoon-network-episodes/
2•makic•16m ago•0 comments

If Frank Lloyd Wright's Falling Water Was a Tree House (2012)

https://weburbanist.com/2012/03/17/if-wrights-falling-water-were-a-tree-house/
2•WarOnPrivacy•36m ago•1 comments

Top AI companies probing security incidents

https://www.axios.com/2026/09/26/openai-anthropic-thousands-ai-security-incidents
3•Balgair•36m ago•0 comments

react-html-3.2

https://jkosoy.github.io/react-html-3.2/
1•jkosoy•37m ago•2 comments

Laser Weapons Will Be Deployed at Cape Canaveral Spaceport to Take Down Drones

https://www.twz.com/news-features/space-force-getting-lasers-to-kill-drones-over-cape-canaveral-s...
2•cisc•37m ago•0 comments

Interpolating Between Neural Networks

https://flx.ai/2026/interpolating-between-neural-networks
1•flxai•38m ago•0 comments

Allegations of sexual harassment and rape at Bay Area AI party houses

https://www.kron4.com/news/technology-ai/report-details-allegations-of-wild-parties-sexual-harass...
4•lukewarm707•58m ago•0 comments

The Duo. No, the Other Duo

https://morrick.me/archives/10418
2•_Microft•58m ago•0 comments

Ask HN: Any books, list of papers, or articles to understand LLM's

1•forkbomb123•1h ago•0 comments

BubbleRumble: The new social for crypto by Jae Kwon

https://bubblerumble.net
2•arielhavila•1h ago•2 comments

Show HN: Newt – A Swift Package for Jev-Style Decisions on Apple Core AI

https://github.com/willswire/swift-newt
2•willswire•1h ago•0 comments

Vibe coding a real product: a 3D game on the App Store, 20 species, zero revenue

https://apps.apple.com/us/app/dinomino/id6809052147
1•kodnuke•1h ago•0 comments

An Underappreciated Problem with Dating Apps

https://www.theatlantic.com/family/2026/09/dating-strategies-apps-matchmakers/688779/
1•paulpauper•1h ago•0 comments

Donald Trump Hit with 26 Articles of Impeachment

https://www.newsweek.com/donald-trump-hit-with-26-articles-of-impeachment-12492238
10•slater•1h ago•1 comments

>1B tokens/minute/GPU by combining query planner and inference engine

https://modal.com/blog/quail-billion-tpm
4•charles_irl•1h ago•1 comments

God's Eye UAP – documented UFO cases on a 3D globe, with the evidence

https://domw99.github.io/Gods-Eye-UAPs/
10•godseyeuap•1h ago•0 comments

This guy bought Amazon. No, I mean the rainforest

https://en.wikipedia.org/wiki/Johan_Eliasch
1•sans_souse•1h ago•0 comments

X Cleanup – on-device iPhone storage cleaner (duplicates, screenshots, videos)

https://apps.apple.com/us/app/x-cleanup-storage-cleaner/id6796765379
1•bashirmo•1h ago•0 comments

How to Entrain Your Circadian Rhythm for Jet Lag

https://www.exfatloss.com/p/how-to-entrain-your-circadian-rhythm
1•paulpauper•1h ago•0 comments

Tyler Cowen: A Doomsday Scenario for American AI

https://www.thefp.com/p/tyler-cowen-a-doomsday-scenario-for
1•paulpauper•1h ago•0 comments

Tcpcat: High-speed TCP port scanner in Go using eBPF and AF_XDP

https://github.com/NycolazSec/tcpcat
2•tcpcat•1h ago•0 comments

People Are Putting Their Phones Down for IRL Interactive Games

https://www.nytimes.com/2026/09/26/style/immersive-interactive-games-chicago-new-york.html
2•mikhael•1h ago•0 comments

Show HN: Withmcp – A quick, system-wide MCP toggle

https://github.com/lava/withmcp
1•HotHotLava•1h ago•0 comments

Solus Linux Adopts Formal AI and LLM Contribution Policy

https://linuxiac.com/solus-linux-adopts-formal-ai-and-llm-contribution-policy/
1•gpi•1h ago•0 comments