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?

Tracking NixOS option values and dependencies

https://oddlama.org/blog/tracking-options-in-nixos/
1•birdculture•41s ago•0 comments

Show HN: Suplex – All-in-one cold email (leads, sending, CRM)

https://www.trysuplex.com
1•machomillions•1m ago•0 comments

Tim Paterson

https://en.wikipedia.org/wiki/Tim_Paterson
1•keepamovin•2m ago•0 comments

Embarrassingly Solved Problems

https://zachpearson922841.substack.com/p/embarrassingly-solved-problems
1•zjp•3m ago•0 comments

Improving Deep Agents with Harness Engineering

https://twitter.com/Vtrivedy10/status/2023805578561060992
1•gmays•3m ago•0 comments

Computer-Using World Model

https://arxiv.org/abs/2602.17365
1•steamboatwillie•4m ago•0 comments

Situated Software

https://gwern.net/doc/technology/2004-03-30-shirky-situatedsoftware.html
1•ustad•6m ago•0 comments

Show HN: Pragmatica Aether – a distributed Java runtime that replaces Kubernetes

https://github.com/pragmaticalabs/pragmatica
1•siy•7m ago•0 comments

The Future of Agentic Computing

https://www.cjroth.com/blog/2026-02-23-the-future-of-agentic-computing
1•thoughtfulchris•8m ago•0 comments

Wealthy spouses are hiding crypto assets in divorce cases, say lawyers

https://www.ft.com/content/df01cdb5-aac8-4d41-bbd8-56a198694394
2•mmarian•12m ago•0 comments

Show HN: Scheme-langserver – Digest incomplete code with static analysis

https://github.com/ufo5260987423/scheme-langserver
1•ufo5260987423•13m ago•0 comments

Work experience kids messed with manager's PC to send him to Ctrl-Alt-Del hell

https://www.theregister.com/2026/02/23/who_me/
1•vismit2000•20m ago•0 comments

NASA's Perseverance Now Autonomously Pinpoints Its Location on Mars

https://www.nasa.gov/missions/mars-2020-perseverance/perseverance-rover/nasas-perseverance-now-au...
1•pieterr•22m ago•0 comments

Everyone in AI is building the wrong thing for the same reason

https://www.joanwestenberg.com/everyone-in-ai-is-building-the-wrong-thing-for-the-same-reason/
2•pmg101•25m ago•0 comments

DJI Romo's MQTT broker had no ACLs – one token, 7k home cameras

https://www.theverge.com/tech/879088/dji-romo-hack-vulnerability-remote-control-camera-access-mqtt
1•bakibab•28m ago•0 comments

Anthropic: AI helps break the cost barrier to COBOL modernization

https://claude.com/blog/how-ai-helps-break-cost-barrier-cobol-modernization
2•aquir•30m ago•2 comments

"Just a little detail that wouldn't sell anything"

https://unsung.aresluna.org/just-a-little-detail-that-wouldnt-sell-anything/
3•bobbiechen•33m ago•0 comments

Trolley: Run Terminal Apps Anywhere

https://github.com/weedonandscott/trolley
2•todsacerdoti•35m ago•0 comments

A website for you to sell equity in your micro-SaaS

https://openstartuphub.com/
1•JasonHEIN•35m ago•0 comments

Russia investigating Telegram founder Durov as part of criminal case

https://www.reuters.com/business/media-telecom/russia-investigating-telegram-founder-durov-part-c...
3•gdrift•37m ago•0 comments

Xiaoyin Qu on X: "Stanford CS grads can't find jobs right now."

https://twitter.com/quxiaoyin/status/2025977959195005149
1•doppp•37m ago•0 comments

Indistinguishable from Magic: Manufacturing Modern Computer Chips

https://www.youtube.com/watch?v=NGFhc8R_uO4
2•pinkmuffinere•40m ago•0 comments

I'm building fitness SaaS – learning about pricing psychology in India

1•waaznfit•41m ago•0 comments

Sigma, camera and lens manufacturer, begins rice cultivation in the Aizu region

https://www.sigma-global.com/en/news/2026/02/24/012026/
1•10729287•43m ago•0 comments

How HN: Invariant Governance – Deterministic governance for autonomous systems

https://invariant-governance.com
1•bot-in-the-loop•46m ago•1 comments

Show HN: I built an AI Voice note taker transcriber

https://apps.apple.com/us/app/gist-transcribe-audio-to-text/id6758212955
1•bubbly_snow•48m ago•0 comments

The Picture They Paint of You

https://ferd.ca/the-picture-they-paint-of-you.html
1•donutshop•50m ago•0 comments

Components.build: open-source standard for modern, composable and accessible UI

https://www.components.build/
1•handfuloflight•51m ago•0 comments

The Market for Marriage

https://worksinprogress.co/issue/marriage-customs-very-different-from-ours/
2•ciju•52m ago•0 comments

LipoVive Supplement: Activate Your Metabolism and Burn Fat Naturally

https://www.morningstar.com/news/accesswire/1138075msn/lipovive-reviews-shocking-2026-report-what...
2•hanxpalz•53m ago•1 comments