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?

Two GitHub accounts, one machine

https://dineshpandiyan.com/blog/two-github-accounts-one-machine/
1•flexdinesh•2m ago•0 comments

AI bug reports went from junk to legit overnight, says Linux kernel czar

https://www.theregister.com/2026/03/26/greg_kroahhartman_ai_kernel/
1•RandomPenguin•4m ago•0 comments

'Worse-case' CAP shortages threaten the Tucson aquifer's delicate balance (2022)

https://tucson.com/news/local/article_58d33da6-aaad-11eb-99a1-57252344b119.html
1•mooreds•4m ago•0 comments

Media Bias Chart Gallery – Public – Ad Fontes Media

https://adfontesmedia.com/gallery/
1•rbanffy•5m ago•0 comments

Elevated error rates on Opus 4.6

https://status.claude.com/incidents/b9802k1zb5l2
1•nstj•8m ago•0 comments

Embeddable Common Lisp 26.3.27 release

https://ecl.common-lisp.dev/posts/ECL-26327-release.html
2•jackdaniel•10m ago•0 comments

NASA races to have the first moon base and nuclear-propulsion spacecraft

https://www.sciencenews.org/article/nasa-moon-base-nuclear-propulsion-spacecraft
2•majkinetor•10m ago•0 comments

Show HN: Pyconject – Ditch messy YAML loading in Python with config injection

https://github.com/neolaw84/pyconject
1•neolaw•14m ago•1 comments

TDD Makes a Lot of Sense with Agentic Development

1•shellerik•15m ago•0 comments

Show HN: Clipboard-MCP – System clipboard access for AI assistants

https://github.com/mnardit/clipboard-mcp
1•MaxNardit•16m ago•0 comments

Universal package repository SaaS Repsy announces the open source version

1•repsy•16m ago•0 comments

We're Building God with Technology

https://davidbramante.substack.com/p/were-building-god-with-technology
1•davidbramante•18m ago•0 comments

A Car Powered Using 500 Disposable Vape Batteries [video]

https://www.youtube.com/watch?v=HwoZg3BCigU
1•DropDead•21m ago•0 comments

Show HN: FlöFuel – cycling nutrition app that plans around your actual products

https://apps.apple.com/us/app/fl%C3%B6fuel/id6759410434
1•kikibobo69•23m ago•1 comments

Zipf's Law

https://en.wikipedia.org/wiki/Zipf%27s_law
1•_tk_•24m ago•0 comments

GitHub hits CTRL-Z, decides it will train its AI with user data after all

https://www.theregister.com/2026/03/26/github_ai_training_policy_changes/
1•cmsefton•26m ago•1 comments

The most inaccessible site possible with a perfect Lighthouse score (2019)

https://www.matuzo.at/blog/building-the-most-inaccessible-site-possible-with-a-perfect-lighthouse...
1•mooreds•26m ago•0 comments

Ask HN: Have you broke you OpenStreetMap Foundation tiles by blocking referer?

1•matkoniecz•27m ago•0 comments

I built a new composite qualitative metric

https://www.elenaverna.com/p/how-i-built-a-new-composite-qualitative
1•mooreds•27m ago•0 comments

How Well Does My AI Agent Know Me?

https://hexaco-agent.vercel.app/
1•hunglee2•29m ago•0 comments

Why New F-35 Lightning II Stealth Fighters Are Arriving Without Radars

https://www.19fortyfive.com/2026/03/flying-blind-why-new-f-35-lightening-ii-stealth-fighters-are-...
1•RustyBucket•30m ago•0 comments

"Ironies of Automation (1983)"

https://fermatslibrary.com/p/028c7a80
1•dstrbad•32m ago•1 comments

Nixbook OS: A set-and-forget modern operating system designed for simplicity

https://nixbookos.org/
1•severine•34m ago•0 comments

Roundtables: The Next Era of Space Exploration

https://www.technologyreview.com/2026/03/25/1134664/roundtables-the-next-era-of-space-exploration/
1•joozio•36m ago•0 comments

One CLI, Two Audiences: How We Built for Agents and Humans

https://www.checklyhq.com/blog/agentic-cli/
1•tnolet•39m ago•0 comments

Platform Factors

https://docs.google.com/document/d/1V1ESrJ0AZagEtlknZBuhiLjJEau-8jLo5UmsdAmG9NA/edit?tab=t.0#head...
1•mooreds•43m ago•0 comments

Show HN: Replay – A private, on-device Google Timeline replacement for iOS

https://replayapp.jaxtam.dev
1•EnhancedJax•43m ago•0 comments

SQL Interviews in the Age of LLMs: Patterns over Queries

https://www.datobra.com/sql-interviews-in-the-age-of-llms-patterns-over-queries/
2•olgazju•44m ago•0 comments

Anthropic left details of an unreleased model sitting in an unsecured data trove

https://fortune.com/2026/03/26/anthropic-leaked-unreleased-model-exclusive-event-security-issues-...
1•guessmyname•45m ago•0 comments

The Flawed Ephemeral Software Hypothesis

https://www.blackhc.net/essays/future_of_software/
3•bumbledraven•49m ago•0 comments