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?

Will Claude Code ruin our team?

https://justinjackson.ca/claude-code-ruin
1•YounesDz•5m ago•0 comments

Agentic Email

https://martinfowler.com/bliki/AgenticEmail.html
1•jeffkumar•7m ago•1 comments

Ask HN: Any AI browswer that I can control by Claude Code?

1•johnnyfeng•8m ago•0 comments

AI found us before Google did

1•faruk_tugtekin•9m ago•0 comments

The web is bearable with RSS, Cory Doctorow

https://pluralistic.net/2026/03/07/reader-mode/
1•verisimi•9m ago•0 comments

Israel and the FBI manipulated assassination plots to goad Trump into Iran

https://thegrayzone.com/2026/03/06/israel-fbi-assassination-plots-trump-iran-war/
1•O1111OOO•10m ago•0 comments

Braided Essays

https://www.writersdigest.com/write-better-nonfiction/what-is-a-braided-essay-in-writing
1•marysminefnuf•10m ago•1 comments

Show HN: Pappardelle, a TUI for Multi-Clauding

https://github.com/chardigio/pappardelle
1•chardigio•12m ago•0 comments

Ask HN: Why do most analytics tools show what happened but not why?

1•HPSimulator•12m ago•0 comments

Death of the Flow State

https://1984commitlog.substack.com/p/week-10-the-death-of-flow-state
1•mdp•12m ago•1 comments

Show HN: Human Psychology Simulator – AI website conversion psychology

https://human-psychology-simulator.thequantumgrove.io/
1•HPSimulator•15m ago•0 comments

The Great AI Arbitrage

https://www.dodgycoder.net/2026/03/the-great-ai-arbitrage.html
1•damian2000•16m ago•0 comments

Show HN: A command center for CS students drowning in recruiting season

https://interviewtrackr.com
1•princierKevin•16m ago•0 comments

NASA Asteroid Observations Eliminate Chance of 2032 Lunar Impact

https://science.nasa.gov/blogs/planetary-defense/2026/03/05/new-nasa-asteroid-observations-elimin...
1•geox•17m ago•0 comments

Nexvira – a personal writing archive instead of a traditional blog

https://nexpul.blogspot.com/
1•Anomatrix•18m ago•1 comments

Show HN: I automated DJ Screw's chopped and screwed technique with Python+FFmpeg

https://github.com/samuelfrench/dj-screw-video-generator
1•samuelfrench9•21m ago•0 comments

Ask HN: Github Account Recovery after a 2fa loss

https://imgur.com/a/kJtR8U3
1•PonyoSunshine•24m ago•1 comments

Show HN: A dynamic, crowdsourced benchmark for AI agents

https://clawdiators.ai
1•shalinmehtaaa•34m ago•0 comments

Show HN: SiClaw – Open-source AIOps with a hypothesis-driven diagnostic engine

https://github.com/scitix/siclaw
2•SherryWong•36m ago•1 comments

The New Apple Begins to Emerge

https://parkerortolani.blog/2026/03/07/the-new-apple-finally-begins.html
1•arto•37m ago•0 comments

AirLLM optimizes inference memory usage

https://github.com/lyogavin/airllm
1•nreece•38m ago•0 comments

Give Up GitHub – Software Freedom Conservancy

https://sfconservancy.org/GiveUpGitHub/
2•nreece•40m ago•1 comments

AI Project Handoff Format

https://github.com/yy4uic-ai/ai-handoff-forma
1•yy4uic•45m ago•1 comments

Commit What You Know of Iran to the Flames

https://www.bloomberg.com/opinion/articles/2026-03-06/oil-shock-commit-what-you-know-of-iran-to-t...
1•petethomas•46m ago•1 comments

Show HN: DailyDefense – Daily tower defense for agents or humans

https://www.dailydefense.ai
1•pj4533•46m ago•0 comments

OpenAI robotics lead Caitlin Kalinowski quits in response to Pentagon deal

https://techcrunch.com/2026/03/07/openai-robotics-lead-caitlin-kalinowski-quits-in-response-to-pe...
4•SilverElfin•47m ago•1 comments

MonoGame: A .NET framework for making cross-platform games

https://github.com/MonoGame/MonoGame
1•azhenley•48m ago•0 comments

A23a was once the biggest in the world iceberg. Now it has just weeks left

https://www.bbc.co.uk/news/resources/idt-20f878f1-f4af-4022-9f62-b0515b9f4b20
1•reconnecting•48m ago•0 comments

Show HN: Too many AI SaaS launching every day so we built Arena where they fight

https://glad-ia-tor.com/
1•GiornoJojo•50m ago•0 comments

Show setup modal with confetti on coverage page when no CI data exists

1•nishiohiroshi•52m ago•0 comments