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?

Agents will make your telemetry explode. You are not ready

https://shippingbytes.com/2026/05/21/agents-will-make-your-telemetry-explod/
1•speckx•1m ago•0 comments

We Reverse-Engineered Docker Sandbox's Undocumented MicroVM API

https://rivet.dev/blog/2026-02-04-we-reverse-engineered-docker-sandbox-undocumented-microvm-api/
1•yakkomajuri•2m ago•0 comments

Every new phone shape invalidates perfectly good cases

https://borisljevar.substack.com/p/the-climate-crisis-illusion-of-action
1•blnlx•3m ago•1 comments

Supervisor Agents Don't Exist Yet

https://notes.subhohalder.com/p/supervisor-agents-dont-exist-yet
1•subho007•3m ago•0 comments

Investigating unauthorized access to GitHub-owned repositories

https://github.blog/security/investigating-unauthorized-access-to-githubs-internal-repositories/
1•Brajeshwar•5m ago•0 comments

MailFlow, Selfhosted, Unified Webmail

https://mailflow.sh/
1•goldfish8543•5m ago•0 comments

Golang gRPC – CVE-2026-33186 Detail

https://nvd.nist.gov/vuln/detail/CVE-2026-33186
1•vismit2000•6m ago•0 comments

Hiring !!! Remote Jobs

1•saganrec•7m ago•0 comments

The biggest fault in vibe coding isn't the AI, it's how you command it

https://www.runscaffold.com/
1•chris_klaus•7m ago•1 comments

Agents Don't Fail on Intelligence, They Fail on Execution

https://fireworks.ai/blog/agent-execution-tax
1•giordanol•8m ago•0 comments

Rapatronic Camera

https://en.wikipedia.org/wiki/Rapatronic_camera
1•hyperific•8m ago•0 comments

I love AI assistants but objectively they're still terrible. (A Lefos review)

https://techstackups.com/articles/lefos-earendil-review/
1•sixhobbits•8m ago•0 comments

Grindslop

https://twitter.com/willmanidis/status/2057094527236665598
2•nadis•9m ago•0 comments

The Edge of Mathematics

https://www.theatlantic.com/technology/2026/02/ai-math-terrance-tao/686107/
1•Anon84•9m ago•0 comments

Stellantis and Wayve Partner

https://wayve.ai/press/stellantis-wayve-partnership/
1•anonymooooos•10m ago•0 comments

FBI faked a cryptocurrency to catch fraudulent market makers

https://xcancel.com/EvanLuthra/status/2057249779923702046
1•MrBuddyCasino•11m ago•0 comments

Deploying inference endpoints with PD disaggregation on AMD GPUs

https://dstack.ai/blog/amd-pd-disaggregation/
1•cheptsov•11m ago•0 comments

The Special Token `<Think>` Problem/Bug of Latest DeepSeek LLM

https://www.pixelstech.net/article/1779332017-the-special-token-%60%26lt-think%26gt-%60-problem-b...
1•misonic•11m ago•0 comments

1Password MCP Server for OpenAI Codex

https://1password.com/blog/1password-trusted-access-layer-for-openai-codex
3•winebarrel•13m ago•0 comments

Why $207M in AI Spend Hasn't Fixed Corporate Slide Decks

https://octigen.com/blog/posts/2026-05-11-ai-presentation-gap/
5•m_mueller•15m ago•0 comments

Inclusive Syntax: outdated tech terms and clearer alternatives

https://inclusivesyntax.com/
1•unknownhad•15m ago•1 comments

How to Safely Drop a Column in Rails

https://writesoftwarewell.com/safely-drop-columns-rails-ignored-columns
1•software_writer•16m ago•0 comments

Ask HN: Is the next big thing locally running coding agents?

1•baigy•17m ago•5 comments

Bluesky says the Kremlin is hacking their platform

https://www.nytimes.com/2026/05/21/business/bluesky-russia-hacking-accounts.html
3•NordStreamYacht•17m ago•0 comments

How we made our launch video with Claude Code (and open-sourced the tool)

https://kiln.tech/blog/we_made_our_launch_video_in_claude_code
2•scosman•17m ago•0 comments

Show HN: Freenet, a peer-to-peer platform for decentralized apps

https://freenet.org/
1•sanity•18m ago•1 comments

Why micropayments can't save news

https://werd.io/why-micropayments-cant-save-news/
1•benwerd•19m ago•0 comments

SQLite is the best home for AI agents

https://su3.io/posts/willow
1•losfair•19m ago•0 comments

Two Researchers Are Rebuilding Mathematics from the Ground Up

https://www.quantamagazine.org/two-researchers-are-rebuilding-mathematics-from-the-ground-up-2026...
2•Brajeshwar•20m ago•0 comments

Code as Agent Harness

https://code-as-harness.github.io/code-as-harness-webpage/
1•dmpetrov•21m ago•0 comments