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?

Show HN: PokéPath TD – Free Pokémon tower defense game

https://pokepathgame.com
1•airobus•4m ago•0 comments

Building Privacy Preserving RAG with Homomorphic Encryption

https://www.subhashdasyam.com/2025/11/building-privacy-preserving-rag-with.html
1•dxsecarch•6m ago•0 comments

Question for Engineering Leaders

https://shadowscoping.com/
1•rezat•6m ago•1 comments

Rapid Validation of Product Concepts with AI

https://luvsheth.com/p/rapid-validation-of-product-concepts
1•Reviving1514•7m ago•1 comments

Somebody Build This

1•Caritaspax•9m ago•1 comments

Who's in charge of Venezuela and what happens next?

https://www.bbc.com/news/articles/crmlz7r0zrxo
3•SilverElfin•12m ago•1 comments

Show HN: CloudSlash – Find AWS waste and generate Terraform state rm commands

1•drskyle•13m ago•0 comments

AGI Is Here

https://www.robinsloan.com/winter-garden/agi-is-here/
2•cmod•16m ago•1 comments

'Chinese Peptides' Are the Latest Biohacking Trend in the Tech World

https://www.nytimes.com/2026/01/03/business/chinese-peptides-silicon-valley.html
1•bookofjoe•17m ago•1 comments

They Said AI Would Replace You by Now

https://www.youtube.com/watch?v=dH_UvWmvny0
1•cable2600•17m ago•0 comments

Americans Choosing Cremation at Historic Rates, NFDA Report Finds

https://nfda.org/news/media-center/nfda-news-releases/id/9772/americans-choosing-cremation-at-his...
2•toomuchtodo•17m ago•0 comments

Damn Vulnerable AI Bank – Practice AI Security

https://dvaib.com
1•dxsecarch•17m ago•0 comments

Show HN: A Android Color Detection Auto Clicker with no full-screen ads

1•dopifier•18m ago•0 comments

Berlin power outages after left-wing anarchist attack on power cables

https://www.irishtimes.com/world/europe/2026/01/04/berlin-power-outages-after-left-wing-anarchist...
3•wslh•24m ago•1 comments

Don't Forget the WAL: How I Lost SQLite Data in Podman Containers

https://bkiran.com/blog/sqlite-containers-data-loss
2•thunderbong•25m ago•1 comments

Wanderly AI Travel App Waitlist

https://waitlister.me/p/wanderly
1•CuylerM•25m ago•1 comments

During Helene, I just wanted a plain text website

https://sparkbox.com/foundry/helene_and_mobile_web_performance
19•CqtGLRGcukpy•35m ago•8 comments

Agent Orchestration Is Not the Future

https://moridinamael.github.io/agent-orchestration/
1•mordymoop•38m ago•1 comments

What is Agent context engine

https://ragflow.io/basics/what-is-agent-context-engine
1•yingfeng•40m ago•0 comments

Tempest Future Fighter Aims for "Extreme Range," Twice F-35 Payload

https://www.twz.com/air/tempest-future-fighter-aims-for-really-extreme-range-twice-f-35-payload
1•throwoutway•42m ago•0 comments

Politics and the English Language – George Orwell [Essay]

https://www.orwellfoundation.com/the-orwell-foundation/orwell/essays-and-other-works/politics-and...
3•nomilk•46m ago•0 comments

Show HN: Vho – AST-based analysis for better AI refactoring of large codebases

https://vue-hook-optimizer.vercel.app/
2•huali•46m ago•1 comments

vLLM: An Efficient Inference Engine for Large Language Models

https://www2.eecs.berkeley.edu/Pubs/TechRpts/2025/EECS-2025-192.html
2•matt_d•52m ago•0 comments

Linuxulator on FreeBSD Feels Like Magic

https://hayzam.com/blog/02-linuxulator-is-awesome/
6•arch1e•52m ago•0 comments

Ask HN: What app features actually help vocabulary stick long-term?

1•hussein-khalil•53m ago•2 comments

Ask HN: Is there a better alternative to email?

1•DinakarS•59m ago•1 comments

AI Safety ArXiv Scraper

https://theguardrail.net/
2•chiwilliams•1h ago•0 comments

Translating Cave Story into Classical Latin with Gemini

https://www.semilin.dev/blog/doukutsu-translator
2•semilin•1h ago•0 comments

Show HN: I Made a Gamma Clone with 1 Prompt

https://prompt-to-ppt.lovable.app/
1•nsemikey•1h ago•1 comments

Cool project, will you actually maintain it?

https://www.pcloadletter.dev/blog/cool-project/
3•ronbenton•1h ago•0 comments