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: Replay your Claude Code logs to count parallel session collisions

https://github.com/dooly6276/claude-bulkhead
1•dooly6276•1m ago•0 comments

Learning Abstractions: The Next Frontier for AI

https://twitter.com/jmugan/status/2119593410268999700
1•jmugan•5m ago•0 comments

Show HN: Midgarth Quest. Browser-Playable Mmorpg Written by AI

https://midgarth.quest/
1•anacrolix•6m ago•0 comments

Don't make me a meat proxy

https://uptownhr.com/blog/dont-make-me-a-meat-proxy/
1•uptownhr•6m ago•0 comments

CCTV captures streets shaking as 5.7-magnitude earthquake hits Japan

https://www.aljazeera.com/video/newsfeed/2026/11/8/cctv-captures-streets-shaking-as-5-7-magnitude...
2•mikhael•12m ago•0 comments

China's Top Spy Agency Recruited Woman Who Targeted Jensen Huang

https://www.nytimes.com/2026/11/06/us/politics/chinese-spy-agency-nvidia-jensen-huang.html
2•bookofjoe•12m ago•1 comments

Vibecoding in Plato's Cave (AI, Music Tech, and Star Trek) [video]

https://www.youtube.com/watch?v=4NExTWq_wvk
1•prollings•13m ago•0 comments

LaFranceenDébat: An open-source platform for peaceful,source-based public debate

https://lafranceendebat.fr/
1•wbelbeche•13m ago•0 comments

Starlink is in 223 countries, but in India its IP addresses sit almost unused

https://ipinfo.io/blog/starlink-223-countries
3•emot•14m ago•0 comments

Blacksmith.sh: security incident affecting CI job logs

https://status.blacksmith.sh/cmw5fokyu013w13mrtneqjv5l
2•tjwds•14m ago•0 comments

The Commanding Heights: Where AI will create wealth [pdf]

https://commanding-heights.com/commanding-heights.pdf
1•CharlesW•15m ago•0 comments

Superscore Remix – highly accurate character replacements and lip sync

https://www.superscore.ai/gallery/94a6697b2c1442fcb20b08c473dbe0fd534dca6ec0e847878275b5d5551fba54
1•chicken_little_•19m ago•0 comments

Open Source AI Research Collaboration Platform

https://station-house.net/
1•stationhouse•32m ago•1 comments

I am building Threadz. Human first AI writing app

1•shoebilyas_hanz•36m ago•1 comments

Show HN: TabVault – Export Chrome Tab Groups to Obsidian as Markdown

https://github.com/aryamantepal/tabvault
1•aryamantepal•38m ago•0 comments

Tinker – a lightweight WoW addon manager

https://tinker.lukeed.com/
1•lukeed•40m ago•1 comments

Ask HN: What do you use to get the latest technical AI news?

1•tini-giang•41m ago•1 comments

Open Source Web Operating System Terminal Velocity

https://republicka.life/terminal-velocity.html
1•BardPresident•43m ago•0 comments

Turn prompts into images and editable SVGs with GPT Image 2.6

https://reapi.ai/models/gpt-image-2-6
1•andrew06124•45m ago•0 comments

Unlocking any car from X brand in most of the world

https://shubs.io/unlocking-any-car-from-x-brand-in-most-of-the-world/
9•infosecau•46m ago•4 comments

Debezium Postgres WAL Subscription Monitoring

https://turbolytics.io/blog/debezium-wal-growth-postgres/
1•dm03514•1h ago•0 comments

Peering over the Waterfall

https://ben.bolte.cc/posts/2026-11-08-agi/
1•codekansas•1h ago•0 comments

Money that pays people to preserve and evolve the heritage of their land

https://gno.cash/
1•jaekwon•1h ago•2 comments

The Last Man (1805)

https://www.weslpress.org/9780819566089/the-last-man/
1•debo_•1h ago•0 comments

Earning Report in Simple Language

https://plainearnings.github.io/plainearnings/
1•tripolony•1h ago•0 comments

OpenAGPS – The New Kid on the Block

https://sunweavers.net/blog/node/161
1•edward•1h ago•0 comments

Show HN: Velorki - open-source bike navigation that works with just your phone

https://velorki.com
2•morrk0r•1h ago•0 comments

Tell HN: A flood of reports of Opus 5.5 being nerfed

5•b--l•1h ago•3 comments

Google Soft 404 for a page titled What is a 404 Error?

https://mojodojo.io/blog/google-soft-404-for-a-page-titled-what-is-a-404-error
1•zenincognito•1h ago•0 comments

Cruise ship pianist rescued after nine hours treading water miles from shore

https://www.theguardian.com/us-news/2026/nov/08/royal-caribbean-cruise-ship-pianist-rescue
4•mellosouls•1h ago•1 comments