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

The new European unicorns of 2026

https://techcrunch.com/2026/01/31/meet-the-new-european-unicorns-of-2026/
1•rippeltippel•47s ago•0 comments

Spurious Correlations

https://www.tylervigen.com/spurious-correlations
1•bookofjoe•1m ago•0 comments

First risk assessment of Moltbook – a social platform exclusively for AI agents

https://zenodo.org/records/18444900
1•sushant_gautam•3m ago•1 comments

Machinery and English Style (1904)

https://www.theatlantic.com/magazine/archive/1904/10/machinery-and-english-style/637506/
1•danidiaz•10m ago•0 comments

vibebin: code and host inside LXC (Incus) containers on your own VPS/server

https://github.com/jgbrwn/vibebin
1•indigodaddy•13m ago•0 comments

Construction of ESA's ambitious LISA mission begins

https://www.esa.int/Science_Exploration/Space_Science/LISA/Construction_of_ESA_s_ambitious_LISA_m...
1•zeristor•14m ago•0 comments

The Evidence: A Record of Observed Behaviour in External AI Systems

https://www.aivojournal.org/the-evidence-a-record-of-observed-behaviour-in-external-ai-systems/
1•businessmate•15m ago•1 comments

Show HN: Tesla Model Y Juniper First Drive

https://xthe.com/news/tesla-model-y-juniper-first-drive/
1•xthe•19m ago•0 comments

Show HN: I built a tool that generates 22-page competitor reports from your URL

https://champsignal.com/competitive-intelligence-report
1•maximedupre•21m ago•1 comments

OpenClaw: When AI Agents Get Full System Access. Security nightmare?

https://innfactory.ai:443/en/blog/openclaw-ai-agent-security/
1•i-blis•21m ago•0 comments

European and allied cybersecurity strategies shift from defence to offence

https://bindinghook.com/how-european-and-allied-cybersecurity-strategies-are-shifting-from-defenc...
1•campuscodi•23m ago•0 comments

Disgraced Crypto CEO Sam Bankman-Fried Seeks Trump Pardon with Republican Pivot

https://gizmodo.com/disgraced-crypto-ceo-sam-bankman-fried-seeks-trump-pardon-with-republican-piv...
6•pseudolus•27m ago•1 comments

Why I'll Never Drive a Modern Car Again [video]

https://www.youtube.com/watch?v=lEE2-QVnmTU
1•f311a•27m ago•0 comments

A simple HTTPS, HTTP/3, SSL and security headers checker I built with AI

1•dragonman•27m ago•0 comments

DuckDB Performance: File Formats

https://duckdb.org/docs/stable/guides/performance/file_formats
1•tosh•27m ago•0 comments

Leveraged Buyouts Are the Government's Fault

https://deadneurons.substack.com/p/leveraged-buyouts-are-the-governments
1•nr378•28m ago•0 comments

Open-source real-time interactive world model (LingBot-World)

https://www.lingbot-world.org/
1•awei•29m ago•0 comments

Show HN: Give your OpenClaw agent an email address

https://www.clawhub.ai/heyarviind/clawmail
1•heyarviind2•30m ago•0 comments

Amiga Unix (Amix)

https://www.amigaunix.com/doku.php/home
2•donatj•30m ago•0 comments

Show HN: Convert Step to STL Free Online Tool

https://pngtostl.xyz/convert/step-to-stl
1•niliu123•31m ago•0 comments

Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite

https://sqldef.github.io/
1•Palmik•31m ago•0 comments

Show HN: I built theme support in Tabularis – lightweight DB tool for developers

https://github.com/debba/tabularis
1•debba•31m ago•0 comments

Ask HN: Cheap, powerful AI programming now, what happens when we have no choice?

1•andrewstuart•33m ago•0 comments

Investigation alleges Meta has gained billions from fraudulent social media ads [video]

https://www.youtube.com/watch?v=Et-TOT5wzoE
2•mgh2•33m ago•1 comments

Show HN: Infiltrate Moltbook, the AI-Only Social Network

https://github.com/fritzprix/moltbook_break
1•72ave2•34m ago•0 comments

Wave 14: Arena Mode – May the Best Model Win

https://windsurf.com/blog/windsurf-wave-14
1•tosh•35m ago•0 comments

The Feeling of Power (1958)

https://en.wikipedia.org/wiki/The_Feeling_of_Power
2•_alaya•38m ago•0 comments

Listen to Understand

https://talk.bradwoods.io/blog/listen-to-understand/
1•bradwoodsio•38m ago•0 comments

The Story Behind ECMAScript 4 (2017)

https://auth0.com/blog/the-real-story-behind-es4/
1•m132•38m ago•0 comments

Minute Maid to Discontinue Frozen Orange Juice from Concentrate This Year

https://www.cbc.ca/news/business/minute-maid-discontinuing-frozen-juice-9.7065520
2•bookofjoe•40m ago•1 comments