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•10mo 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•10mo 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: Agent Action Protocol (AAP) – MCP got us started, but is insufficient

https://github.com/agentactionprotocol/aap/
1•hank2000•42s ago•0 comments

Deveillance Spectre I blocks smart devices and AI recorders

https://twitter.com/aidaxbaradari/status/2028864606568067491
1•geekfactor•1m ago•0 comments

The Attention Tax

https://www.afox.dev/posts/the-attention-tax
1•wtfox•3m ago•0 comments

Attacks on GPS Spike Amid US and Israeli War on Iran

https://www.wired.com/story/gps-attacks-on-ships-spike-amid-the-us-and-israeli-war-on-iran/
1•speckx•3m ago•0 comments

Show HN: The Nova: Evolution for Evolution's Sake

https://fuchsia-broad-flamingo-157.mypinata.cloud/ipfs/bafybeihc6mom4oowr6afzofxi7gzpnrsi3smaruur...
1•Novaga•4m ago•0 comments

Justice Department Seeks to Reverse Course and Defend Law Firm Sanctions

https://www.wsj.com/us-news/law/justice-department-seeks-to-reverse-course-and-defend-law-firm-sa...
1•JumpCrisscross•4m ago•0 comments

Why MAGA suddenly loves solar power

https://www.washingtonpost.com/business/2026/03/02/katie-miller-solar-power-trump/
1•standeven•6m ago•0 comments

Show HN: RUOK – Self-hosted personal OKR system with AI-powered analytics

https://github.com/zli117/RUOK/
1•lzl1234•7m ago•0 comments

Show HN: VibePod CLI – Run AI agents with isolation and better observability

https://vibepod.dev/
1•nezhar•8m ago•0 comments

Block's Jack Dorsey thinks AI can do 40% of his job

https://www.theguardian.com/technology/2026/mar/03/jack-dorsey-block-ai-worker-jobs
2•skor•10m ago•0 comments

Show HN: A runtime authorization layer for AI agents

2•rkka•10m ago•0 comments

Bash Is Not Enough: Why Large-Scale CI Needs an Orchestrator

https://www.iankduncan.com/engineering/2026-02-06-bash-is-not-enough/
2•PaulHoule•13m ago•0 comments

Why Your Company's Digital Sovereignty Is a House of Cards

https://medium.com/@gastonbehar/why-your-companys-digital-sovereignty-is-a-house-of-cards-556b31c...
2•gastonbehar•13m ago•1 comments

Why Test Environments Fail and What Top Teams Do to Avoid the Chaos

https://sdtimes.com/test/why-test-environments-fail-and-what-top-teams-do-to-avoid-the-chaos/
2•mikece•13m ago•0 comments

Easterlin Paradox

https://en.wikipedia.org/wiki/Easterlin_paradox
2•gessha•14m ago•0 comments

Claude is an Electron App because we've lost native

https://tonsky.me/blog/fall-of-native/
2•todsacerdoti•14m ago•0 comments

Show HN: OculOS – Any desktop app as a JSON API via OS accessibility tree

https://github.com/huseyinstif/oculos
2•stif1337•14m ago•0 comments

Nvidia-backed Ayar Labs raises $500M at $3.75B valuation

https://www.reuters.com/technology/nvidia-backed-ayar-labs-raises-500-million-375-billion-valuati...
3•abe94•14m ago•0 comments

Show HN: Xenith.ai – Web Assembly Based Voice Assistant with WebLLM/Whisper/VITS

https://xenith.ai
2•cppshane•15m ago•0 comments

Show HN: Embed a dedication page directly inside DRM-free EPUBs

https://ebookfrom.me/
2•dnmellen•15m ago•0 comments

Activist investor Elliott boosts stake in Pinterest by $1B

https://www.reuters.com/sustainability/sustainable-finance-reporting/activist-investor-elliott-ta...
2•abe94•15m ago•0 comments

Accenture acquires Downdetector as part of $1.2B deal

https://www.theregister.com/2026/03/03/accenture_buys_ookla_downdetector_ziff_davis/
1•mikece•16m ago•0 comments

Pour Your Soul In – An Ode to Engineering

https://www.tyleo.com/blog/pour-your-soul-in
1•tyleo•16m ago•1 comments

Smee.io: Webhook payload delivery service

https://github.com/probot/smee.io
1•Lwrless•16m ago•0 comments

Google Chrome is switching to a two-week release cycle

https://9to5google.com/2026/03/03/chrome-two-week-updates/
2•mikece•17m ago•0 comments

'MacBook Neo' briefly appears on Apple's regulatory website

https://appleinsider.com/articles/26/03/03/apple-itself-has-leaked-a-macbook-neo
2•alwillis•18m ago•0 comments

EFF to Supreme Court: Shut Down Unconstitutional Geofence Searches

https://www.eff.org/press/releases/eff-supreme-court-shut-down-unconstitutional-geofence-searches
2•hn_acker•20m ago•0 comments

Using Nix with Dockerfiles (2023)

https://mitchellh.com/writing/nix-with-dockerfiles
1•apitman•20m ago•0 comments

Show HN: NoteCat – Record, Transcribe, Summarize Discord Voice Channels

https://notecat.fyi
2•h4rris•21m ago•0 comments

Everything Al Does

https://yousefamar.com/memo/log/2026-03-01-12-36-55/
1•speckx•22m ago•0 comments