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: Promode – Claude Code meta for its hidden "Team Mode"

https://github.com/mikekelly/team-mode-promode
1•AffableSpatula•3m ago•0 comments

Show HN: An Interactive playground to practice Low-Level Design (LLD) interviews

https://www.lowleveldesignmastery.com/playground/
1•vdsanku•3m ago•0 comments

Ubisoft Closes Recently Unionized Developer Studio

https://www.videogameschronicle.com/news/ubisoft-has-closed-its-halifax-studio-but-claims-decisio...
3•speckx•3m ago•0 comments

Show HN: GPT Packer conversational container packing with 3D load plans

https://gptpacker.com/
1•reverseblade2•5m ago•0 comments

The AI UI Problem

https://askcodi.substack.com/p/the-ai-ui-problem-nobody-talks-about
1•askcodi•6m ago•0 comments

NASA considers rare early ISS crew return due to astronaut's medical issue

https://www.nbcnews.com/science/space/nasa-considers-rare-early-iss-crew-return-due-astronauts-me...
2•voxadam•8m ago•0 comments

Estranged Wife of Indian Software Tycoon Claims He Transferred Ownership

https://www.forbes.com/sites/luisakroll/2023/03/13/zoho-srindhar-vembu-in-high-stakes-divorce-bat...
1•thunderbong•8m ago•0 comments

Vanilla: Software clone of the Wii U gamepad

https://github.com/vanilla-wiiu/vanilla
1•zdw•9m ago•0 comments

Productivity Paradox

https://en.wikipedia.org/wiki/Productivity_paradox
1•jamesgill•11m ago•0 comments

A person claiming to be a 'whistleblower' fooled the internet with AI's help

https://www.nbcnews.com/tech/internet/reddit-ai-food-delivery-fraud-rcna252661
2•areoform•12m ago•0 comments

Show HN: You need this for tracking AI search visibility

https://www.genrankengine.com/
1•arunkumars91•13m ago•0 comments

Show HN: PurchaseKit – In-app purchases for Rails and Hotwire Native

https://purchasekit.dev
1•joemasilotti•13m ago•0 comments

New Research: AI Coding Tools Attract Top Performers – But Do They Create Them?

https://www.gitclear.com/blog/new_research_ai_coding_tools_attract_top_performers_but_do_they_cre...
1•wbharding•14m ago•0 comments

AMD Gives Us a Peek at Upcoming Helios System, MI500 GPUs at CES

https://www.hpcwire.com/2026/01/07/amd-gives-us-a-peek-at-upcoming-helios-system-mi500-gpus-at-ces/
1•rbanffy•14m ago•0 comments

Show HN: Ranksty

https://ranksty.com
1•emilos•15m ago•0 comments

Grand Illusion

https://chrishedges.substack.com/p/grand-illusion
1•chmaynard•15m ago•0 comments

The Rise of Computer Games, Part II: Digitizing Nerddom – Creatures of Thought

https://technicshistory.com/2026/01/02/the-rise-of-computer-games-part-ii-digitizing-nerddom/
1•rbanffy•15m ago•0 comments

Ex–Google CEO funds private space telescope bigger than Hubble – Science – AAAS

https://www.science.org/content/article/ex-google-ceo-funds-private-space-telescope-bigger-hubble
1•rbanffy•16m ago•0 comments

A Content Repurposing Strategy That Works (Platform-Native, Not Asset-First)

https://aiforcontentmarketing.ai/a-content-repurposing-strategy-that-works-platform-native-not-as...
1•pakostina•16m ago•0 comments

Show HN: Milkyboard – Synth Keyboard with Milkdrop Background

https://milkyboard.com/
1•amadeuspagel•16m ago•0 comments

Flakes – A keyboard-first, AI-powered native browser for macOS

https://flakes.ai
1•flakes-ai•18m ago•0 comments

Show HN: Open-source iOS app for controlling your AWS DeepRacer

https://github.com/charleswolfe/deepracer-teleoperation
1•chuckwolfe•18m ago•0 comments

Reimagining the Sacred: Modern Shrines and Temples in Japan

https://www.tokyoweekender.com/travel/modern-shrines-and-temples-in-japan/
2•PaulHoule•19m ago•0 comments

Are violent video games like Grand Theft Auto 6 becoming too realistic?

https://www.bbc.com/culture/article/20260107-are-violent-video-games-like-grand-theft-auto-6-beco...
3•breve•21m ago•0 comments

X-shell – Complete web based terminal component

https://github.com/lsadehaan/x-shell
2•adriaandehaan•22m ago•1 comments

Data Science Weekly – Issue 633

https://datascienceweekly.substack.com/p/data-science-weekly-issue-633
2•sebg•23m ago•0 comments

How do you solve a problem like Wikipedia?

https://www.realclearpolitics.com/articles/2026/01/08/how_do_you_solve_a_problem_like_wikipedia_1...
3•RickJWagner•25m ago•2 comments

Some Things I've Learned About Software [video]

https://www.youtube.com/watch?v=RJgDW2AERr8
4•todsacerdoti•25m ago•0 comments

Amazon angers retailers by listing products from other sites without consent

https://www.businessinsider.com/amazon-angers-retailers-lists-products-without-consent-starfish-2...
3•AlexandrB•29m ago•0 comments

Load Balancing (2023)

https://samwho.dev/load-balancing
2•grep_it•30m ago•0 comments