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?

Companies reap $22B from Trump's immigration crackdown

https://www.ft.com/content/c74170d3-237d-459c-8642-bfd71530897d
1•doener•1m ago•0 comments

JautBook – AI Reddit

https://github.com/lanefiedler731-gif/JautBook
1•Lane1655•6m ago•0 comments

Crypto wallets received a record $158B in illicit funds last year

https://www.bleepingcomputer.com/news/security/crypto-wallets-received-a-record-158-billion-in-il...
1•heresie-dabord•7m ago•0 comments

A Firefox Android extension for YouTube background play

https://github.com/Rigmunssel/FixYTBackground
1•western_man•7m ago•0 comments

Don Lemon Released Without Bond over Minnesota Protest Charge

https://www.nytimes.com/2026/01/30/us/don-lemon-arrest-minnesota-church-protest.html
2•whack•7m ago•0 comments

Show HN: Moltbook Overtaken by Shellraiser

https://www.moltbook.com/post/74b073fd-37db-4a32-a9e1-c7652e5c0d59
1•mooball•8m ago•0 comments

Show HN: Free Text-to-Speech Tool – No Signup, 40 Languages

https://texttospeech.site/
1•digi_wares•11m ago•0 comments

What ICLR 2026 Taught Us About Multi-Agent Failures

https://llmsresearch.substack.com/p/what-iclr-2026-taught-us-about-multi
1•dippatel1994•12m ago•1 comments

Hawaii Deepfake Election Law Is Unconstitutional, Court Says

https://news.bloomberglaw.com/litigation/hawaiis-deepfake-election-law-violates-free-speech-court...
2•nradov•13m ago•0 comments

Humans Welcome to Observe

https://www.ignorance.ai/p/openclaw-moltbook-and-the-ai-agents
1•swolpers•14m ago•0 comments

SQLite WebAssemby

https://sqlite.org/wasm/doc/trunk/index.md
2•whatisabcdefgh•14m ago•0 comments

New York Congestion Pricing's Unexpected Winners: Suburban Drivers

https://www.bloomberg.com/news/articles/2026-01-30/how-manhattan-s-congestion-toll-speeds-up-trip...
1•helsinkiandrew•16m ago•0 comments

January 2026 Links

https://nomagicpill.substack.com/p/january-2026-links
1•nomagicpill•17m ago•0 comments

My Weekend Project Rentmyheader.xyz

https://www.rentmyheader.xyz/
1•abdibrokhim•17m ago•0 comments

Pi: The Minimal Agent Within OpenClaw

https://lucumr.pocoo.org/2026/1/31/pi/
2•admp•19m ago•0 comments

Show HN: Bunnie – Use Bun as the templating engine in Rust applications

https://github.com/aspizu/bunnie
1•aspizu•20m ago•0 comments

Finality does not exist in payments (2022)

https://www.bitsaboutmoney.com/archive/no-payments-are-final/
1•mooreds•23m ago•0 comments

The Math of the AI Bubble (A 2027 Forecast)

https://ksaweryskowron.substack.com/p/ai-without-the-bs-part-4
1•mooreds•25m ago•1 comments

Large-scale, high-quality, and diverse muli-round dialogue data

https://atlas.nomic.ai/data/stingning/ultrachat-1/map
1•onurkanbkrc•26m ago•0 comments

Nvidia's 10-year effort to make the Shield TV the most updated Android device

https://arstechnica.com/gadgets/2026/01/inside-nvidias-10-year-effort-to-make-the-shield-tv-the-m...
6•qmr•27m ago•0 comments

Manual Programming

https://illegalcode.net/rfcs/manual_programming.html
2•todsacerdoti•27m ago•0 comments

How should businesses respond to rising energy rates? (2025)

https://www.arcadia.com/blog/rising-energy-rates-businesses
1•mooreds•28m ago•0 comments

The rise (and future fall) of Discord

https://slugcat.systems/post/24-12-12-the-rise-and-future-fall-of-discord/
2•PaulHoule•28m ago•1 comments

Is Time a Fundamental Part of Reality? Quiet Revolution in Physics Suggests Not

https://singularityhub.com/2026/01/30/is-time-a-fundamental-part-of-reality-a-quiet-revolution-in...
1•Brajeshwar•29m ago•0 comments

Ctlsurf – A notebook that forces AI coding agents to document their shortcuts

https://app.ctlsurf.com/
1•sarkarsh•29m ago•1 comments

Moltbook Source Code

https://github.com/moltbook/moltbook-web-client-application
1•colesantiago•30m ago•1 comments

BotMaker: Simple Openclaw Configurator

https://github.com/jgarzik/botmaker
1•jgarzik•30m ago•1 comments

Astrological CPU Scheduler with eBPF

https://github.com/zampierilucas/scx_horoscope
1•risemlbill•33m ago•1 comments

The Hairy Ball Theorem by 3Blue1Brown

https://www.youtube.com/watch?v=BHdbsHFs2P0
1•-0•34m ago•0 comments

Synthetic datasets where failure emerges from dynamics, not labels

1•dynamics_lab•34m ago•0 comments