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?

First Paying Customer in 24h

https://www.founderspace.work
1•VladCovaci•20s ago•1 comments

Failure Intelligence for AI Systems

https://github.com/prateekdevisingh/kakveda
1•prateekdalal•22s ago•1 comments

Maestro – Autonomous dev platform with multi-reviewer AI safety pipeline

https://www.maestro-orchestrator.dev
1•Romricci•23s ago•0 comments

Which AI deep research agent is the current best?

https://newsletter.aimuscle.com/p/which-ai-deep-research-is-the-best
1•Sherveen•42s ago•0 comments

US Military used Anthropic's AI model Claude in Venezuela raid, report says

https://www.theguardian.com/technology/2026/feb/14/us-military-anthropic-ai-model-claude-venezuel...
1•krunck•42s ago•0 comments

Lobster: My Personal AI Assistant

https://www.omarknows.ai/p/meet-lobster-my-personal-ai-assistant
1•mooreds•43s ago•0 comments

Shielded x402 – private agent transactions

https://github.com/nhestrompia/shielded-x402
1•nhestrompia•55s ago•1 comments

Building a FOSS live streaming camera

https://blog.brixit.nl/building-a-custom-live-streaming-camera/
1•todsacerdoti•1m ago•0 comments

Website can help you find content that isn't AI-generated

https://www.theshortcut.com/p/this-website-can-help-you-find-content-that-isnt-ai-generated
1•dangle1•2m ago•0 comments

Find the Peak of an Array in C

https://lautarolobo.xyz/blog/find-peak-of-array-c/
1•lautarolobo•3m ago•0 comments

A 3-Instruction Forth for Embedded Systems Work (1991)

https://pages.cs.wisc.edu/~bolo/shipyard/3ins4th.html
1•tosh•3m ago•0 comments

Cognitive Scientist Writes a Startling Play About A.I. Authoritarianism

https://www.nytimes.com/2026/02/16/opinion/play-ai-authoritarianism.html
1•zzzeek•3m ago•0 comments

The Internet's Nihilism Crisis

https://www.theatlantic.com/technology/2026/02/internet-nihilism-crisis/686010/
1•throw0101a•4m ago•1 comments

Cherry, a filter for AI generated PRs

https://cherry.gethopp.app/
1•iparaskev•4m ago•1 comments

He worked on Wall Street for nearly 50 years

https://www.cnn.com/2026/02/16/business/us-stocks-dow-howard-silverblatt
1•mooreds•5m ago•0 comments

You Are Not Defined by Your Phone Number. It's OK to Change It

https://www.nytimes.com/2026/02/10/magazine/changing-your-phone-number.html
1•mooreds•5m ago•0 comments

Hubble Captures Clearest View Yet of Egg Nebula

https://www.sci.news/astronomy/hubble-egg-nebula-14546.html
1•bookofjoe•7m ago•0 comments

Can agentic coding raise the quality bar?

https://lpalmieri.com/posts/agentic-coding-raises-quality/
1•Philpax•7m ago•0 comments

Towards Fearless Macros

https://lambdaland.org/posts/2023-10-17_fearless_macros/
1•fanf2•9m ago•0 comments

China biotech licensing boom to hit record in 2026 as pipeline swells

https://www.reuters.com/sustainability/climate-energy/china-biotech-licensing-boom-hit-record-202...
1•xnhbx•10m ago•0 comments

Show HN: Woven-ECS – Multithreaded ECS framework for the web

https://woven-ecs.dev/
1•willholt•11m ago•0 comments

Show HN: MCP server that gives AI agents real interactive terminal sessions

https://github.com/amol21p/mcp-interactive-terminal
2•sleepycoder21•12m ago•0 comments

AI-powered robot vehicles team up to fight fires

https://news.griffith.edu.au/2026/02/16/ai-powered-robot-vehicles-team-up-to-fight-fires/
1•geox•13m ago•0 comments

Ask HN: If you needed to make $1000 in a week, what would be your strategy?

2•btcalex•14m ago•6 comments

Amazon scraps partnership with surveillance company after backlash

https://apnews.com/article/amazon-flock-super-bowl-surveillance-privacy-32b7d32a06d369bffe3ffdcdd...
1•1vuio0pswjnm7•14m ago•0 comments

Canadians Say They'll Buy Cheaper Chinese EVs as Tariffs Drop

https://www.bloomberg.com/news/articles/2026-02-16/canadians-say-they-ll-buy-cheaper-chinese-evs-...
2•toomuchtodo•14m ago•2 comments

Why Covid-19 is "a vascular disease masquerading as a respiratory one"

https://www.bmj.com/content/392/bmj.s31
3•caser•15m ago•0 comments

The "Epstein Files" and the anatomy of hidden social networks

https://manlius.substack.com/p/the-epstein-files-and-the-anatomy
1•Anon84•16m ago•0 comments

The OpenClaw Security Guide No One Wants to Write (But Everyone Needs)

https://medium.com/@alexrozdolskiy/the-openclaw-security-guide-no-one-wants-to-write-but-everyone...
1•todsacerdoti•16m ago•0 comments

The LLM Experience of BoreDOM

https://hugodaniel.com/posts/redesigning-boredom-for-lx/
2•hugodan•16m ago•0 comments