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•9mo 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•9mo 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: Detecting coordinated financial narratives with embeddings and AVX2

1•ManuelGomes•2m ago•0 comments

Pi.dev: There are many coding agents, but this one is mine

https://pi.dev/
1•ozonhulliet•4m ago•0 comments

Show HN: PaperLab – Markdown editor that deliberately does less

1•kyleslight•6m ago•0 comments

Is a secure AI assistant possible?

https://www.technologyreview.com/2026/02/11/1132768/is-a-secure-ai-assistant-possible/
1•Brajeshwar•7m ago•0 comments

Apple and Google pledge not to discriminate against third-party apps in UK deal

https://www.theguardian.com/technology/2026/feb/10/apple-google-third-party-apps-app-store
1•Brajeshwar•8m ago•0 comments

The big AI job swap: why white-collar workers are ditching their careers

https://www.theguardian.com/technology/2026/feb/11/big-ai-job-swap-white-collar-workers-ditching-...
1•Brajeshwar•8m ago•0 comments

Thanks to AI, we can play a Roman game again

https://www.maastrichtuniversity.nl/news/thanks-ai-we-can-play-roman-game-again
1•Someone•10m ago•0 comments

Show HN: A calorie explorer for 5,796 foods (1–900 kcal)

https://mealjar.app/nutritional-facts
2•melvinzammit•17m ago•0 comments

The Role of Gas in Powering AI-Driven Energy Demand

https://www.igu.org/igu-reports/the-role-of-gas-in-powering-ai-driven-energy-demand
1•robin_reala•24m ago•0 comments

Show HN: AI that replaces the first 15 minutes of every client call

https://www.myclone.is/
3•vira28•24m ago•0 comments

DeepWiki and Increasing Malleability of Software

https://twitter.com/karpathy/status/2021633574089416993
1•ipnon•25m ago•0 comments

Inertia raises $450M to commercialize the only proven fusion science

https://finance.yahoo.com/news/inertia-raises-450-million-commercialize-133000927.html
2•conroy•25m ago•0 comments

When to Do What You Love

https://www.paulgraham.com/when.html
1•tosh•25m ago•0 comments

Something I believe to be true with the AI platform shift

https://twitter.com/stevesi/status/2021701369640759601
1•tosh•26m ago•0 comments

Introducing Pure Blog

https://kevquirk.com/introducing-pure-blog
2•Curiositry•27m ago•0 comments

Show HN: Building an open-source Google Scholar / Consensus alternative

https://github.com/QuriousAI/qurious
1•nexwastaken•27m ago•0 comments

The tools changed because the job changed

https://sjdonado.com/posts/2026-02-11-changes-in-my-developer-setup/
1•sjdonado•28m ago•1 comments

Show HN: The "Vat of Fluid" Model–Solving 7Systems Paradoxes ViaFirst Principles

1•michbroo•31m ago•0 comments

Choose wisely what you read (2020)

https://www.openculture.com/2020/12/carl-sagan-on-the-importance-of-choosing-wisely-what-you-read...
3•andsoitis•31m ago•0 comments

Staying on Top in the Age of LLMs

https://andrasgerlits.medium.com/staying-on-top-in-the-age-of-llms-818400f8ff0a
1•andras_gerlits•31m ago•0 comments

Show HN: Global Solo – Structural risk diagnostic for cross-border solo founders

https://www.globalsolo.global
1•jettfu•31m ago•0 comments

Why Modern Chinese Is Just 'English with Hanzi'

https://jingyu1623.substack.com/p/why-modern-chinese-is-just-english
3•United857•32m ago•0 comments

Carl Sagan's Baloney Detection Kit: Tools for Thinking Critically (2025)

https://www.openculture.com/2025/09/the-carl-sagan-baloney-detection-kit.html
2•nobody9999•32m ago•1 comments

Instagram chief likens social media addiction to being hooked on a Netflix show

https://www.cnbc.com/2026/02/11/meta-trial-instagram-mosseri-social-media-addiction.html
1•1vuio0pswjnm7•34m ago•1 comments

Show HN: PrintStack – macOS virtual printer to queue and merge PDFs

https://apps.apple.com/us/app/printstack-virtual-printer/id6758392188?mt=12
1•ismailcarlik•34m ago•2 comments

Ask HN: The role of trade unions in tech whistleblowing?

1•bm371613•35m ago•0 comments

Digitizing the "Shokunin": How we encoded a Master's hammer strike into AI

https://yusukekaizen.substack.com/p/the-mathematics-of-intuition-how
2•yusukekaizen•37m ago•2 comments

Ask HN: What are you working on this Thursday?

2•Sayyidalijufri•42m ago•1 comments

Show HN: Free, private developer tools in the browser

https://www.devutilityhub.me/
1•badboyshah•44m ago•0 comments

Sefaria – Torah Study Site

https://www.sefaria.org/texts
2•marysminefnuf•45m ago•1 comments