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

How Judges Are Using AI to Help Decide Your Legal Dispute

https://www.wsj.com/tech/ai/how-ai-could-help-decide-your-next-legal-dispute-9cb12517
1•pseudolus•3m ago•1 comments

llcat: /usr/bin/cat for LLMs

https://github.com/day50-dev/llcat
1•lioeters•3m ago•0 comments

Media Player Classic Qute Theater

https://github.com/mpc-qt/mpc-qt
1•XzetaU8•5m ago•0 comments

Microsoft is retiring 'Send to Kindle' in Word

https://www.bleepingcomputer.com/news/microsoft/microsoft-is-retiring-send-to-kindle-in-word/
1•7777777phil•6m ago•0 comments

Think of Pavlov

https://boz.com/articles/think-pavlov
2•kiyanwang•12m ago•1 comments

Show HN: I built a fast, minimal Dota 2 counter tool to help me learn the game

https://dota2.tools/
1•lijinxuan•15m ago•1 comments

Show HN: Mac Cleaner, Offline That Fixes the "System Data" Problem

https://freeupmymac.com/
2•tonikami•16m ago•0 comments

Metadata Protection in Instant Messaging Applications: A Review

https://passthesalt.ubicast.tv/permalink/v126afbf79921jjt3bh1/
1•Ey7NFZ3P0nzAe•16m ago•0 comments

(Greenland) Our Friends in the North (2008)

https://bellacaledonia.org.uk/2008/12/01/our-friends-in-the-north/
1•nephihaha•17m ago•0 comments

Show HN: Qonvo – a group chat that turns conversations into live maps

https://qonvo.xyz
1•digi_wares•17m ago•0 comments

HexStrike AI on Kali with Roo Code

https://0ut3r.space/2026/01/11/hexstrikeai-setup/
1•h0ek•20m ago•0 comments

I released an app a year ago and I'm struggling to get users

https://www.solance.app
3•Solance•20m ago•5 comments

Using AI is no longer optional

https://ma.ttias.be/ai-no-longer-optional/
1•Mojah•20m ago•0 comments

My Scala journey from back end to chip verification

https://scala.ecofunctor.com/blog/7year_scala/
1•doofin•22m ago•0 comments

Show HN: Land Hunter – Real-time antipodes visualizer

https://true-size.com/game/land-hunter
1•dingnews•22m ago•1 comments

Show HN: PasteGuard – Self-hosted privacy proxy for LLMs

https://github.com/sgasser/pasteguard
2•sgasser•24m ago•1 comments

Show HN: We Identified a Counterfeit Pharmaceutical Product in Uzbekistan

https://yashsm01-glwdj.wordpress.com/2026/01/11/how-i-help-to-fight-counterfeit-pharmaceuticals-w...
1•yashsm01•24m ago•0 comments

Second hand is now better than new

https://www.honest-broker.com/p/why-secondhand-is-now-better-than
2•rwmj•27m ago•1 comments

Should I uninstall every GUI app I use?

1•ankushkun_•27m ago•0 comments

Create a semi-working desktop only based on runtime Windows 3.10 shipped with W

https://tech.lgbt/@nina_kali_nina/115871854239918291
2•todsacerdoti•31m ago•0 comments

India's surveillance state and the future of democracy

https://www.washingtonpost.com/opinions/2026/01/09/india-surveillance-state-democracy/
2•thunderbong•32m ago•1 comments

One Man Rowing Alone in the South Atlantic Rescued

https://www.helsinkitimes.fi/finland/finland-news/domestic/28401-rescue-of-finnish-rower-jari-saa...
1•SebaSeba•32m ago•1 comments

Disposable software as extended cognition – discussion on R/PhilosophyOfMind

https://www.reddit.com/r/PhilosophyofMind/s/Kw6t4rM7kq
2•mcauldronism•33m ago•0 comments

I Worked at a Google Data Center: What I Saw Will Shock You [video]

https://www.youtube.com/watch?v=wLX_w0TtBpY
1•mgh2•33m ago•0 comments

Investigating Record-Based Domain Models

https://coding-mischief.com/?p=1
1•luca_takahashi•34m ago•1 comments

Solving the Founder Control vs. Capital Dilemma with Modular Equity Tokens

https://zenodo.org/records/18209805
1•iam_pri_s•38m ago•1 comments

The Linux audio stack demystified(2024)

https://blog.rtrace.io/posts/the-linux-audio-stack-demystified/
1•birdculture•40m ago•0 comments

How Grok's nudification tool went viral

https://www.theguardian.com/news/ng-interactive/2026/jan/11/how-grok-nudification-tool-went-viral...
2•n1b0m•42m ago•0 comments

Joy and Curiosity #69

https://registerspill.thorstenball.com/p/joy-and-curiosity-69
1•swah•44m ago•0 comments

AI Systems Engineering Patterns – Alex Ewerlöf Notes

https://blog.alexewerlof.com/p/ai-systems-engineering-patterns
1•kiyanwang•44m ago•0 comments