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?

Ask HN: Disable/Destroy Kharg Island Preferable to Occupation?

1•giardini•1m ago•0 comments

I built an MCP server so your agent stops picking the wrong cloud services

https://github.com/Tlalvarez/Auxiliar-ai
1•thiagolalvarez•3m ago•0 comments

Show HN: CSV Analyzer – natural-language analysis, chat and preview, dashboards

https://csv-analyzer.up.railway.app/
1•bchhabra2490•3m ago•0 comments

Outdoor lighting remote control systems

https://miboxer.com/industry-news/embrace-the-freedom-the-advantages-of-wireless-remote-control-s...
2•miboxer•8m ago•0 comments

A Readable Specification of TLS 1.3

https://www.davidwong.fr/tls13/
1•subset•13m ago•0 comments

The Effect of War-Inflicted Environmental Damage on Free-Ranging Domestic Dogs

https://onlinelibrary.wiley.com/doi/10.1111/eva.70182
1•gdevillers•13m ago•0 comments

Building Useful Agents over Email

https://haulos.com/blog/building-agents-over-email/
2•s4i•15m ago•0 comments

LipoVive (Urgent Report) the Science Behind the Gelatin Trick for Metabolic

https://www.morningstar.com/news/accesswire/1138075msn/lipovive-reviews-shocking-2026-report-what...
1•tafynahu•16m ago•0 comments

macbonk – interactive macOS security hardening CLI

https://github.com/0xhsn/macbonk
2•7asan•21m ago•0 comments

The network is the database:data management for highly distributed system (2021)

https://dl.acm.org/doi/abs/10.1145/375663.375737
2•teleforce•24m ago•0 comments

The Curious Case of Retro Demo Scene Graphics

https://www.datagubbe.se/aipixels/
3•zdw•27m ago•0 comments

Stanford study reveals AI vision models invent images they never see

https://arxiv.org/abs/2603.21687
2•LionTurtle13•30m ago•0 comments

A history of styling choices leading to native CSS

https://cassidoo.co/post/css-todometer/
1•cassidoo•32m ago•0 comments

Show HN : DrawX - Excalidraw with Back End

https://drawx.ossy.dev
2•postatic•37m ago•1 comments

Helping disaster response teams turn AI into action across Asia

https://openai.com/index/helping-disaster-response-teams-asia
2•surprisetalk•38m ago•0 comments

Tech CEOs suddenly love blaming AI for mass job cuts. Why?

https://www.bbc.com/news/articles/cde5y2x51y8o
3•tartoran•40m ago•0 comments

About the growing verification debt in software

https://clifford.ressel.fyi/blog/cost-to-implement-vs-verify/
3•csressel•40m ago•0 comments

Dow Doubles Plastics Price Hike as Iran War Blocks Supply Route

https://www.wsj.com/livecoverage/iran-war-us-israel-news-updates-2026/card/dow-doubles-plastics-p...
2•walterbell•41m ago•0 comments

President Trump Gaggles with Press on Air Force One En Route

https://www.npr.org/2025/09/08/nx-s1-5526066/leni-riefenstahl-nazi-filmmaker-new-documentary
3•KnuthIsGod•43m ago•3 comments

Show HN: Eli5.cc – type any topic, get a simple explanation and visual diagram

https://eli5.cc
1•digi_wares•43m ago•1 comments

Social Media Addiction Trial Should Lead to Platform Redesigns

https://spectrum.ieee.org/social-media-trial
1•jruohonen•44m ago•0 comments

A look at what's possible with BPF arenas (2025)

https://lwn.net/Articles/1019885/
2•teleforce•51m ago•0 comments

Ask HN: Best bank for new startup in the US

1•thepace•51m ago•0 comments

Tribe v2: Predictive Foundation Model on Human Brain Processing Complex Stimuli

https://ai.meta.com/blog/tribe-v2-brain-predictive-foundation-model/?_fb_noscript=1
2•walterbell•53m ago•0 comments

HD Audio Driver for Windows 98SE / Me

https://github.com/andrew-hoffman/wdmhda
10•userbinator•54m ago•0 comments

Towards end-to-end automation of AI research

https://www.nature.com/articles/s41586-026-10265-5
3•baylearn•55m ago•0 comments

Excel2r – R package that migrates Excel workbooks to standalone R scripts

https://github.com/emantzoo/excel2r
2•bthallplz•58m ago•0 comments

Apple scales back its AI ambitions and sticks to selling hardware

https://www.neowin.net/news/report-apple-scales-back-its-ai-ambitions-and-sticks-to-selling-hardw...
4•bundie•1h ago•0 comments

Eval Set Generaton - accelerate your eval workflow

https://dutchmanlabs.com/
1•thesarsour•1h ago•0 comments

LLMnesia – Local-first search across your AI conversations

https://chromewebstore.google.com/detail/llmnesia/leekfgbdojiaabifbjbbgiiclannjdkf
2•keiranflynn•1h ago•0 comments