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?

Peter Thiel slams pope's AI encyclical as gift to Chinese Communist Party

https://www.politico.com/news/2026/09/24/peter-thiel-slams-popes-ai-encyclical-as-gift-to-chinese...
1•vrganj•27s ago•0 comments

Oldest recorded voices, haunted dolls, and more from Tempest Instruments

https://cdm.link/oldest-recorded-voices-haunted-dolls-and-more-from-tempest-instruments/
1•bryanrasmussen•7m ago•0 comments

I stopped letting LLMs do arithmetic

https://medium.com/@jwbobbink/best-search-console-mcp-in-2026-gsc-wizard-7a63f91191ca
2•jwbobbink•11m ago•0 comments

Tell HN: No company scaled revenue as fast as AI companies

1•silexia•14m ago•0 comments

700 MB/s of Kafka throughput, on Postgres

https://rynr.dev/blog/700mbskafgres/
2•theanonymousone•14m ago•0 comments

AI Agents are breaking into Online Retailers for $25 a target

https://gambit.security/blog-posts/autonomous-ai-agents-online-retailers-25-a-company
2•geox•19m ago•0 comments

Taste Bench

https://www.omneky.com/tastebench
5•hsenju•19m ago•0 comments

Show HN: Knowledge Signal – A JEV-powered rubric assessment tool for study notes

https://github.com/sumant1122/knowledge-signal
1•paperplaneflyr•21m ago•0 comments

You sent the wrong attachment and leaked the banks deal list. What happens next?

https://www.ft.com/content/8124e18d-ca77-424f-aa43-97983653eec4
2•helsinkiandrew•24m ago•0 comments

Developer Process Automation: The sane way to automate developer hours

https://12gramsofcarbon.com/p/agentics-what-is-developer-process
1•theahura•26m ago•0 comments

Show HN: Miru: Zoomer Daemon for Wayland

https://blog.vaishnavs.is-a.dev/miru/
1•vaishnav110504•27m ago•0 comments

When Agent Met Agent

https://www.flybridge.com/ideas/the-bow/when-agent-met-agent
1•ddaniel10•28m ago•0 comments

New RSA attack forges signatures without factoring the key

https://arstechnica.com/security/2026/09/theres-a-new-way-to-break-rsa-thats-faster-than-anything...
2•utiiiD•29m ago•0 comments

Pressures building up in yen carry trade

https://www.wsws.org/en/articles/2026/09/24/qvhs-s24.html
1•t-3•30m ago•0 comments

TileRT Takes the Top Spot on AgentX with AMD Instinct MI355X GPUs

https://www.tilert.ai/blog/tilert-amd-agentx.html
2•pella•34m ago•0 comments

Show HN: SelMem – selective reconstructive memory for LLMs

https://github.com/jbsalles/Selmem
1•Jibs79•36m ago•0 comments

Show HN: A benchmark comparison of C++ vs. Node.js performance

https://vikky2810.github.io/blog/cpp-vs-node/
1•vikky2810•38m ago•0 comments

Tracking Singularity – A Curated Log of Important Events in AI Since Mid 2026

https://trackingsingularity.com/
2•dejavucoder•54m ago•0 comments

SunCalc – sunrise, sunset, shadow length, solar eclipse

https://www.suncalc.org
2•gregsadetsky•55m ago•0 comments

Picking a domain name is hard

https://aetherspe.cc/blog/20260925-picking_a_domain_name_is_hard/
1•weakened_malloc•1h ago•1 comments

Show HN: Sitcom Flavour – Season your Claude Code chats with sitcom replies

https://ada.tools/sitcom-flavour/
1•EmreErkan•1h ago•0 comments

Stanford used AI to replace Hispanic student with Black woman in photo

https://www.msn.com/en-ca/money/general/stanford-used-ai-to-replace-hispanic-student-with-black-w...
3•pykello•1h ago•1 comments

Goodbye Google

https://robert.ocallahan.org/2026/09/goodbye-google.html
63•Murmuring9087•1h ago•36 comments

Krakatoa, an interactive 2.5D painting of the 1883 eruption

https://www.echohive.ai/experiments/krakatoa
2•echohive42•1h ago•0 comments

Jev Based Code Review

https://github.com/egma-ai/jev-code-reviewer
4•namanbhulawat•1h ago•2 comments

Plex: Remote Streaming via Third-Party Apps to Require a License

https://netguide.io/news/en/2026/09/22/plex-remote-streaming-via-third-party-apps-to-require-a-li...
4•sippingabonedry•1h ago•0 comments

Proofmode

https://proofmode.org/
3•F3nd0•1h ago•0 comments

Vulnerability Cve-2026-82958

https://vulnerability.circl.lu/vuln/cve-2026-82958
1•anonyoum•1h ago•0 comments

What your phone is made of

https://anas-sabbar.ca/writing/what-your-phone-is-made-of/
2•Roccan•1h ago•0 comments

Fzakaria/omnibin: Every binary nixpkgs ever shipped, on your PATH

https://github.com/fzakaria/omnibin
1•Tomte•1h ago•0 comments