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

GitHub Copilot: GPT-5.5 7.5x more expensive under promotional pricing than 5.4

https://docs.github.com/en/enterprise-cloud@latest/copilot/concepts/billing/copilot-requests
1•deaux•32s ago•0 comments

Firebase Competitor hits 1.3M Session Replays

https://rejourney.co/engineering/2026-04-23/rejourney-1-3-million-session-replays
3•mrashiddev•9m ago•0 comments

Turbo Vision 2.0 – a modern port

https://github.com/magiblot/tvision
1•andsoitis•11m ago•0 comments

Show HN: Built an AI that maps 17 facial dimensions and shows what to improve

https://realsmile.online
1•realsmile•12m ago•0 comments

138k LOC removed from Linux kernel to defend against LLMs

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=64edfa65062dc4509ba...
2•stroebs•12m ago•0 comments

Show HN: Collaborative sentence builder with real-time voting

https://www.sentensus.com/
1•cd-4•18m ago•0 comments

Explaining Projects Need to Scale

https://lowhangingdata.com/article/tool-job-fit/
1•mryagerr•29m ago•0 comments

ratarmount: Access large tarballs as a filesystem efficiently

https://github.com/mxmlnkn/ratarmount
1•sillysaurusx•31m ago•0 comments

Superfetation

https://en.wikipedia.org/wiki/Superfetation
2•leecoursey•33m ago•1 comments

When Your Digital Life Vanishes

https://www.newyorker.com/magazine/2026/04/27/when-your-digital-life-vanishes
1•mitchbob•37m ago•1 comments

I scraped Reddit for 51 founder complaints and turned them into 17 SaaS ideas

https://webmatrices.com/app-ideas
1•bishwasbh•38m ago•0 comments

Frontman is an open-source AI coding agent that lives in the browser

https://github.com/frontman-ai/frontman
1•danboarder•46m ago•0 comments

Need 12 testers for 14 days

1•apoorvdarshan•49m ago•0 comments

What's New in Firefox 150

https://www.firefox.com/en-GB/whatsnew/150/
1•dotcoma•49m ago•1 comments

A pipeline that forces AI to justify decisions before acting (I'm a florist)

https://github.com/anchor-cloud/solace-vera-observability
1•ammulnix•50m ago•0 comments

I just beat AI traders with math

https://pypi.org/project/sagan-trade/
3•thattechgeek•50m ago•2 comments

Global Telecom Exploitation by Covert Surveillance Actors

https://citizenlab.ca/research/uncovering-global-telecom-exploitation-by-covert-surveillance-actors/
2•pabs3•56m ago•0 comments

Show HN: Bunny Agent – Build Coding Agent SaaS via Native AI SDK UI

https://github.com/buda-ai/bunny-agent
1•chepy•56m ago•0 comments

The Observer Effect – Abelian Probability Theory

https://lcsig.github.io/Observer-Effect/
1•lcsig•1h ago•0 comments

Can jarrah forests be recovered after bauxite mining?

https://particle.scitech.org.au/earth-water/can-jarrah-forests-be-recovered-after-bauxite-mining/
2•defrost•1h ago•0 comments

Show HN: VT Code – Rust TUI coding agent with multi-provider support

https://github.com/vinhnx/VTCode
2•vinhnx•1h ago•0 comments

Musk Drops Fraud Claims Against OpenAI, Altman Ahead of Trial

https://www.bloomberg.com/news/articles/2026-04-25/musk-drops-fraud-claims-against-openai-altman-...
6•dancric•1h ago•0 comments

2026 Hugo Nominees

https://www.thehugoawards.org/hugo-history/2026-hugo-awards/
1•zmj•1h ago•0 comments

Midori Browser with VPN 11.7 has arrived

https://astian.org/midori-en/awesome-midori-11-7-with-vpn-has-arrived/
1•ponchale•1h ago•0 comments

Conspiracy about missing/dead scientists from online forums to the White House

https://apnews.com/article/scientists-missing-dead-conspiracy-theories-c046ce6d0a004e6a3e1971ff76...
2•EA-3167•1h ago•0 comments

AI Socratic – The Latest in AI of April 2026

https://aisocratic.org/blog/ai-socratic-april-2026
1•feulf•1h ago•1 comments

Why the Washington Post Lost in Virginia

https://www.semafor.com/article/04/22/2026/why-the-washington-post-lost-in-virginia
2•lando2319•1h ago•0 comments

BugBash'26 Keynote

http://muratbuffalo.blogspot.com/2026/04/bugbash26-keynote.html
2•zdw•1h ago•0 comments

ICLR 2026 Outstanding Papers

https://blog.iclr.cc/2026/04/23/announcing-the-iclr-2026-outstanding-papers/
1•matt_d•1h ago•0 comments

Kapton Tape

https://en.wikipedia.org/wiki/Kapton
2•lorenzohess•1h ago•0 comments