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•7mo 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•7mo 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?

The Great Re-Aggregation: Vertical AI and the Battle for the Control Point

https://medium.com/@gp2030/the-great-re-aggregation-vertical-ai-service-as-software-and-the-battl...
1•light_triad•1m ago•0 comments

Ask HN: What app/website do you think should exist? (non-AI)

1•DinakarS•1m ago•0 comments

PBS News Hour West to go dark after ASU discontinues contract

https://www.statepress.com/article/2025/12/politics-pbs-newshour-west-closure
1•heavyset_go•2m ago•0 comments

Ask HN: Has your iPhone Safari been hijacked by ChatGPT?

1•dalemhurley•3m ago•0 comments

Evolution by Natural Induction

https://royalsocietypublishing.org/rsfs/article/15/6/20250025/366156/Evolution-by-natural-induction
1•Anon84•5m ago•0 comments

Computational prediction of human genetic variants in the mouse genome

https://www.nature.com/articles/s41587-025-02925-0
1•bookofjoe•5m ago•0 comments

The Most Dangerous Spot on Caltrain

https://valuetowndotjson.substack.com/p/the-most-dangerous-spot-on-caltrain
1•panic•5m ago•0 comments

The Present and Future of HPC Networking with Cornelis Networks CEO Lisa Spelman

https://chipsandcheese.com/p/sc25-the-present-and-future-of-hpc
1•rbanffy•8m ago•0 comments

The Model T of Agentic AI was Introduced in 2025

https://backnotprop.substack.com/p/the-model-t-of-agentic-ai-was-introduced
1•ramoz•16m ago•0 comments

Controversial Dakota Pipeline Gets a Big, Belated Government Boost

https://www.nytimes.com/2025/12/19/climate/dakota-access-pipeline-greenpeace-energy-transfer-army...
1•geox•17m ago•0 comments

What building a Package Manager taught me

1•xerrs•19m ago•0 comments

Humanoid Robots for War and Work: Startup Plans to Build 50K by End of 2027

https://www.forbes.com/sites/johnkoetsier/2025/12/16/humanoid-robots-for-war-and-work-startup-pla...
1•rmason•20m ago•0 comments

Building Slatron: The Digital TV Scheduling and Automation System

https://justinwoodring.com/blog/introducing-slatron/
1•lukastyrychtr•23m ago•0 comments

Shoshana Zuboff: 'AI is surveillance capitalism continuing to evolve and expand'

https://english.elpais.com/technology/2025-12-15/shoshana-zuboff-philosopher-ai-is-surveillance-c...
4•hhs•25m ago•0 comments

Show HN: Promptty – AI Prompt Manager for iOS

https://apps.apple.com/us/app/promptty-ai-prompt-manager/id6751414013
1•haXiscz•25m ago•1 comments

GEMM Performance Optimization Across Generations of Ryzen AI NPUs

https://arxiv.org/abs/2512.13282
1•fenced_load•26m ago•0 comments

Samsung Investigating Whether Employees Accepted Kickbacks for Memory Orders

https://www.pcmag.com/news/samsung-investigating-whether-employees-accepted-kickbacks-for-memory-...
2•alecco•28m ago•0 comments

A visualizer for BPF program state

https://lwn.net/Articles/1050585/
2•todsacerdoti•32m ago•0 comments

Senators Want to Hold Open Internet Hostage, Demand Meta Write the Ransom Note

https://www.techdirt.com/2025/12/19/senators-want-to-hold-the-open-internet-hostage-demand-zucker...
2•hn_acker•33m ago•2 comments

2 Days with Gemini-3-flash, def a good model

https://bsky.app/profile/verdverm.com/post/3maetqcc4722f
1•verdverm•33m ago•0 comments

The Weird OS Built Around a Database [video]

https://www.youtube.com/watch?v=pWZBQMRmW7k
1•rickcarlino•33m ago•0 comments

Show HN: Faithful Today: A Privacy-First Journaling App (No Cloud, Local Storage

https://www.faithfultoday.com/
2•sbworker•36m ago•1 comments

QuickCurrency – Free currency converter with no sign-up required

https://quickcurrency.net/
1•DDARJEAN•39m ago•0 comments

Trump signs executive order to reclassify marijuana as a Schedule III drug

https://www.cbsnews.com/news/trump-order-reclassifying-marijuana-schedule-iii-drug-expected/
9•mhb•39m ago•1 comments

GoRules: Open-source Business Rules Engine for your applications

https://gorules.io/
1•nateb2022•41m ago•0 comments

At least $9B billed across 14 Medicaid services in Minnesota may be fraudulent

https://www.cbsnews.com/minnesota/news/billions-paid-out-by-medicaid-in-minnesota-may-be-fraudule...
21•mhb•44m ago•3 comments

Miracle the Dota Goat

https://liquipedia.net/dota2/Miracle-
3•marysminefnuf•45m ago•0 comments

Oxygen Are Two Percent

https://substack.com/inbox/post/182119856
4•kawrydav•46m ago•0 comments

Windows Notepad adds support for formatting, rolling out to Windows Insiders

https://blogs.windows.com/windows-insider/2025/11/21/notepad-update-begins-rolling-out-to-windows...
3•CallMeJim•47m ago•0 comments

Connect: Protobuf RPC That Works

https://connectrpc.com/
1•nateb2022•48m ago•0 comments