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

Digitization of the Old Town Astronomical Clock: One of Prague's Monuments

https://connect.geant.org/2025/12/17/digitization-of-the-old-town-astronomical-clock-cesnet-revea...
1•taubek•4m ago•0 comments

Claude Tool Search Tool

https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool
1•tin7in•5m ago•0 comments

The Successor to Research Unix Was Plan 9 from Bell Labs

https://www.theregister.com/2024/02/21/successor_to_unix_plan_9/
1•bmacho•5m ago•0 comments

AI Token Usage Leaderboard

https://jtpck.com/leaderboard
1•piratebroadcast•5m ago•0 comments

Show HN: Open Royalties – Fund projects with revenue sharing, not equity

https://openroyalties.org
1•aroussi•5m ago•0 comments

An early look at the Graphite 2D graphics editor

https://lwn.net/Articles/1051242/
1•sohkamyung•5m ago•0 comments

A Systems‑Level Architecture for Integrative Rejuvenation

https://forum.effectivealtruism.org/posts/aNmqSbya5FrG88eAf/a-systems-level-architecture-for-inte...
1•k_n_gk•9m ago•0 comments

Chinese Universities Surge in Global Rankings as U.S. Schools Slip

https://www.nytimes.com/2026/01/15/us/harvard-global-ranking-chinese-universities-trump-cuts.html
1•janpot•10m ago•0 comments

MapQuest: The Brief, Glorious Era of Printed Directions

https://multiverseemployeehandbook.com/blog/mapquest-the-brief-glorious-era-of-printed-directions/
2•TMEHpodcast•12m ago•0 comments

Ask HN: Does GitHub Copilot now leave unsolicited PR review comments?

1•blenderob•12m ago•1 comments

Why Kant and Sontag Cannot Speak Otherwise

https://jimiwen.substack.com/p/some-matters-on-taste
2•jimiwen•19m ago•0 comments

Vertical Solar Panels Survive Storms by 'Swaying' Like Trees

https://www.scientificamerican.com/article/vertical-solar-panels-wind-resistant-trackers-for-high...
1•sohkamyung•21m ago•0 comments

Cracking DXP and SXD

https://www.os2museum.com/wp/cracking-dxp-and-sxd/
1•ingve•22m ago•0 comments

Show HN: US Bank Statement Converter to Excel Ready for LLMs

https://usstatementconverter.com/
1•aleks5678•22m ago•1 comments

Show HN: Glot – Find internationalization issues in Next.js app

https://github.com/Sukitly/glotctl
1•sukit•22m ago•0 comments

Machado Presents Trump with Her Nobel Peace Prize Medal

https://www.nytimes.com/2026/01/15/world/americas/machado-trump-meeting-nobel-peace-prize.html
2•rootlocus•23m ago•0 comments

AI is just starting to change the legal profession

https://www.understandingai.org/p/ai-is-just-starting-to-change-the
2•s-macke•25m ago•1 comments

Bucketing optimization in SQL to deal with skewed data (BigQuery example)

https://smallbigdata.substack.com/p/bucketing-optimization-in-sql-to
1•tosh•28m ago•0 comments

What Was the Metaverse?

https://www.fastcompany.com/91467599/metaverse-zuckerberg-facebook-ai
1•agluszak•29m ago•0 comments

Building an agentic memory system for GitHub Copilot

https://github.blog/ai-and-ml/github-copilot/building-an-agentic-memory-system-for-github-copilot/
2•agluszak•29m ago•0 comments

World's Safest Airline Rankings for 2026

https://www.airlineratings.com/articles/worlds-safest-airlines-for-2026
2•austinallegro•31m ago•0 comments

Show HN: Native PyAnnote (speaker diarizer) in Rust

https://github.com/RustedBytes/pyannote-rs
1•yehors•32m ago•0 comments

Show HN: Automated tech news site with custom multi-LLM agent pipelines

https://wayr.today/how-it-works/
2•siddkgn•33m ago•2 comments

Just the Browser

https://justthebrowser.com/
4•cl3misch•34m ago•0 comments

McClatchy Media accuses Google in federal court of monopolizing online ad sales

https://www.miamiherald.com/news/business/article314325407.html
2•giuliomagnifico•35m ago•0 comments

Feldera's Visual Profiler

https://www.feldera.com/blog/introducing-feldera%27s-visual-profiler
2•lsuresh•40m ago•0 comments

UN treaty to protect 'extraordinary' marine life due to come into force

https://www.aljazeera.com/news/2026/1/16/un-treaty-to-protect-extraordinary-marine-life-due-to-co...
2•Qem•40m ago•0 comments

Show HN: Recursive Language Model for Querying Human Action by Ludwig von Mises

https://github.com/mateolafalce/human-action-rlm
1•lafalce•41m ago•0 comments

How Civilizations Fall: A Theory of Catabolic Collapse (2005) [pdf]

https://www.ecoshock.org/transcripts/greer_on_collapse.pdf
2•ColPanic•41m ago•1 comments

Simple data management for new prototypes

1•AndreyK1984•42m ago•0 comments