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•1y 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•1y 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?

How to Make Sure AI Doesn't Spy on Us or Kill Innocent People

https://reason.com/video/2026/05/26/how-to-make-sure-ai-doesnt-spy-on-us-or-kill-innocent-people/
1•rendall•3m ago•0 comments

Monitor your store and competitors automatically

https://beaconmon.com
1•haimanotgetu•5m ago•1 comments

Career Evolution Simulator

https://www.tooldocket.com/2026/05/career-evolution-simulator.html
1•stoicstoic•6m ago•0 comments

Show HN: YouTube MCP – let your AI agent search YouTube for research

https://github.com/ZeroPointRepo/youtube-mcp
1•therohitdas•6m ago•0 comments

Windows' classic 3D Space Cadet pinball is getting a physical re-creation

https://arstechnica.com/gaming/2026/05/windows-classic-3d-space-cadet-pinball-is-getting-a-physic...
1•naves•7m ago•0 comments

An LLM Flies X-Plane [video]

https://www.youtube.com/watch?v=UiXcLURL7yo
1•marklit•8m ago•0 comments

How sure is the activation oracle?

https://arxiv.org/abs/2605.26045
1•evilscript•8m ago•0 comments

Anthropic's Dogma on US-China AI Competition

https://chinai.substack.com/p/anthropics-dogmatic-views-on-us-china
1•pretext•8m ago•0 comments

Claude, Author of the Humanitas

https://www.lesswrong.com/posts/wRNJZz2iYrfDaSDdz/claude-author-of-the-humanitas
1•doener•10m ago•0 comments

From Chatbot to Agentic Endpoint, and Beyond

https://yy8402.github.io/blog/agentic-ai-workspace/
1•yy8402•11m ago•0 comments

Why science is becoming less innovative

https://economist.com/graphic-detail/2026/05/25/why-science-is-becoming-less-innovative
3•andsoitis•11m ago•0 comments

Human Proof for FOSS Contributions

https://dillo-browser.org/lab/human-proof/
1•LaSombra•12m ago•2 comments

Spotify CEO defends AI music, wants you to stop calling it 'slop'

https://www.neowin.net/news/spotify-ceo-defends-ai-music-wants-you-to-stop-calling-it-slop/
4•bundie•12m ago•1 comments

Rethinking the Gnome Clipboard Issues

https://edu4rdshl.dev/posts/rethinking-the-gnome-clipboard-issues/
1•LaSombra•13m ago•0 comments

Why The Pentagon Went to War with Anthropic – ReasonTV [video]

https://www.youtube.com/watch?v=O1EWjfGBkmc
1•rendall•13m ago•0 comments

Even (very) noisy LLM evaluators are useful for improving AI agents

https://www.tensorzero.com/blog/even-very-noisy-llm-evaluators-are-useful-for-improving-ai-agents/
2•GabrielBianconi•14m ago•0 comments

China installs largest floating wind turbine in deep water test

https://www.livescience.com/technology/engineering/china-installs-worlds-largest-single-unit-floa...
2•doener•15m ago•0 comments

Architectural Katas

https://www.architecturalkatas.com/
1•baddash•18m ago•0 comments

Google broke syncing for Fitbit scales

https://support.google.com/googlehealth/thread/435191114/aria-air-doesn-t-sync-consistently?hl=en
3•clintonb•20m ago•2 comments

I work a full-time tech job and build SaaS on the side – the honest truth

https://medium.com/@walexy85/i-work-a-full-time-tech-job-and-i-am-building-saas-products-on-the-s...
2•joshuaajayi•22m ago•0 comments

AI Agents Plunged the Tech World into Chaos

https://www.wired.com/story/how-ai-agents-plunged-tech-world-into-chaos/
2•swolpers•22m ago•0 comments

DuckDuckGo Installs Increased 30% Amid Backlash to Google AI Search

https://firethering.com/duckduckgo-installs-google-ai-search-backlash/
1•steveharing1•29m ago•0 comments

Writing can help you escape AI delirium

https://cantible.com/@chris/posts/how-writing-can-help-you-escape-ai-delerium
2•cwbuilds•29m ago•0 comments

Versatility of Exasol with Agentic Engineering

https://www.exasol.com/blog/exasol-agentic-engineering/
2•fwberlin•31m ago•0 comments

France24 live stream is down since yesterday

https://www.france24.com/en/live
3•lastdong•31m ago•2 comments

Reckoning – GitHub Feedback Companion

https://github.com/SuperThinking/reckoning
1•superdhawan•34m ago•0 comments

Miniswift, SwiftUI Compiled in the Browser

https://miniswift.run/
2•lnrd•34m ago•0 comments

Unicode 18.0.0 Beta

https://www.unicode.org/versions/Unicode18.0.0/
2•birdculture•35m ago•0 comments

Show HN: Offline Typing Mastery

https://nodex.studio/products/typing-mastery.html
1•s3arch•37m ago•0 comments

Show HN: Awareen a screen time tracker that counts screen on time, not app time

https://github.com/Andebugulin/Awareen
1•Andebugulin•39m ago•0 comments