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?

Running NanoClaw in a Docker Shell Sandbox

https://www.docker.com/blog/run-nanoclaw-in-docker-shell-sandboxes/
1•four_fifths•46s ago•0 comments

Free Models Router – OpenRouter

https://openrouter.ai/openrouter/free
2•twapi•1m ago•0 comments

Fair Use Blocks Privacy-Motivated Copyright Lawsuit–MCM vs. Perry

https://blog.ericgoldman.org/archives/2026/02/fair-use-blocks-privacy-motivated-copyright-lawsuit...
1•hn_acker•1m ago•0 comments

Route every OpenClaw request to the cheapest Claude model that can handle it

https://github.com/iblai/iblai-openclaw-router
1•tentativeuser•2m ago•1 comments

First ever inhalable gene therapy for cancer gets fast-tracked by FDA

https://www.newscientist.com/article/2515185-first-ever-inhalable-gene-therapy-for-cancer-gets-fa...
1•birriel•2m ago•0 comments

Show HN: Babylog – baby tracker built with OpenClaw from a hospital room

1•chand1012•3m ago•0 comments

Doc Edgerton a.k.a. "Papa Flash"

https://en.wikipedia.org/wiki/Doc_Edgerton
2•petethomas•4m ago•0 comments

Show HN: Design Inspiration for LLMs

https://fontofweb.com/mcp
1•sim04ful•6m ago•0 comments

Fault Injection

https://en.wikipedia.org/wiki/Fault_injection
1•downboots•9m ago•0 comments

Show HN: ClawCloud – Easy Hosted OpenClaw w 800 integrations, zero setup, BYOK

https://www.clawcloud.dev/
1•saroyas•11m ago•0 comments

Resist and Unsubscribe (Scott Galloway)

https://www.resistandunsubscribe.com
1•beatthatflight•12m ago•0 comments

Marcin Wichary: beautiful or interesting things at the Museum of Printing

https://mastodon.online/@mwichary/116071993928892953
1•sohkamyung•12m ago•0 comments

An attempt to make MicroVMs more accessible (SmolVM – Python SDK)

https://github.com/CelestoAI/SmolVM
1•theaniketmaurya•13m ago•1 comments

Ask HN: Why is Codeforces so slow?

1•bokshi•14m ago•0 comments

ETH Zurich audits Bitwarden cryptography against malicious server scenarios

https://bitwarden.com/blog/security-through-transparency-eth-zurich-audits-bitwarden-cryptography/
2•reubn•15m ago•0 comments

My 1981 adventure game is now a multimedia extravaganza

https://technologizer.com/home/2026/02/16/arctic-adventure-2026/
2•vontzy•17m ago•0 comments

Show HN: Deep Research for Flights

https://flightdeepresearch.com/
4•aiddun•18m ago•0 comments

The watchers: exposing OpenAI, the US government, and persona

https://vmfunc.gg/blog/persona/
5•vmfunc•18m ago•2 comments

Show HN: SIMD-accelerated, zero allocation CSV library in Zig

https://github.com/peymanmortazavi/csv-zero
1•peymo•19m ago•0 comments

MacOS26.4 displays warnings for apps that won't run after Rosetta 2 support Ends

https://www.macrumors.com/2026/02/16/macos-tahoe-26-4-rosetta-2-warnings/
1•sinnsro•20m ago•0 comments

MinIO went from open source darling to cautionary tale

https://news.reading.sh/2026/02/14/how-minio-went-from-open-source-darling-to-cautionary-tale/
1•articsputnik•21m ago•0 comments

Show HN: Kubernetes notes from the official docs using NotebookLM and vitepress

https://randomwrites.com/
1•mutahirs•22m ago•0 comments

Generative and Agentic AI Shift Concern from Technical Debt to Cognitive Debt

https://margaretstorey.com/blog/2026/02/09/cognitive-debt/
1•CharlesW•24m ago•0 comments

I built a coding agent two months before ChatGPT existed

https://solmaz.io/log/2026/02/13/coding-agent-before-chatgpt/
1•hosolmaz•25m ago•0 comments

Apple security bounties slashed as Mac malware grows

https://9to5mac.com/2025/12/02/apple-security-bounties-slashed-as-mac-malware-grows/
1•akyuu•25m ago•0 comments

The Mongol Khans of Medieval France

https://www.historytoday.com/archive/feature/mongol-khans-medieval-france
1•Thevet•26m ago•0 comments

You're Probably Pronouncing "Ubuntu" Wrong

https://www.rly0nheart.com/posts/youre-probably-pronouncing-ubuntu-wrong/
1•rly0nheart•26m ago•0 comments

Bun will support HTML bundling and inlining

https://twitter.com/jarredsumner/status/2023314405518352507
1•dvrp•27m ago•0 comments

What we lose when we extract and optimize thinking

https://kamilas.substack.com/p/eat-a-carrot
1•kamselig•27m ago•0 comments

2026 will not be the 'Year of Linux on the Desktop', and I'm glad

https://kevinboone.me/not_desktop.html
1•lr0•29m ago•1 comments