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 Did Japan's Space Program Evolve?

https://thediplomat.com/2026/02/how-did-japans-space-program-evolve/
1•jyunwai•18s ago•0 comments

The Agent-Ready Codebase

https://bagerbach.com/blog/agent-ready-codebase/
1•bagerbach•3m ago•0 comments

Apple Rolls Out Age Verification to UK iPhone Users Under Online Safety Act

https://reclaimthenet.org/apple-rolls-out-age-verification-to-uk-iphone-users-under-online-safety...
1•uyzstvqs•3m ago•0 comments

The 2026 Global Intelligence Crisis

https://www.citadelsecurities.com/news-and-insights/2026-global-intelligence-crisis/
1•walterbell•7m ago•0 comments

Show HN: Deff – Review AI-generated code changes

https://github.com/flamestro/deff
1•flamestro•7m ago•0 comments

Sparky – useful 'living' OpenClaw bot

https://alexisgallagher.com/posts/2026/hello-sparky/
1•capncleaver•9m ago•1 comments

What Happened to Molecular Manufacturing?

https://latecomermag.com/article/what-happened-to-molecular-manufacturing/
1•ravenical•13m ago•0 comments

Specification; communication; computation – no, programming isn't dead

https://twey.io/llm-programming/
1•Twey•15m ago•0 comments

Larry Page has moved to Florida

https://twitter.com/paulg/status/2026737030257062253
1•jmeister•15m ago•0 comments

Apple brings age verification to UK users in iOS 26.4 beta

https://www.theverge.com/tech/884306/apple-age-verification-uk-users-ios-26-4-beta
1•turrini•17m ago•0 comments

Possible AI use leads to end of senryu competition after 20 years

https://www.japantimes.co.jp/news/2026/02/24/japan/japan-ai-senryu-poetry-writing/
2•haunter•19m ago•0 comments

Show HN: Clerk – Simple invoicing for freelancers built with AI agents in 7 days

https://clerkfinance.com/
1•radolang•20m ago•1 comments

Why Your Next Electric Car Will Cost 50% Less [video]

https://www.youtube.com/watch?v=6ecV9Yu7YvA
1•zeristor•22m ago•2 comments

Show HN: Provision Stateless GPU Compute with Claude Code's Remote Control

https://github.com/theoddden/terradev-mcp
1•Facingsouth•22m ago•0 comments

Show HN: Edictum – Runtime governance for LLM agent tool calls

1•acartag7•23m ago•0 comments

Outage of Coveralls

https://status.coveralls.io
1•sega_sai•25m ago•0 comments

Getting Global Age Assurance Right: What We Got Wrong and What's Changing

https://discord.com/blog/getting-global-age-assurance-right-what-we-got-wrong-and-whats-changing
1•Alupis•27m ago•0 comments

Tldraw moves tests to closed source to avoid AI copies

https://simonwillison.net/2026/Feb/25/closed-tests/
1•jbernardo95•28m ago•0 comments

Tech firms aren't just encouraging their workers to use AI. They're enforcing it

https://www.msn.com/en-us/money/other/tech-firms-aren-t-just-encouraging-their-workers-to-use-ai-...
3•smurda•28m ago•0 comments

The first transatlantic fiber-optic cable is being ripped up

https://www.tomshardware.com/tech-industry/the-worlds-first-transatlantic-fiber-optic-cable-is-be...
2•gnfargbl•30m ago•0 comments

Live – AI that runs your company

https://polsia.com/live
1•seyz•31m ago•0 comments

Fix cron routes: POST → GET (Vercel cron sends GET)

1•nishiohiroshi•33m ago•0 comments

Show HN: OrangeWalrus, an aggregator for trivia nights (and other events) in SF

https://www.orangewalrus.com/
2•gjtrowbridge•33m ago•0 comments

Banned in California

https://www.bannedincalifornia.org/
87•pie_flavor•34m ago•57 comments

What AI can and cannot do

https://greyenlightenment.com/2026/02/23/what-ai-can-and-cannot-do/
2•paulpauper•35m ago•0 comments

Tetraethylenepentamine-Grafted Magnetic Polymer Composite for CO2 Capture

https://www.mdpi.com/2297-8739/13/2/56
1•PaulHoule•36m ago•0 comments

Anthropic and the Department of War

https://thezvi.substack.com/p/anthropic-and-the-department-of-war
7•paulpauper•37m ago•1 comments

Show HN: Unworldly – A flight recorder for AI agents (tamper-proof, HIPAA)

https://github.com/DilawarShafiq/unworldly
1•dilawargopang•37m ago•0 comments

Buying News by Metric

https://www.overcomingbias.com/p/buying-news-by-metric
1•paulpauper•37m ago•0 comments

Ask HN: What will happen with Anthropics ultimatum?

2•maniacwhat•38m ago•0 comments