frontpage.
newsnewestaskshowjobs

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•1y 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•1y 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: Multi-modal Muse assistant on an ESP32

https://github.com/raullenchai/esp32-thinks
1•raullen•1m ago•0 comments

Gemini 4 Argon has January 2025 knowledge cutoff

https://www.reddit.com/r/Bard/comments/1x53utv/argon_has_january_2025_knowledge_cutoff_this_is/
1•theanonymousone•2m ago•0 comments

How do people work through problems?

https://persist-study.pages.dev/
1•mooreds•2m ago•0 comments

Show HN: Commit-Aware Router, route LLM traffic around your AI/cloud commitments

https://github.com/tejaspruthi/CommitAwareRouter
1•tpruthi•3m ago•0 comments

The DNA test was supposed to settle everything. It launched a year+ legal battle

https://www.dallasnews.com/news/investigations/article/gary-matthews-paternity-child-support-new-...
1•randycupertino•5m ago•1 comments

Treatise on colors used in watercolor painting (1692)

https://bibliotheque-numerique.citedulivre-aix.com/viewer/35315/?offset=#page=1&viewer=picture&o=...
1•bookofjoe•5m ago•0 comments

Flowers for Algernon

https://en.wikipedia.org/wiki/Flowers_for_Algernon
1•numbsafari•5m ago•1 comments

SI.gov

https://www.si.gov/
1•nateb2022•6m ago•1 comments

Show HN: Popcorn Tracker

https://popcorn-tracker.wasmer.app/
1•baalimago•7m ago•0 comments

Choose Boring Technology (2018)

https://boringtechnology.club/
1•gen220•7m ago•1 comments

Show HN: Can a solo founder compete in the crowded Chrome extension market?

https://chromewebstore.google.com/detail/thrivez-go-–-earn-rewards/fodndcoojiniehbochnniejfdfnc...
1•Fotis-Karmpas•7m ago•0 comments

Software Folklore

https://beza1e1.tuxen.de/lore/index.html
2•EndXA•8m ago•0 comments

Ironies of Automation

https://en.wikipedia.org/wiki/Ironies_of_Automation
1•tuan•8m ago•0 comments

Developing Gemini 4 Argon responsibly and safely

https://blog.google/innovation-and-ai/technology/safety-security/gemini-4-model-safety-security/
2•xnx•8m ago•0 comments

Show HN: Give Your Agents GPUs

https://supercomputer.sh
1•jaderiverstokes•8m ago•0 comments

Northwestern University Builds Blink-Powered Glasses

https://www.mccormick.northwestern.edu/news/articles/2026/10/blink-powered-glasses-could-keep-an-...
1•nivedita•9m ago•0 comments

Qualcomm Statement on Trial Verdict Win vs. Arm

https://www.qualcomm.com/news/releases/2026/10/qualcomm-statement-on-trial-verdict-win
1•fork-bomber•11m ago•0 comments

HomeView (iOS App)

https://apps.apple.com/ca/app/homeview/id6754077016
1•xattt•11m ago•0 comments

Optimizing a 200k-line Python codebase overnight with Gemini 4 Argon

https://developers.googleblog.com/optimizing-a-200000-line-python-codebase-overnight-with-gemini-...
2•gregorymichael•12m ago•0 comments

Muse, in Its Own Files

https://futuresociety.ch/muse-findings/
1•Kaedon•13m ago•0 comments

Show HN: Form to Email

https://form2email.terragohan.com/
1•helpprotactiniu•15m ago•0 comments

Character.ai Files for Bankruptcy

https://www.lawcommentary.com/articles/character-ai-bankruptcy-disney-bid-platform-shutdown
2•claytongulick•16m ago•0 comments

Zen and the Art of AI-Assisted Development

https://blog.thanethomson.com/2026/10/13/zen-and-the-art-of-ai-assisted-development/
1•hatwd•19m ago•0 comments

Kroger to lay off 3K corporate employees over 3 years as it leans into AI

https://abcnews.com/Business/wireStory/kroger-lay-off-3000-corporate-employees-3-years-137228598
4•theanonymousone•22m ago•0 comments

UK maritime agency tells maritime sector to plan for life without GPS

https://www.yachtingmonthly.com/news/mca-tells-maritime-sector-to-plan-for-life-without-gps-106566
2•helsinkiandrew•22m ago•0 comments

Devin turns agent orchestration into resumable Python workflows

https://runtimewire.com/article/devin-dynamic-workflows-python-agent-orchestration
2•runtimewire•23m ago•0 comments

How to Make SQL Easier to Understand for Developers

https://www.gmoniava.com/blog/how-to-make-sql-easier-to-understand-for-developers
1•gmoniava•24m ago•2 comments

Scaledown.ai Launches Constrained Decoding Models

https://twitter.com/neal_k_patel/status/2109978626124898587
1•nlpnerd•25m ago•0 comments

Monte-Carlo Simulations

https://eli.thegreenplace.net/2026/monte-carlo-simulations/
1•ibobev•26m ago•0 comments

Do You Have Any Ideas?

https://www.boristhebrave.com/2026/10/12/do-you-have-any-ideas/
2•ibobev•26m ago•1 comments