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?

Karl Sims – Evolved Virtual Creatures (1994) [video]

https://www.youtube.com/watch?v=JBgG_VSP7f8
1•emmettm•28s ago•0 comments

Coherent Without Grounding, Grounded Without Success (Philosophy and LLMs)

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6168626
1•camilochs•1m ago•0 comments

Google Trust Services is having an outage

https://status.pki.goog/
1•FrasiertheLion•2m ago•0 comments

Show HN: Assembly Language for Agents

https://github.com/HuyNguyenAu/assembly_language_for_agents
1•vanilla-latte•3m ago•0 comments

Early Lisp history (1956 – 1959)

https://dl.acm.org/doi/10.1145/800055.802047
1•so-cal-schemer•3m ago•1 comments

Designing for Transparent Screens

https://design.google/library/transparent-screens
1•meetpateltech•5m ago•0 comments

Cryptographic Issues in Matrix's Rust Library Vodozemac

https://soatok.blog/2026/02/17/cryptographic-issues-in-matrixs-rust-library-vodozemac/
2•cendyne•7m ago•0 comments

Ollama vs. vLLM: When to Start Scaling Your Local AI Stack

https://www.sitepoint.com/ollama-vs-vllm-scaling-local-ai-stack/
1•mrnobody_67•7m ago•0 comments

Ask HN: Claude web blocked its assets visit via csp?

5•xgstation•11m ago•2 comments

Show HN: GPU-hot Dashboard for monitoring Nvidia GPUs on remote servers

https://psalias2006.github.io/gpu-hot/
2•github-trending•11m ago•0 comments

Heaper, a next-generation digital workspace

https://heaper.de/
1•dsego•12m ago•0 comments

Show HN: TabRush – Be fast, publish your ads

https://tabrush.app/
1•beratbozkurt0•14m ago•0 comments

Companies should ship CLIs, not MCPs

https://deadneurons.substack.com/p/companies-should-ship-clis-not-mcps
1•nr378•14m ago•0 comments

ICE reliance on Microsoft technology surged amid immigration crackdown

https://www.theguardian.com/us-news/2026/feb/17/ice-microsoft-technology-immigration-crackdown
2•barryvan•15m ago•0 comments

Rumors of AGI's arrival have been greatly exaggerated

https://garymarcus.substack.com/p/rumors-of-agis-arrival-have-been
3•samizdis•16m ago•0 comments

Neural mechanisms of one-shot perceptual learning in humans (2026)

https://www.nature.com/articles/s41467-026-68711-x
1•Quasimarion•16m ago•0 comments

Ball bearing as a clock pendulum [video]

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

Pg_stat_ch: Observe Postgres from ClickHouse

https://clickhouse.com/blog/pg_stat_ch-postgres-extension-stats-to-clickhouse
1•saisrirampur•18m ago•0 comments

Cancer's safety net: A hidden mechanism lets dangerous mutations thrive

https://medicalxpress.com/news/2026-01-cancer-secret-safety-net-hidden.html
1•PaulHoule•21m ago•0 comments

Io: A Unique World in Our Solar System [pdf]

https://lpl.arizona.edu/sites/default/files/publications/Unique_World_122022.pdf
1•thunderbong•21m ago•0 comments

Roast my language‑learning site (constructively lol)?

https://truefluency.org
1•TrueFluency123•23m ago•1 comments

Can we just build, build, build over history? A short film.

https://www.youtube.com/watch?v=L3_1dxGGRDw
1•didacusc•23m ago•0 comments

Show HN: NadirClaw, LLM router that cuts costs by routing prompts right

https://github.com/doramirdor/NadirClaw
1•amirdor•25m ago•1 comments

Show HN: Bashtorio – Factorio-Like in the Browser Backed by a Linux VM

https://bashtorio.xyz/
1•elijahcham•27m ago•0 comments

The Newest Old Tech in Warfare: Balloons

https://www.wsj.com/politics/national-security/the-newest-old-tech-in-warfare-balloons-0966e9af
1•jbegley•27m ago•0 comments

In Russia, the humble cucumber becomes latest symbol of rising wartime prices

https://www.reuters.com/world/europe/russia-humble-cucumber-becomes-latest-symbol-rising-wartime-...
1•petethomas•27m ago•0 comments

New Basho Translations from Romaji Japanese

https://github.com/ojhaugen15/romaji_translations
2•programmexxx•27m ago•0 comments

A lightweight system to reduce default in informal obligations

https://iou-wallet.com/
1•xklondon•27m ago•1 comments

The Heritage Foundation: Only 99 Cases of Noncitizen Voting Since 1982

https://thiswillhold.substack.com/p/only-99-cases-of-noncitizen-voting
4•geox•28m ago•2 comments

We cut Node.js' memory in half (so you don't have to)

https://blog.platformatic.dev/we-cut-nodejs-memory-in-half
1•cmsparks•28m ago•0 comments