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?

TigerFS – A Filesystem Backed by PostgreSQL

https://tigerfs.io
1•hahahacorn•22s ago•0 comments

Horizon Worlds Is Dropping VR Support, Going Flatscreen-Only

https://www.uploadvr.com/meta-horizon-worlds-dropping-vr-support/
1•tosh•46s ago•0 comments

Aliens.gov

https://defensescoop.com/2026/03/18/white-house-registers-new-alien-gov-domains-ufo-uap/
1•warthog•2m ago•0 comments

Igbo-Ora, the scientific enigma of the 'twin capital of the world'

https://english.elpais.com/international/2026-03-12/igbo-ora-the-scientific-enigma-of-the-twin-ca...
1•bookofjoe•3m ago•0 comments

Show HN: Browser-based ECU tuning editor for VAG Simos 18 / DQ250

https://theflashbold.github.io/tune-editor/
1•TheFlashBold•5m ago•0 comments

NemoClaw vs. Grith: Sandbox for One Agent vs. Security for All

https://grith.ai/blog/nemoclaw-vs-grith-ai-agent-security
2•edf13•7m ago•0 comments

Show HN: Crossle – Scrabble meets crossword game

https://playcrossle.com/
1•enahs-sf•7m ago•2 comments

Cindy Cohn on Privacy Battles Old and New

https://lwn.net/SubscriberLink/1061979/3d095580f34f5310/
1•dannyobrien•9m ago•0 comments

Pictures of Distant Worlds [video]

https://www.youtube.com/watch?v=Sl4j9mlRjQE
1•superjan•9m ago•0 comments

Treetable: a case-study in q

https://web.archive.org/web/20220418084435/http://archive.vector.org.uk/art10500340
1•tosh•10m ago•0 comments

Ask HN: How to Evaluate IP Dataset?

1•punkpeye•10m ago•0 comments

DNSSEC for Research.gov Is Hosed

https://dnsviz.net/d/research.gov/dnssec/
1•krunck•11m ago•0 comments

Travis Kalanick's New Thing

https://atoms.co/
1•sanj•11m ago•0 comments

Why Testing is Hard and How to Fix it [audio]

https://signalsandthreads.com/why-testing-is-hard-and-how-to-fix-it/
1•mmillin•14m ago•0 comments

XPFarm; Open-source vulnerability scanner wrapping community tools and Multi-LLM

https://github.com/A3-N/xpfarm
1•A3-N•16m ago•1 comments

Can Nvidia's Dominance Survive the Sea Change Under Way in AI Computing?

https://www.wsj.com/tech/ai/can-nvidias-dominance-survive-the-sea-change-under-way-in-ai-computin...
1•gmays•16m ago•0 comments

What Determines Which Knowledge Work AI Can Automate

https://pattersonconsultingtn.com/content/hitchhikers_guide_kw/cognitive_labor.html
1•jpattanooga•18m ago•1 comments

Improved EV battery gains will outmatch degradation from climate change

https://techxplore.com/news/2026-03-ev-battery-gains-outmatch-degradation.html
2•PaulHoule•18m ago•0 comments

I Drove $31M in Bookings as a Consultant. The System Said I Needed Improvement

https://www.briancarpio.com/blog/i-drove-31m-in-bookings-the-system-said-i-needed-improvement
2•th3tekllc•20m ago•1 comments

Your Brain Rewrites Your Memories Each Time You Recall Them - Study

https://thedebrief.org/your-brain-rewrites-your-memories-each-time-you-recall-them-new-study-finds/
1•thunderbong•21m ago•0 comments

Why investors won't know what to make of AI for a while

https://www.economist.com/finance-and-economics/2026/03/12/why-investors-wont-know-what-to-make-o...
2•1vuio0pswjnm7•23m ago•0 comments

Built an AI employee that handles customer follow-ups for local businesses

https://usetrellis.polsia.app/
1•trellisai•26m ago•0 comments

OpenAI Japan announces Japan Teen Safety Blueprint to put teen safety first

https://openai.com/index/japan-teen-safety-blueprint
1•surprisetalk•26m ago•0 comments

The Myth of Never Giving Up

https://marcrandolph.substack.com/p/the-myth-of-never-giving-up
4•theorchid•27m ago•2 comments

Go SDK for Claude Agents

https://github.com/character-ai/claude-agent-sdk-go
1•nateb2022•28m ago•0 comments

Apiark: Open-Source Postman Alternative

https://github.com/berbicanes/apiark
1•adamnemecek•28m ago•0 comments

Golem and Pygmalion effects – traps to avoid as an Engineering Manager

https://medium.com/doctolib/golem-and-pygmalion-effects-traps-to-avoid-as-an-engineering-manager-...
2•rognjen•28m ago•0 comments

Show HN: StatusOK – Uptime monitoring with 1-minute checks on the free tier

https://statusok.dev
1•condorave•31m ago•0 comments

Deal to stop algorithmic price-fixing of apartment rentals leaves out renters

https://www.courthousenews.com/greystar-agrees-to-stop-price-fixing-but-renters-left-out-of-deal/
3•frmersdog•31m ago•0 comments

Show HN: How to cache your codebase for AI agents

https://github.com/kaanozhan/Frame
1•kozhan•35m ago•0 comments