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

The Reasonable Conclusions

https://johnfn.substack.com/p/the-reasonable-conclusions
1•johnfn•1m ago•0 comments

Interactive Tools for Gaussian Splat Selection with AI and Human in the Loop

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

What I Learned Using Local Vision Models for Scraping

https://seanneilan.com/posts/scraping-target-with-qwen/
1•sneilan1•2m ago•1 comments

Intel "Nova Lake-S" Coming in 2027, CES Launch Alongside AMD "Olympic Ridge"

https://www.techpowerup.com/346613/intel-nova-lake-s-coming-in-2027-ces-launch-alongside-amd-olym...
1•Tuldok•2m ago•0 comments

Hackers Expose Age-Verification Software Powering Surveillance Web

https://www.therage.co/persona-age-verification/
3•speckx•10m ago•0 comments

End-to-End Test-Time Training for Long Context

https://arxiv.org/abs/2512.23675
2•handfuloflight•10m ago•0 comments

Show HN: Omni-Glass – Rust app that turns screen pixels into MCP tool calls

https://github.com/goshtasb/omni-glass
2•goshtasb•13m ago•0 comments

Show HN: Unbiassly – No more hiding behind cameras

https://unbiassly.com/
2•hashim21•14m ago•1 comments

The Origins of Computers on Overhead Projectors [video]

https://www.youtube.com/watch?v=uASRAWlDZQo
2•zdw•15m ago•0 comments

The Government Is Hiring Tech People Again

https://presentofcoding.substack.com/p/the-government-is-hiring-tech-people
2•brandonb•15m ago•0 comments

Cyber-attacks may disrupt smart factories by targeting time

https://www.uel.ac.uk/about-uel/news/2026/february/cyber-attacks-may-disrupt-smart-factories-targ...
2•geox•19m ago•0 comments

Can the government 'steal' equity from seized homes?

https://www.usatoday.com/story/news/politics/2026/02/21/supreme-court-equity-foreclosure-property...
2•SilverElfin•22m ago•0 comments

Polymorphic HOCs in React with TypeScript

https://jsdev.space/polymorphic-hocs-ts/
2•javatuts•26m ago•0 comments

SIMD in Pure Python (2024)

https://www.da.vidbuchanan.co.uk/blog/python-swar.html
2•macleginn•27m ago•0 comments

AI-augmented threat actor accesses FortiGate devices at scale

https://aws.amazon.com/blogs/security/ai-augmented-threat-actor-accesses-fortigate-devices-at-scale/
2•campuscodi•28m ago•0 comments

Who's liable when your AI agent burns down production?

https://reading.sh/whos-liable-when-your-ai-agent-burns-down-production-039193d82746?sk=4921ed2db...
3•zenoware•28m ago•1 comments

Opinion: How to Solve AI's 'Jagged Intelligence' Problem

https://undark.org/2026/02/19/opinion-jagged-intelligence/
2•EA-3167•29m ago•0 comments

Fighting games have a product design problem

https://cthor.me/Fighting-games-product-design
2•bentcorner•31m ago•0 comments

Show HN: My Degenerate Craps Simulator

https://infinitecraps.com/
2•nutwinkle•31m ago•0 comments

Shell Permission Errors for Busy Coding Agents

https://www.da.vidbuchanan.co.uk/blog/agent-perms.html
2•FrojoS•31m ago•0 comments

Emacs native/idiomatic Claude Code UI

https://github.com/gdanov/emacs-gravity
2•gdanov•32m ago•0 comments

Reshaping What Sustainable Cognition Looks Like

https://alanscottencinas.com/sustainable-cognition-ai-energy-architecture/
2•encinas88•33m ago•0 comments

Show HN: BetaZero, a diffusion climb generator for system boards

https://climb-frontend-production-21f5.up.railway.app
2•EvanMcCormick•35m ago•0 comments

Show HN: Ktop – a themed terminal monitor for GPU, CPU, RAM, temps and OOM kills

https://github.com/brontoguana/ktop
3•brontoguana•35m ago•0 comments

Software Devaluation Starts

https://medium.com/@ggonweb/software-devaluation-starts-79b1b925c012
5•ggonweb•36m ago•1 comments

Org Politics 101 – The Myth of the Just World (2013)

https://www.manager-tools.com/2013/04/politics-101-chapter-3-myth-just-world-part-1
2•walterbell•37m ago•0 comments

Self-Hosting

https://en.wikipedia.org/wiki/Self-hosting_(compilers)
1•tosh•39m ago•0 comments

Shandu – open-source DeepResearch system

https://github.com/jolovicdev/shandu
1•jolovicdev•42m ago•1 comments

Those who can, teach history

https://www.historytoday.com/archive/making-history/those-who-can-teach-history
1•hhs•43m ago•0 comments

Peter Steinberger on Hacker News

https://twitter.com/i/status/2025334681047015791
3•iamronaldo•43m ago•1 comments