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•10mo 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•10mo 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?

Swedish Government proposes real-time AI facial recognition for police use

https://www.regeringen.se/rattsliga-dokument/proposition/2026/03/prop.-202526150
1•JuliusLam•3m ago•0 comments

Ask HN: Why has ChatGPT disabled links to websites?

1•krschacht•4m ago•0 comments

Show HN: Open-sourced a web client that lets any device use Apple's on-device AI

https://github.com/Techopolis/perspective-intelligence-web-community
1•tayarndt•4m ago•0 comments

Gaia – open-source assistant that does for actions what ChatGPT did for answers

2•DhruvMaradiya•5m ago•2 comments

Show HN: Zsh plugin to switch macOS Terminal.app profiles

https://github.com/sfcodes/zsh-terminal-profile
1•sfcodes•5m ago•0 comments

Vibe Coding Is Killing Open Source, and the Data Proves It

https://grith.ai/blog/vibe-coding-killing-open-source
1•edf13•6m ago•0 comments

Forest: Access-Aware GPU UVM Management

https://danglingpointers.substack.com/p/forest-access-aware-gpu-uvm-management
1•blakepelton•6m ago•0 comments

A Sojourn into the Stephen King Archive: 'The Dark Half'

https://lareviewofbooks.org/article/stephen-king-dark-half-revisited-archives-richard-bachman/
1•mooreds•6m ago•0 comments

The Cartography of Reason

https://www.samrith.dev/blog/the-cartography-of-reason/
1•mooreds•7m ago•0 comments

IaC Tooling: Build vs. Buy

https://newsletter.masterpoint.io/p/iac-tooling-build-vs-buy
1•mooreds•8m ago•0 comments

I Hired a Lab to Counterfeit-Test a Dozen Suspicious Beauty Products

https://www.nytimes.com/wirecutter/reviews/counterfeit-beauty-products/
1•cainxinth•8m ago•1 comments

Show HN: Kelos – Run Claude —dangerously-skip-permissions on Kubernetes

https://github.com/kelos-dev/kelos
1•gjkim042•8m ago•0 comments

Show HN: A weird thing that detects your pulse from the browser video

https://pulsefeedback.io/
1•kilroy123•11m ago•0 comments

Ask HN: How do you approach debugging production issues?

1•algocli•11m ago•0 comments

Thaura, your ethical AI companion

https://thaura.ai
1•level87•11m ago•0 comments

Composting Mobile Phones – Hosting server on obsolete mobile phones

https://wiki.comphost.club/
1•ibobev•13m ago•0 comments

Front End Engineers – Explore Patterns in JavaScript, React and Vue

https://www.patterns.dev/vanilla/
1•bqc•13m ago•0 comments

Decoding GPU Efficiency: The FLOPs Fallacy

https://clockwork.io/blog/decoding-gpu-efficiency-part-1-the-flops-fallacy/
1•gdcohen•14m ago•0 comments

PHP Reads

https://phpreads.com/
2•esher•14m ago•0 comments

Show HN: Focus Warden – Block sites, set time limits, and micro-learn

https://chromewebstore.google.com/detail/focus-warden/chgkcjgkhgcajpndkpibgbpglempcegb
1•EdwardK1•14m ago•0 comments

Sleep without pills: Why digital CBT gets 94% of insomnia patients to remission

https://medium.com/@6thMind/sleep-without-pills-why-digital-cbt-i-gets-94-of-insomnia-patients-to...
1•smanuel•15m ago•0 comments

The $599 MacBook Neo is Apple's cheapest Mac laptop yet

https://www.engadget.com/computing/laptops/the-599-macbook-neo-is-apples-cheapest-mac-laptop-yet-...
3•th33ngineer•15m ago•0 comments

Show HN: One Good Thing – one thought a day, then asks you to close the app

https://onegoodthing.space
1•supertim•16m ago•0 comments

Show HN: FindDates – one proposed time at a time, so only one slot gets blocked

https://date.malupp.com
1•rouuuge•16m ago•0 comments

Show HN: DNS-based MCP registry discovery – live demo at mcp.mariothomas.com

https://github.com/mariothomas/mcp-dns-registry
1•mariothomas•16m ago•1 comments

Apple Announces Low-Cost 'MacBook Neo' with A18 Pro Chip

https://www.macrumors.com/2026/03/04/apple-announces-low-cost-macbook-neo-with-a18-pro-chip/
10•vanburen•17m ago•0 comments

Study: Younger siblings spend more time on screens than big sisters and brothers

https://theconversation.com/our-study-shows-younger-siblings-spend-more-time-on-screens-than-big-...
1•PaulHoule•18m ago•0 comments

Survey of Open-Source Vision Language Models (2026)

https://blog.overshoot.ai/blog/vlm-survey-2026
1•YounElh•18m ago•1 comments

Ask LLM Agents to Classify Problems Before Starting

https://futuresearch.ai/merge-cardinality/
5•ddp26•18m ago•1 comments

Show HN: DailyStack – Aggregate your work tools into a 5-minute morning brief

https://dailystack.ai/
1•akinmaurice•18m ago•0 comments