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?

Show HN: Velo – Open-source, keyboard-first email client in Tauri and Rust

1•Espired•6m ago•0 comments

If Chatbots Can Replace Writers, It's Because We Made Writing Replaceable

https://thewalrus.ca/if-chatbots-can-replace-writers-its-because-we-made-writing-replaceable/
1•eon01•6m ago•0 comments

What Is OAuth?

https://leaflet.pub/p/did:plc:3vdrgzr2zybocs45yfhcr6ur/3mfd2oxx5v22b
2•cratermoon•7m ago•0 comments

Napkin Math

https://github.com/sirupsen/napkin-math
1•fagnerbrack•8m ago•0 comments

The Rise and Fall of Scala: A Love Letter to the Language That Broke My Heart

https://medium.com/@naveensky/the-language-that-made-me-feel-like-a-genius-until-it-didnt-my-brea...
1•b-man•10m ago•0 comments

Cord: Coordinating Trees of AI Agents

https://www.june.kim/cord
2•gfortaine•13m ago•0 comments

Heaven Has a Physical Location, a Physicist Claims

https://www.popularmechanics.com/science/a70423234/location-of-heaven/
1•nikolay•14m ago•3 comments

Facebook Is Doing A-Okay

2•givemeethekeys•15m ago•0 comments

Show HN: Share Your Ideas with the Community

https://novadev.vip/share/
1•SuperGamer474•16m ago•0 comments

Precise exceptions in relaxed architectures [video]

https://www.youtube.com/watch?v=JkNgZz4bu1E
1•matt_d•22m ago•1 comments

An Archaeological Dig Through the Extropian Archives

https://mtabarrok.com/extropia-archaeology
1•jdkee•23m ago•0 comments

India's Sarvam 105B LLM tops OCR benchmarks

https://timesofindia.indiatimes.com/technology/tech-news/explained-what-is-indias-sarvam-ai-model...
1•dyauspitr•23m ago•0 comments

Show HN: I created a beautiful number animation library for React Native

https://number-flow-react-native.awingender.com/
1•WingenderA•24m ago•0 comments

Correcting the Financial Times Report about AWS, Kiro, and AI

https://www.aboutamazon.com/news/aws/aws-service-outage-ai-bot-kiro
1•nonfamous•25m ago•0 comments

Show HN: I built a 55K-word email marketing knowledge base and Claude Code skill

https://www.emailmarketingskill.com/
2•cosmoblk•32m ago•0 comments

Little PAIPer – Learn computer science through Peter Norvig's teachings

https://lilpaiper.ai
1•vismit2000•32m ago•0 comments

Show HN: Universal ROS bridge for AI agents – control robots with LLMs

https://github.com/webthree549-bot/agent-ros-bridge
1•webthree549•36m ago•0 comments

The last-mile data problem is stalling enterprise agentic AI

https://theagenttimes.com/articles/the-last-mile-data-problem-is-stalling-enterprise-agentic-ai-g...
1•Ross00781•40m ago•0 comments

CFO says "Everyone uses Excel, definitely not Sheets. Get over it". True?

1•0xWTF•42m ago•4 comments

Stripe is holding $50K and refunding our customers

3•JohannesSchip•42m ago•0 comments

Claws are now a new layer on top of LLM agents

https://twitter.com/karpathy/status/2024987174077432126
4•Cyphase•44m ago•3 comments

SleepFM model predicts 130 conditions (C-Index >0.75) from one night of sleep

https://www.nature.com/articles/s41591-025-04133-4
2•marojejian•45m ago•1 comments

Information Wants to Be Surveiled

https://netwars.pelicancrossing.net/2026/02/20/information-wants-to-be-surveiled/
1•ColinWright•49m ago•0 comments

The Interest Rate on Your Codebase: A Financial Framework for Technical Debt

https://www.chiply.dev/post-technical-debt
1•gashad•49m ago•0 comments

Claude Code's compaction discards data that's still on disk

https://github.com/anthropics/claude-code/issues/26771
2•aciccarelli2•49m ago•1 comments

Show HN: Give your OpenClaw agent a face and voice with LiveKit and LemonSlice

https://github.com/openserv-labs/openclaw-voice-avatar
3•arbayi•50m ago•0 comments

Show HN: WatchTurm – an open-source release visibility layer I use in my work

2•WatchTurm•51m ago•0 comments

Show HN: Cellarium: A Playground for Cellular Automata

https://github.com/andrewosh/cellarium
2•andrewosh•53m ago•0 comments

Code Mode: give agents an API in 1k tokens

https://blog.cloudflare.com/code-mode-mcp/
2•janpio•54m ago•0 comments

Show HN: MephistoMail – A RAM-only, tracker-free disposable email client

2•benmxrt•54m ago•0 comments