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?

Building a Minimal Transformer for 10-digit Addition

https://alexlitzenberger.com/blog/post.html?post=/building_a_minimal_transformer_for_10_digit_add...
1•kelseyfrog•14s ago•0 comments

Ask HN: Builder.ai ($1B Microsoft-backed AI company) who's lookin at the assets?

1•gamelock•18s ago•0 comments

Runaway

https://domofutu.substack.com/p/runaway
3•wjb3•3m ago•0 comments

Ali Khamenei Is Dead

https://www.ynetnews.com/article/skie4tef11x
1•surume•4m ago•0 comments

Ask HN: Dora metrics exist for eng. Equivalent for AI in ops, finance, CS?

1•Poolyberat•5m ago•0 comments

Hypeman – Run Containerized Workloads in VMs, Powered by Cloud Hypervisor / QEMU

https://github.com/kernel/hypeman
2•crbelaus•6m ago•0 comments

Show HN: InstallerStudio – Create MSI Installers Without WiX or InstallShield

https://www.ionline.com/
2•pkailas•7m ago•0 comments

Show HN: Sampler Step Explorer – for understanding diffusion sampler updates

https://www.bryanthornbury.com/interactives/sampler-step-explorer/
1•bthornbury•7m ago•0 comments

Show HN: Pure Python web framework using free-threaded Python

https://github.com/grandimam/barq
1•grandimam•9m ago•0 comments

The Next Four Years, an experimental novel

https://thenextfouryears.ai
1•garof•10m ago•1 comments

Show HN: O-O – HTML/bash polyglot files that rewrite themselves (update)

1•jahala•10m ago•0 comments

Ask HN: How would you start a small private math circle for talented kids?

5•andrewstetsenko•12m ago•0 comments

Show HN: OpenGem – Free, self-healing load-balanced proxy for Google Gemini API

https://github.com/arifozgun/OpenGem
1•ariozgun•13m ago•0 comments

Ask HN: My YC company is hiring one engineer/day but there's not enough work

5•ta_jobstartup•14m ago•1 comments

Trump Says Iran's Supreme Leader Ayatollah Ali Khamenei Is Dead

https://www.bbc.com/news/live/cn5ge95q6y7t
5•tlogan•16m ago•0 comments

Intermittent fasting no better than typical weight loss diets

https://www.theguardian.com/science/2026/feb/16/intermittent-fasting-no-better-than-typical-weigh...
2•paulpauper•16m ago•0 comments

A World Where All Is Free? That's Elon Musk's Theory of Abundance

https://www.nytimes.com/2026/02/27/business/a-world-where-all-is-free-thats-elon-musks-theory-of-...
2•paulpauper•17m ago•1 comments

Amiga Alien Breed HD

https://old.reddit.com/r/amiga/comments/1rh7743/alien_breed_hd/
2•doener•17m ago•0 comments

My 24 Rules for Reading

https://www.honest-broker.com/p/my-24-rules-for-reading
2•paulpauper•18m ago•0 comments

Khamenei dead, say US and Israel

https://www.reuters.com/world/iran-crisis-live-explosions-tehran-israel-announces-strike-2026-02-28/
4•andrepd•18m ago•0 comments

What are GPS jammers and how do you combat them?

https://www.geotab.com/blog/combating-gps-jammers/
2•RyanShook•19m ago•0 comments

Show HN: Lovepdf – open-source self hosting alternative to ilovepdf

https://github.com/rtvkiz/lovepdf
2•theoo21•19m ago•0 comments

Show HN: Focusmo – a Mac focus app with a local Claude MCP server

https://focusmo.app
2•elesinn•20m ago•0 comments

There Are No Psychopaths

https://aeon.co/essays/psychopathy-is-a-zombie-idea-why-does-it-cling-on
2•marojejian•21m ago•1 comments

AI, Networks and Mechanical Turks

https://www.ben-evans.com/benedictevans/2025/11/23/ai-networks-and-mechanical-turks
2•simonebrunozzi•21m ago•0 comments

You don't have to if you don't want to

https://www.scottsmitelli.com/articles/you-dont-have-to/
2•yshklarov•21m ago•0 comments

Flixtera: Download and own your movies and TV Shows forever, not rent it

https://flixtera.xyz
3•monyasau•24m ago•1 comments

Show HN: Memory Engine – AI Consciousness Persistence Framework

https://github.com/andresuarus10-byte/memory-engine
2•KaelyrAT•27m ago•0 comments

Show HN: Flare – Full-Stack OpenTelemetry Observability for Apache Spark

https://github.com/Neutrinic/flare
2•ZenithR9•28m ago•0 comments

A terminal-based KeePass password manager

https://github.com/shikaan/keydex
2•shikaan•30m ago•0 comments