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?

Parallel AI Agents That Review My Code (Claude Code Setup)

https://hamy.xyz/blog/2026-02_code-reviews-claude-subagents
1•kurinikku•1m ago•0 comments

Show HN: Manifestinx-verify – offline verifier for evidence bundles (drift)

https://github.com/OneInX/Manifest-InX-EBS
1•oneinx•1m ago•0 comments

Photopea-Online Photo Editor

https://www.photopea.com/
1•whatisabcdefgh•2m ago•0 comments

KFC, Nando's, and others ditch chicken welfare pledge

https://www.bbc.co.uk/news/articles/cm2r6jqm042o
1•penguin_booze•3m ago•0 comments

Facebook Is Absolutely Cooked

https://pilk.website/3/facebook-is-absolutely-cooked
2•npilk•4m ago•0 comments

Designing your personal space on the internet

https://indigo.spot/blog/designing-a-personal-website
1•lemonaise•4m ago•0 comments

Bitfarms shares surge ditching its 'Bitcoin' identity and doubling down on AI

https://www.coindesk.com/business/2026/02/06/bitfarms-says-it-s-no-longer-a-bitcoin-company-doubl...
1•PaulHoule•4m ago•0 comments

AI bots may lead to the end of the internet as we know it

https://www.opendemocracy.net/en/ai-chatbots-scraper-bots-chatgpt-website-offline-change-internet/
1•drcongo•7m ago•0 comments

Software engineering makes up ~50% of agentic tool calls on Anthropic API

https://twitter.com/anthropicai/status/2024210053369385192
2•taubek•7m ago•0 comments

Justices Strike Down Trump's Tariffs

https://www.nytimes.com/2025/02/20/us/politics/supreme-court-trump-tariffs.html
2•be_erik•8m ago•0 comments

Italy, UK, Japan hope to bring Germany into next-generation fighter jet project

https://www.lemonde.fr/en/economy/article/2026/02/20/italy-the-united-kingdom-and-japan-hope-to-b...
1•spankibalt•8m ago•0 comments

Pico-ML: A toy programming language which is a subset of OCaml

https://github.com/Quramy/pico-ml
1•tosh•10m ago•0 comments

Goldman Sachs launches AI-free index

https://www.axios.com/2026/02/20/ai-goldman-sachs-stocks-index
2•samizdis•11m ago•0 comments

Wishcessibility

https://www.nicchan.me/blog/wishcessibility/
1•ulrischa•12m ago•0 comments

The Claude C Compiler: What It Reveals About the Future of Software

https://www.modular.com/blog/the-claude-c-compiler-what-it-reveals-about-the-future-of-software
4•lateforwork•12m ago•0 comments

Vibe Coding on Smart Glasses Is a Thing Now

https://gizmodo.com/oh-god-vibe-coding-on-smart-glasses-is-a-thing-now-2000724466
2•ulrischa•13m ago•0 comments

Frontier Model Training Methodologies

https://djdumpling.github.io/2026/01/31/frontier_training.html
1•linolevan•13m ago•0 comments

Blue light filters don't work

https://www.neuroai.science/p/blue-light-filters-dont-work
2•pminimax•15m ago•0 comments

GameBoy QR-Paint

https://github.com/bbbbbr/gameboy_qr_paint
1•elvis70•15m ago•0 comments

Toyota contracts seven Agility humanoid robots for Canadian factory

https://techcrunch.com/2026/02/19/toyota-hires-seven-agility-humanoid-robots-for-canadian-factory/
2•carefree-bob•16m ago•1 comments

Ionattention: Grace Hopper–Native Inference

https://cumulus.blog/ionattention
1•deliciousturkey•16m ago•0 comments

Show HN: Public todo lists – no accounts, just a secret key you save once

https://publictodo.com
1•beeneeb•18m ago•0 comments

Uncovering Insiders and Alpha on Polymarket with AI

https://twitter.com/peterjliu/status/2024901585806225723
1•somerandomness•18m ago•0 comments

Show HN: Travel Data ESIMs from a Solo Hacker

https://www.guac.online
1•zbiggistardust•20m ago•0 comments

ThunderKittens 2.0: Even Faster Kernels for Your GPUs

https://hazyresearch.stanford.edu/blog/2026-02-19-tk-2
1•matt_d•22m ago•0 comments

Raising Agentic Children

https://github.com/Light-Heart-Labs/Lighthouse-AI/discussions/15
1•lightheartai•23m ago•0 comments

Do Claude Code and Codex P-Hack? Sycophancy and Statistical Analysis in LLMs

https://github.com/janetmalzahn/llm-phacking
1•Luc•23m ago•1 comments

Alloy: Moddable on Pebble

https://www.moddable.com/blog/pebble/
1•griffinli•23m ago•0 comments

Show HN: A Question and Annotation Driven Parallel Reading App

https://apps.apple.com/us/app/brams-reading-app/id6759291875
1•_bramses•24m ago•0 comments

Looking for a founding engineer building real-time AI authenticity tooling

1•UnveilrBuild•24m ago•0 comments