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

Deep Thinking: Where Machine Intelligence Ends and Human Creativity Begins

https://www.kasparov.com/deep-thinking-ai/
1•chhenning•41s ago•0 comments

Just Change the Key

https://www.johndcook.com/blog/2025/12/11/just-change-the-key/
1•ibobev•47s ago•0 comments

Berlin Approves New Expansion of Police Surveillance Powers

https://reclaimthenet.org/berlin-approves-new-expansion-of-police-surveillance-powers
1•robtherobber•1m ago•0 comments

Gist of Go: Concurrency is out

https://antonz.org/go-concurrency-released/
1•ibobev•1m ago•0 comments

Show HN: CyberLoop – A control-loop architecture for stable LLM agents

https://github.com/roackb2/cyberloop
1•roackb2•2m ago•1 comments

TiddlyWiki – a non-linear personal web notebook

https://tiddlywiki.com/
1•sogen•2m ago•0 comments

Show HN: Radiotron (alpha) a Fast Medical Segmentation and Visualization Tool

https://nicktasios.nl/radiotron/
1•Grieverheart•2m ago•0 comments

Show HN: A diagram a code rendering tool for network documentation

https://drawthenet.io/
1•ratchetclank•4m ago•0 comments

Meta Reportedly Set to Raise VR Headset Prices, Keep Existing Devices Longer

https://www.roadtovr.com/meta-quest-3-price-hike-report/
1•rob74•5m ago•0 comments

Oral Exams Improve Engineering Student Performance, Motivation (2023)

https://today.ucsd.edu/story/oral-exams-improve-engineering-student-performance-motivation
1•sonabinu•6m ago•0 comments

Ask HN: The AGI Race That Might Not Be a Race

1•razodactyl•6m ago•0 comments

Towards Modeling Road Access Deprivation in Sub-Saharan Africa

https://arxiv.org/abs/2512.02190
1•PaulHoule•6m ago•0 comments

Oasis: Pooling PCIe Devices over CXL to Boost Utilization

https://dl.acm.org/doi/10.1145/3731569.3764812
1•blakepelton•6m ago•1 comments

Will blockbuster obesity drugs revolutionize addiction treatment?

https://www.nature.com/articles/d41586-025-03911-x
1•qnleigh•10m ago•0 comments

White House Turning to Private Firms in Cyber Offensive

https://www.bloomberg.com/news/articles/2025-12-12/trump-administration-turning-to-private-firms-...
2•newer_vienna•10m ago•0 comments

New York's Best Espresso? (2002)

https://www.nytimes.com/2002/05/15/dining/critic-s-notebook-new-york-s-best-espresso.html
1•nivethan•11m ago•1 comments

CM0 – a new Raspberry Pi you can't buy

https://www.jeffgeerling.com/blog/2025/cm0-new-raspberry-pi-you-cant-buy
3•speckx•11m ago•0 comments

Stanford Medicine study shows mRNA-based Covid-19 vaccines can cause myocarditis

https://med.stanford.edu/news/all-news/2025/12/myocarditis-vaccine-covid.html
2•DeusExMachina•11m ago•0 comments

Nicaea: The council that shaped the West

https://engelsbergideas.com/notebook/nicaea-the-council-that-shaped-the-west/
1•teleforce•12m ago•0 comments

Show HN: Quorum – Multi-agent CLI debates (AutoGen back end and React/Ink TUI)

https://github.com/Detrol/quorum-cli
1•Detrol•12m ago•0 comments

Intel has tested chipmaking tools from firm with sanctioned China unit

https://www.reuters.com/world/china/intel-has-tested-chipmaking-tools-firm-with-sanctioned-china-...
1•payamb•14m ago•0 comments

Show HN: Dssrf – A safe‑by‑construction SSRF defense library for Node.js

1•relunsec•15m ago•0 comments

Beyond Data Filtering: Knowledge Localization for Capability Removal in LLMs

https://arxiv.org/abs/2512.05648
1•yorwba•15m ago•0 comments

Anyone used clear aligners like Smile White?

https://www.smilewhite.co.uk/
1•trooperbill•17m ago•0 comments

Rivian Reveals New AI Assistant, Lidar, and Autonomous Driving Coming in 2026

https://gizmodo.com/rivian-reveals-new-ai-assistant-lidar-and-autonomous-driving-coming-in-2026-2...
1•frozenseven•18m ago•0 comments

The Ring, the Holon, and the Revenge of the Objective

https://estebanandthecollective.substack.com/p/the-ring-the-holon-and-the-revenge
1•asplake•21m ago•0 comments

AI that reads your Git history so you don't have to write status reports

1•slmslm•21m ago•0 comments

Show HN: PageSpeak – Talk to book characters in their world or ours

https://www.pagespeak.ai/books
1•drkph•21m ago•0 comments

Amazon pledges $35B worth of investments in India with AI focus

https://www.cnbc.com/2025/12/10/amazon-pledges-35-billion-investments-in-indias-ai-space-through-...
1•gmays•22m ago•0 comments

Show HN: TubeDL – Native macOS video downloader built on yt-dlp

https://tubedl-landing.vercel.app/
1•ricky_trujillot•22m ago•0 comments