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•7mo 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•7mo 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?

How do you share open source work without it feeling like self-promotion

https://github.com/Chrilleweb/dotenv-diff
1•chrilleweb•1m ago•1 comments

Testing and Benchmarking of AI Compilers

https://www.broune.com/blog/testing-and-benchmarking-of-ai-compilers
1•matt_d•2m ago•0 comments

Ask HN: Why are my newsletters going to Promotions?

1•chistev•3m ago•0 comments

Buried in Snow, Yellowstone's Bison Have No Problems Weathering Winter

https://cowboystatedaily.com/2025/12/13/buried-in-snow-bison-have-no-problems-weathering-winter/
1•Bender•4m ago•0 comments

Ask HN: How to find community meetup groups?

1•Awesomedonut•9m ago•0 comments

Healthcare AI solo founders: What are some of the hardest problems you solved?

https://www.ottnoai.com/
1•drmsortiz•9m ago•1 comments

Systems of Record Are Evolving

https://cloudedjudgement.substack.com/p/clouded-judgement-121225-long-live
1•mauriziocalo•10m ago•0 comments

The Decline of the Frosted Glass Effect in Windows Design

https://www.hugdigi.com/developers-facts/the-decline-of-the-frosted-glass-effect-in-windows-desig...
1•jryb•12m ago•1 comments

Ownership types for flexible alias protection

https://dl.acm.org/doi/abs/10.1145/286936.286947
1•Brysonbw•14m ago•0 comments

Show HN

https://github.com/Noamismach/chronos_track/tree/v1.2
1•Noamis•15m ago•0 comments

A Timeline of Every "Saturday Night Live!" Cast Member

https://snl-timeline.ohkayblanket.com/
1•gaws•17m ago•0 comments

Building a Multilingual Medical Dictionary as a Graph Database

https://dgg32.medium.com/building-a-multilingual-medical-dictionary-as-a-graph-database-e9cdc579123d
1•Anon84•17m ago•0 comments

Show HN: Container-Maker–A standalone CLI for DevContainers(run without VS Code)

https://github.com/UPwith-me/Container-Maker
1•DEVINHE111•17m ago•0 comments

Capitalism in America – The Cult of Wealth

https://www.arte.tv/en/videos/103517-001-A/capitalism-in-america-the-cult-of-wealth-1-3/
4•exceptione•18m ago•1 comments

Dissecting AI Agent Applications: Lessons from the Most Innovative Use Cases

1•helain•19m ago•0 comments

A REST API for LLM latency and uptime metrics

https://metrik-dashboard.vercel.app/docs/api
1•meh_bouassamii•24m ago•0 comments

Disco is Google's new generative AI web app experience

https://blog.google/technology/google-labs/gentabs-gemini-3/
3•ChrisArchitect•25m ago•0 comments

The Typeframe PX-88 Portable Computing System

https://www.typeframe.net/
4•birdculture•25m ago•0 comments

Starting company vibecoding a saasplatform. Doomed from the start/take a chance?

2•Kaijla•25m ago•1 comments

Designing Gotham – the story behind the type family on its 25th anniversary

https://frerejones.com/blog/designing-gotham
1•ChrisArchitect•26m ago•0 comments

E Pluribus, Pauciores (Out of Many, Fewer): Diversity and Birth Rates

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4881921
2•like_any_other•27m ago•0 comments

Show HN: I built a circuit breaker that predicts AI failures

https://github.com/CULPRITCHAOS/Interlock
1•CULPRITCHAOS•29m ago•0 comments

Gentleman Guardian Angel – AI provider-agnostic code review via Git hook

https://github.com/Gentleman-Programming/gentleman-guardian-angel
2•simonpure•30m ago•0 comments

Sacrificing accessibility for not getting web scraped

https://tilschuenemann.de/projects/sacrificing-accessibility-for-not-getting-web-scraped
3•tilschuenemann•31m ago•0 comments

The mysterious MS-DOS reboot (2021)

https://www.edn.com/the-mysterious-ms-dos-reboot/
2•geox•33m ago•0 comments

Mistral Vibe

https://docs.mistral.ai/mistral-vibe/introduction/install
1•openplatypus•39m ago•0 comments

Baseline: Operation-Based Evolution and Versioning of Data

https://www.arxiv.org/pdf/2512.09762
1•todsacerdoti•42m ago•0 comments

What Happens When All Training Data Is AI Generated? [video]

https://www.youtube.com/watch?v=Bs_VjCqyDfU
1•btdmaster•45m ago•0 comments

Show HN: Instant Messaging in VSCode

https://marketplace.visualstudio.com/items?itemName=devchat-dev.devchat-im
1•milowata•46m ago•0 comments

Nexus STC: Distributed search engine and AI tools that grant access to knowledge

https://github.com/nexus-stc/stc
1•Ey7NFZ3P0nzAe•47m ago•0 comments