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?

People Against Genocide Smash Military Satellites on Balfour Anniversary

https://aftershock.media/military-satellites-balfour/
1•lorecore•1m ago•0 comments

I use AI (Oct 2026)

https://ben.stolovitz.com/posts/how-use-ai-oct-2026/
1•citelao•2m ago•1 comments

Show HN: DrawDB – turn any live database into an ER diagram with one query

https://github.com/drawdb-io/drawdb
2•1ilit•3m ago•1 comments

Leona - AI Powered Career Toolkit

https://leona.co.za/
1•sollysegogoba•4m ago•1 comments

Apple's New iPhone Release Schedule Seems to Pay Off

https://daringfireball.net/linked/2026/11/03/apple-new-iphone-18-release-schedule
1•tosh•4m ago•0 comments

Counted "AI" on 37 website builder homepages, 2019 to now

https://scrollytelling.ai/website-builders-ai/
1•vaitko•4m ago•0 comments

Show HN: AI Model Token Cost and Context Window Estimator

https://ai-token-estimator.pages.dev/
1•Shreyansh0019•4m ago•0 comments

Fedora 45 Released

https://www.redhat.com/en/blog/announcing-fedora-45
1•whalesalad•5m ago•0 comments

Are you checking keyword ranking manually?

https://chromewebstore.google.com/detail/infinite-rank-seo-rank-tr/ndapcedmkdhhbmijnejgomlggjompapo
1•abhishekuniyalw•6m ago•1 comments

Agentic Cheminformatics with Google Antigravity

https://deepmind.google/blog/agentic-cheminformatics-with-google-antigravity/
1•xnx•6m ago•0 comments

A New Map of 'Empty' Space Challenges a Tranquil Picture of the Galaxy

https://www.quantamagazine.org/a-new-map-of-empty-space-challenges-a-tranquil-picture-of-the-gala...
1•digital55•6m ago•0 comments

Itch.io deletes terabytes of all the AI game and asset slop spam

https://frvr.com/blog/news/indie-storefront-itch-io-deletes-a-couple-terabytes-of-ai-slop-as-the-...
2•dude250711•7m ago•0 comments

Bugrewind

https://github.com/radwanalmsora/bugrewind
1•radwanAlmsora•7m ago•0 comments

Show HN: FinZot – financial planning Claude connector for US taxpayers

https://claude.ai/directory/finzot/
1•ryan3789437•10m ago•0 comments

192.0.64.0 – 192.0.127.255 IP Range

https://whois.arin.net/rest/net/NET-192-0-64-0-1.html
1•gregsadetsky•10m ago•0 comments

Raising the bar for 8 GB Windows 11 PCs: what's improved and how to get it

https://blogs.windows.com/windowsexperience/2026/11/03/raising-the-bar-for-8-gb-windows-11-pcs-wh...
2•meetpateltech•11m ago•0 comments

Brazil publishes first global 'roadmap' for phasing out fossil fuels

https://www.theguardian.com/environment/2026/nov/03/brazil-first-global-roadmap-phasing-out-fossi...
1•tosh•12m ago•0 comments

nRF7120: Nordic's ESP32 Competitor

https://www.nordicsemi.com/Products/nRF7120
1•hasheddan•12m ago•0 comments

Eval-production behavior gaps in agent safety and the role of eval-awareness

https://alignment.openai.com/eval-production-behavior-gap/
1•Klaster_1•12m ago•0 comments

Show HN: Vanilla-web skill to replace all JavaScript frameworks

https://github.com/baalimago/skills/tree/main/skills/vanilla-web
1•baalimago•12m ago•0 comments

Show HN: Bundle – I kept forgetting what I read, so I built a read-later app

https://bundle.ink/
1•bright_day•12m ago•1 comments

Love letter to future me (on interviewing as SWE)

https://blog.bitside.pl/posts/interview/
1•imhoguy•13m ago•0 comments

Libre Franklin Font

https://github.com/impallari/Libre-Franklin
1•saikatsg•13m ago•0 comments

Auditioning Engineering: Software Engineering Interviews in the Age of AI

https://tech.wmg.com/auditioning-engineering-4ca3d48bf457
1•wmg•14m ago•0 comments

Trump says US will end military aid to Israel by the end of this year

https://www.theguardian.com/us-news/2026/nov/03/donald-trump-usa-end-military-aid-to-israel-end-y...
4•prmph•15m ago•2 comments

Show HN: Who can publish to your NPM dependencies?

https://www.whosthere.dev/
1•babdelhadi•15m ago•0 comments

Lights out: the island that goes dark to save young seabirds

https://www.theguardian.com/environment/2026/oct/25/corvo-azores-corys-shearwaters-switch-off-sav...
1•giuliomagnifico•15m ago•0 comments

Show HN: Replacing Turn-Based LLM Agents with SQLite and System One Models

https://github.com/DevLoops-ai/unified-brain
1•Alexandros84•15m ago•0 comments

Funhorsefacts.com

https://funhorsefacts.com/
1•TechnicalImage•17m ago•0 comments

I Think AI Just Killed the Plugin Industry

https://www.youtube.com/watch?v=kVBXHzdCOP0
1•Betelbuddy•17m ago•0 comments