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?

Show HN: Privacy-first JSON/YAML toolkit – 100% client-side, no server

https://tools.pinusx.com
1•dbhariprakash•1m ago•0 comments

Show HN: We ran a test–92% of local businesses don't show up in AI answers

https://getchatalyst.com/
1•Chatalyst•1m ago•0 comments

Email Writer – a tiny AI tool to write better emails, instantly

https://tryemailwriter.com/
1•mddanishyusuf•3m ago•0 comments

Ask HN: Freelance Qt C++

2•shchess•5m ago•0 comments

India to slash tariffs on cars to 40% in trade deal with EU

https://www.reuters.com/world/india/india-slash-tariffs-cars-40-trade-deal-with-eu-sources-say-20...
1•petethomas•9m ago•0 comments

Am I the only one who switches between ChatGPT, Gemini, and Claude?

https://twitter.com/oswarld_oz/status/2015432998406226289
1•haebom•11m ago•0 comments

TurboKV: A fast, embedded key-value store in Rust

https://github.com/hanshiro-dev/turbokv
1•rgbimbochamp•12m ago•0 comments

Ask HN: Running UPDATEs in production always feels heavier than it should

2•Lucy_Bai•13m ago•0 comments

The Space Propulsion Tier List [video]

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

The Chip Technology That Gives Intel an Edge over TSMC

https://www.fool.com/investing/2026/01/21/the-chip-technology-that-finally-gives-intel-an-ed/
1•alhazrod•21m ago•1 comments

An open source service to manage Dismissible UI state

https://dismissible.io
1•crimsonronin•22m ago•1 comments

Openhouse.openai.org

https://openhouse.openai.org/
2•chowYunSlim•25m ago•0 comments

Show HN: Deploy backends without the hassle. An Open source alternative

https://www.shorlabs.com/
1•tarzenyinc•26m ago•0 comments

I fine-tuned a 0.5B LLM to classify support tickets for $10/month

https://silentworks.tech/test
1•molchanovartem•28m ago•1 comments

You Need to Clear Your Coding Agent's Context Window

https://willness.dev/blog/one-session-per-task
2•augusteo•30m ago•0 comments

Open Access vs. Open Excess

https://blog.doaj.org/2026/01/26/open-access-vs-open-excess-doaj-and-ai-scraper-bots/
1•jruohonen•31m ago•0 comments

The Oracle's Paradox – AI-Created Interactive Fiction

https://mkrolick.github.io/oracles-paradox/
1•mkrolick•32m ago•0 comments

What Is an AI/ML Success Architect?

https://yanirseroussi.com/2026/01/26/what-is-an-ai-ml-success-architect/
1•yanir•32m ago•0 comments

WhatsApp is working on a subscription plan to avoid ads in the Updates tab

https://wabetainfo.com/whatsapp-beta-for-android-2-26-3-9-whats-new/
1•tcfhgj•34m ago•0 comments

What's New in Pandas 3

https://datapythonista.me/blog/whats-new-in-pandas-3
1•datapythonista•36m ago•0 comments

India confirmed 5 cases of Nipah virus (mortality rate of up to 75%, no cure)

https://twitter.com/i/status/2015444837332574603
3•seinecle•38m ago•1 comments

AI Story Generator with Pictures

https://www.genstory.app/story-template/image-story-generator
1•RyanMu•50m ago•1 comments

Who is hiring Software Engineering Experts for AI research collaborations

https://work.mercor.com/jobs/list_AAABm4Du-0oSjmvox2ZPZKFs/software-engineering-expert
1•cortanas•55m ago•1 comments

Doctective: Stop Your Docs from Lying to You and Your Agents

https://doctective.app/
2•johnnymedhanie•56m ago•2 comments

Thoughts on LLM use from a programming junkie

https://www.dgt.is/blog/2026-01-24-ai-programming-junkie/
1•jonotime•1h ago•0 comments

The Browser Is the Sandbox

https://simonwillison.net/2026/Jan/25/the-browser-is-the-sandbox/
9•enos_feedler•1h ago•4 comments

Yestotheoffer – Your AI Co-Pilot for Acing Any Tech Interview

https://www.yestotheoffer.com
1•lingxuan•1h ago•1 comments

Show HN: System design interview practice with AI

https://scrimm.ai
1•ralfcheung•1h ago•0 comments

Nvidia is about to challenge 'Intel Inside' with as many as eight Arm laptops

https://www.theverge.com/games/867056/leak-nvidia-n1-n1x-laptops-lenovo-dell
7•BeetleB•1h ago•2 comments

Exploring Linux on a LoongArch Mini PC

https://www.wezm.net/v2/posts/2026/loongarch-mini-pc-m700s/
4•jandeboevrie•1h ago•0 comments