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

AI Garden Design Software for Homeowners

https://hadaa.pro/
1•Fh_•2m ago•1 comments

A FOSS Pocket/Instapaper/Wallabag Alternative with OPDS Support Written in Go

https://readeck.org/en/
1•Curiositry•2m ago•0 comments

Example-Custom-GitHub-Action

https://github.com/x-504/example-custom-github-action
1•asteriskeng•5m ago•0 comments

Show HN: llmnop – Rust CLI for benchmarking LLM endpoints

https://github.com/jpreagan/llmnop
1•jpreagan•10m ago•0 comments

The AI Learning Platform That You Need

https://www.brighteraai.fun/
1•sepiol350•12m ago•0 comments

'Blind into Caracas' – By James Fallows

https://fallows.substack.com/p/blind-into-caracas
1•MaysonL•13m ago•0 comments

Show HN: LoongFlow – An evolutionary framework for self-optimizing Agents

https://github.com/baidu-baige/LoongFlow
1•FreshmanD•18m ago•1 comments

Databases in 2025: A Year in Review

https://www.cs.cmu.edu/~pavlo/blog/2026/01/2025-databases-retrospective.html
3•viveknathani_•28m ago•0 comments

Show HN: I built ZoneBar – a macOS menu bar app to see all your time zones

https://apps.apple.com/ca/app/zonebar-time-zones/id6756977321?mt=12
1•fx31xo•29m ago•0 comments

Microsoft Has a Nickname "Microslop"

3•DinakarS•31m ago•3 comments

Show HN: Live VNC for web agents – debugging native captcha on Cloud Run

https://www.rtrvr.ai/blog/live-vnc-takeover-serverless-chrome
2•quarkcarbon279•33m ago•1 comments

Now you can star Wallabag entries from the comfort of your Kobo e-reader

https://www.autodidacts.io/star-wallabag-entry-from-koreader/
2•Curiositry•34m ago•0 comments

A spider web unlike any seen before (2025)

https://www.nytimes.com/2025/11/08/science/biggest-spiderweb-sulfur-cave.html
4•juanplusjuan•36m ago•1 comments

Show HN: A diagnostic report for students studying math

https://books.innings2.com/pages/cbse_math_worksheets.html
1•nutanc•38m ago•0 comments

LLMs Are Currently Not Helpful at All for Math Research: Hamkins

https://officechai.com/ai/llms-are-currently-not-helpful-at-all-for-math-research-give-garbage-an...
15•ablaba•41m ago•6 comments

Estonian telecoms: Restricting fake numbers is not a magic wand

https://news.err.ee/1609897250/estonian-telecoms-restricting-fake-numbers-is-not-a-magic-wand
1•marklit•43m ago•0 comments

Why Precision and Recall Matter More Than Ever in Agentic Systems

https://kulekci.medium.com/why-precision-and-recall-matter-more-than-ever-in-agentic-systems-4973...
1•kulekci•44m ago•0 comments

Show HN: NetDiag.Dev – Website Connectivity Diagnostics API

https://netdiag.dev/
1•xakpc•44m ago•0 comments

Securing Agentic AI Fundamentals – No BS Guide – Part 1

https://www.subhashdasyam.com/2025/12/securing-agentic-ai-architecture.html
1•dxsecarch•47m ago•0 comments

Show HN: An interpretable "taste map" of my Spotify library

https://apmoverflow.xyz/on-dimensions-of-taste/
1•IslamTayeb•49m ago•0 comments

Language Is the New UI

https://bytesauna.com/post/language-user-interface
1•mapehe•50m ago•1 comments

The Several Million Dollar Bug (2014)

https://jacquesmattheij.com/the-several-million-dollar-bug/
1•harryday•51m ago•0 comments

Show HN: Bank Parser – Convert Chase/Boa PDFs to QuickBooks Excel (99% Accuracy)

https://bank-parser.com
1•zetbaur•53m ago•0 comments

Wallabag Instance List

https://www.autodidacts.io/wallabag-instance-list/
1•Curiositry•55m ago•0 comments

End of Life for Lightstep/Cloud Observability, March 1, 2026

https://docs.lightstep.com/changelog/eol-notice
1•zdkaster•55m ago•0 comments

The Closed-Loop Manifesto

https://jakefeala.substack.com/p/the-closed-loop-manifesto
1•bifftastic•1h ago•0 comments

Show HN: Blimp – AI-Native Productivity Suite to Unify Your Tools

https://getblimpy.cloud
1•Gabiro_Arnauld•1h ago•0 comments

Itanium

3•topspin•1h ago•1 comments

E Series of Preferred Numbers

https://en.wikipedia.org/wiki/E_series_of_preferred_numbers
3•thunderbong•1h ago•0 comments

Speed test pits six generations of Windows against each other

https://www.tomshardware.com/software/windows/speed-test-pits-six-generations-of-windows-against-...
2•XzetaU8•1h ago•0 comments