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?

Official Kotlin Support for Visual Studio Code Is Now Available in Alpha

https://blog.jetbrains.com/kotlin/2026/05/official-kotlin-support-for-visual-studio-code-is-now-a...
1•philonoist•1m ago•0 comments

Did a British SMS Honeypot Discover Election Fraud in the US Midterms?

https://commsrisk.com/did-a-british-sms-honeypot-discover-election-fraud-in-the-us-midterms/
1•edoloughlin•5m ago•0 comments

Ask HN: JumpCloud Billing and Cancellation

1•sgammon•10m ago•0 comments

2028: Two scenarios for global AI leadership

https://www.anthropic.com/research/2028-ai-leadership
4•gmays•13m ago•0 comments

Multi-Agent Orchestration System: Hermes (Windows) ↔ OpenClaw (WSL)

https://github.com/YOUR_USERNAME/hermes-openclaw-orchestration
2•theG0DSMACKED•15m ago•0 comments

Austrian Power Giants

https://www.apg.at/en/projects/austrian-power-giants-1/
1•Kaibeezy•17m ago•0 comments

Learn Anything with Lesson Generator Skill

https://github.com/dair-ai/dair-academy-plugins/blob/main/plugins/lesson-generator/skills/lesson-...
1•omarsar•17m ago•0 comments

AI writes x86_64 asm and eBPF for fractals on /dev/fb0, in a browser VM

https://zozo123.github.io/wolfram-fb0/
1•zozo123-IB•18m ago•0 comments

Squares in Squares

https://kingbird.myphotos.cc/packing/squares_in_squares.html
2•carlos-menezes•21m ago•0 comments

Stop Wasting Tokens on Android Automation

https://handsets.dev/blog/stop-wasting-tokens-on-android-automation/
2•gaojiuli•21m ago•0 comments

Kysely 0.29

https://github.com/kysely-org/kysely/releases/tag/v0.29.0
1•bundie•21m ago•0 comments

Bursting the AI Bubble: Fed Could Take Away the "Who Could Have Known?" Defense

https://deanbaker22.substack.com/p/bursting-the-ai-bubble-the-fed-could
3•bediger4000•23m ago•1 comments

Show HN: Pro Health Ledger – An open-source, net-neutral reputation system

1•muglikar•23m ago•0 comments

Microsoft's 6502 BASIC is now Open Source (2025)

https://opensource.microsoft.com/blog/2025/09/03/microsoft-open-source-historic-6502-basic/
2•GTP•24m ago•0 comments

I Made the Same Game in Unity and Godot, Which Engine Is Better [video]

https://www.youtube.com/watch?v=WB7v-ezqcJM
1•HelloUsername•28m ago•0 comments

25 years, 793,199 fashion records: non-White models 4.5× more likely plus-size

https://www.pnas.org/doi/10.1073/pnas.2602380123
9•falconer2vi•29m ago•4 comments

Lupine: A GPU-over-IP Bridge

https://github.com/lupinemachines/lupine
1•kevmo314•36m ago•0 comments

Oxia ― Metadata Store and Coordination System

https://oxia-db.github.io/
1•mooreds•36m ago•0 comments

Getting the (staff) title where you are

https://staffeng.com/guides/getting-the-title-where-you-are/
2•mooreds•37m ago•1 comments

DeepSeek reasonix, DeepSeek native coding agent with high caching and low cost

https://esengine.github.io/DeepSeek-Reasonix/
4•Alifatisk•39m ago•0 comments

Mouthwords

https://everythingchanges.us/blog/mouthwords/
1•mooreds•40m ago•0 comments

OpenAI co-founder Andrej Karpathy joins Anthropic

https://www.axios.com/2026/05/19/anthropic-openai-karpathy-andrej-claude
2•synapsehub_ai•40m ago•1 comments

Russell's Paradox [video]

https://www.youtube.com/watch?v=ymGt7I4Yn3k
2•stormdennis•42m ago•0 comments

'He refused to quit:' 27-year walk around the world

https://www.rmoutlook.com/mountain-guide/he-refused-to-quit-fundraiser-for-man-on-27-year-walk-ar...
2•Kaibeezy•43m ago•0 comments

Constraint Decay: The Fragility of LLM Agents in Back End Code Generation

https://arxiv.org/abs/2605.06445
3•wek•45m ago•0 comments

Show HN: A picker that maps local LLMs to hardware, hardware to LLMs

https://llmrequirements.com/
2•truetotosse•49m ago•1 comments

Alyx – Crypto Portfolio Dashboard on New Tab

https://chromewebstore.google.com/detail/alyx-—-crypto-portfolio-d/nmchlndcajncggcpeokebegjhlje...
2•Teyz•54m ago•0 comments

Your Clippy Config Should Be Stricter

https://emschwartz.me/your-clippy-config-should-be-stricter/
2•blenderob•58m ago•0 comments

The guide to RL environments: building and scaling them in the LLM era

https://huggingface.co/spaces/AdithyaSK/rl-environments-guide
2•kunalsin9h•59m ago•0 comments

PromptVC

https://www.promptvc.io/blog/introducing-promptvc
2•justicea83•1h ago•0 comments