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

Report from Vietnam (1968) Walter Cronkite [video]

https://www.youtube.com/watch?v=kcSeecx-Z1E
1•pcfwik•39s ago•0 comments

Airtable: Rewriting Our Database in Rust

https://medium.com/airtable-eng/rewriting-our-database-in-rust-f64e37a482ef
1•awans•1m ago•0 comments

A workflow driven web framework for Clojure

https://mycelium-clj.github.io/docs/guestbook.html
1•yogthos•2m ago•1 comments

Show HN: An AI-powered digital night vision system with drone video feed

https://www.indiegogo.com/en/projects/atx-system/atx-shadow-x1-professional-ai-night-vision
1•lukascodes•2m ago•0 comments

The Start-Stop Problem

https://kramkarthik.com/the-start-stop-problem/
1•ramkarthikk•2m ago•0 comments

Trump makes questionable comments about young girls in 1992 video (2016)

https://www.youtube.com/watch?v=yRAPLodRnd4
1•marysminefnuf•4m ago•0 comments

Show HN: PlateSpinner – A Kanban board that orchestrates AI coding agents

https://github.com/moridinamael/platespinner
1•mordymoop•6m ago•0 comments

AI startup sues ex-CEO, saying he took 41GB of email and lied on Résumé

https://arstechnica.com/tech-policy/2026/03/ai-startup-sues-ex-ceo-saying-he-took-41gb-of-email-a...
1•pseudolus•8m ago•1 comments

Technical Beauty: FreeBSD Jails

https://vivianvoss.net/blog/technical-beauty-jails
3•vermaden•9m ago•0 comments

CSS Proves Me Human

https://will-keleher.com/posts/this-css-makes-me-human/
3•todsacerdoti•11m ago•0 comments

UK Gambling Commission explores how to keep bettors on licensed sites

https://www.coindesk.com/policy/2026/02/27/uk-s-gambling-watchdog-explores-allowing-gamblers-to-p...
1•PaulHoule•13m ago•0 comments

An IRC bot spawned the most prolific software [video]

https://www.youtube.com/watch?v=ohzzGy5K9Dk
1•todsacerdoti•15m ago•0 comments

Show HN: Auto-Co – 14 AI agents that run a startup autonomously (open source)

https://github.com/NikitaDmitrieff/auto-co-meta
1•formreply•15m ago•1 comments

Aldous Huxley on the Power of Technology (1961) [video]

https://www.youtube.com/watch?v=ZCOGFSwrGNc
2•mitchbob•16m ago•0 comments

Countries moving to ban social media for children

https://techcrunch.com/2026/03/06/social-media-ban-children-countries-list/
1•andrewstetsenko•17m ago•0 comments

White Collar Goes Blue

https://www.workingtheorys.com/p/white-collar
1•jger15•19m ago•0 comments

Research Shows Models Know Answers Before Finishing Chain-of-Thought Reasoning

https://www.simplenews.ai/news/research-shows-models-already-know-answers-before-finishing-chain-...
1•goldkey•20m ago•0 comments

Open-source LLM router with Thompson Sampling and energy-aware routing

https://github.com/beee003/astrai-router
1•bee003•20m ago•1 comments

Art Bits from Apple Macintosh HyperCard

https://archives.somnolescent.net/web/mari_v2/junk/hypercard/
1•TigerUniversity•20m ago•0 comments

Aigate – An OS-level sandbox for AI coding agents (Claude, Cursor)

https://github.com/AxeForging/aigate
1•oldestaxe•20m ago•1 comments

Fed clarifies capital rules for tokenized securities

https://www.theblock.co/post/392506/fed-clarifies-rules-tokenized-securities-framework-technology...
1•wslh•21m ago•0 comments

What if AI just makes us work harder?

https://www.ft.com/content/e8bb5ab1-4b4d-473e-8f76-e690443e9fb4
5•paulpauper•24m ago•1 comments

We Deserve Better Journals

https://igorpak.wordpress.com/tag/transactions-of-the-american-mathematical-society/
1•paulpauper•24m ago•0 comments

Is this man the future of US manufacturing?

https://thehustle.co/newsletters/04-03-2026
1•paulpauper•26m ago•0 comments

Every Coen Brothers Movie, Ranked

https://www.insidehook.com/film/every-coen-brothers-movie-ranked
2•RickJWagner•28m ago•1 comments

AI Has Amnesia. You're Paying. Blame the Architecture

https://solonai.com/grantai/essays/ai-amnesia
2•grant-ai•28m ago•0 comments

Where Are China's A.I. Doomers?

https://www.nytimes.com/2026/03/04/world/asia/china-ai-enthusiasm.html
4•bookofjoe•29m ago•2 comments

Parse, Don't Guess

https://event-driven.io/en/parse_dont_guess/
2•porada•29m ago•0 comments

Flock vs. FOIA: The Suppression Manual

https://haveibeenflocked.com/news/flock-vs-foia
2•wayathr0w•30m ago•1 comments

Managerial Abuse (1988)

https://developer.apple.com/library/archive/technotes/ov/ov_08.html#//apple_ref/doc/uid/DTS10002606
1•slugs19•30m ago•0 comments