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?

Low Blow, Claude

https://twitter.com/tmuxvim/status/2029401883303915852
1•empressplay•3m ago•0 comments

Show HN: The Playwright GitHub Repositories Worth Studying

https://testdino.com/blog/playwright-github-repositories/
1•tanmay001•5m ago•1 comments

Teaching Coding Agents to Drive Cmux

https://www.bounds.dev/posts/teaching-claude-code-to-drive-cmux/
1•earthlinks•5m ago•1 comments

The cognitive cost of easy answers, a lesson from RL

https://safeenough.substack.com/p/exploration-exploitation-and-thinking
2•psychedare•5m ago•0 comments

Washington Post – In the Long Run, Wars Make Us Safer and Richer (2014)

https://www.washingtonpost.com/opinions/in-the-long-run-wars-make-us-safer-and-richer/2014/04/25/...
1•N_Lens•7m ago•1 comments

The Self-Help Trap: What 20 Years of "Optimizing" Has Taught Me

https://tim.blog/2026/03/04/the-self-help-trap/
1•bonefishgrill•12m ago•0 comments

Improving Django Admin UI with Django-unfold

https://unfoldadmin.com/
1•madatbay•16m ago•1 comments

A GB300 thread that running vLLM and SGlang on it

https://twitter.com/xu_paco/status/2029433226234868178
1•pacoxu2025•18m ago•0 comments

Show HN: Your AI Slop Bores Me

https://www.youraislopbores.me/
1•mikidoodle•18m ago•0 comments

Gogcli – Google in Your Terminal

https://github.com/steipete/gogcli
2•nstj•23m ago•0 comments

Show HN: Nemilia – multi-agent AI workspace in a single HTML file, no back end

https://github.com/luislopez1212/Nemilia
2•Nemilia•25m ago•0 comments

FFmpeg at Meta: Media Processing at Scale

https://engineering.fb.com/2026/03/02/video-engineering/ffmpeg-at-meta-media-processing-at-scale/
2•articsputnik•25m ago•0 comments

The New York Earth Room

https://www.niche-museums.com/117
2•Tomte•28m ago•0 comments

The Calm List

https://world.hey.com/raulp/the-calm-list-cb7be8f8
3•adrianthedev•28m ago•0 comments

I refused to pay $30/month for Superhuman so I built my own Gmail organizer

https://github.com/Lakshay1509/NeatMail
3•mafia15•30m ago•1 comments

Tuneithub.com turn any Markdown into Google Docs like collab

https://www.get-colibri.com/
3•mlysk•31m ago•1 comments

Remote contractors are now the new normal for businesses

2•emmanol•31m ago•0 comments

Muon: An optimizer for hidden layers in neural networks

https://kellerjordan.github.io/posts/muon/
2•tosh•33m ago•0 comments

modded-nanogpt: NanoGPT (124M) in 2 minutes

https://github.com/KellerJordan/modded-nanogpt
2•tosh•33m ago•0 comments

The day Iran buried Ayatollah Khomeini (2015) [video]

https://www.bbc.com/news/av/magazine-32938264
2•thomassmith65•39m ago•1 comments

Iraq suffers power grid blackout due to technical fault

https://www.reuters.com/business/energy/iraq-suffers-power-grid-blackout-due-technical-fault-2026...
3•yreg•40m ago•1 comments

Sneak peek at the redesigned Stack Overflow

https://stackoverflow.blog/2026/02/25/your-sneak-peek-at-the-redesigned-stack-overflow/
2•SerCe•41m ago•0 comments

How Vulnerable Are Computers to 80-Year-Old Spy Technique? Congress Wants Answer

https://www.wired.com/story/how-vulnerable-are-computers-to-an-80-year-old-spy-technique-congress...
2•walterbell•43m ago•0 comments

Zorin OS: The Alternative to Windows and macOS

https://zorin.com/
2•thunderbong•46m ago•1 comments

Google Play Store will shame developers of sloppy, battery-wasting apps

https://www.neowin.net/news/google-play-store-will-shame-developers-of-sloppy-battery-wasting-apps/
1•bundie•46m ago•0 comments

Show HN: The Forensic Mirror – Weaponizing LLMs for Cognitive Auditing

https://github.com/type-null/forensic-mirror
1•llmmirror•48m ago•1 comments

Writing about Agentic Engineering Patterns

https://simonwillison.net/2026/Feb/23/agentic-engineering-patterns/
1•kristianp•49m ago•0 comments

Ask HN: How valuable is production scale experience vs. LeetCode in startups?

2•winsongr•54m ago•0 comments

OpenBSD on SGI: A Rollercoaster Story

http://miod.online.fr/software/openbsd/stories/sgiall.html
2•brynet•55m ago•0 comments

Source code for Minecraft Legacy Console Edition has leaked online

https://spilled.gg/minecraft-legacy-console-edition-source-code-builds/
1•ObviouslyFlamer•56m ago•0 comments