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?

I ran 2,178 simulations on an autonomous AI economy

https://github.com/swimmingkiim/a2a-project/blob/main/docs/SIMULATION_PAPER_EN.md
1•swimmingkiim•35s ago•1 comments

Local storage for coding agents resolves amnesia

https://github.com/mobydeck/pantry
1•arthurpro•1m ago•0 comments

Ask HN: In the Age of AI, How Do I Grow as a Software Engineer?

1•mc-0•3m ago•0 comments

Show HN: Remote Coding Agent

https://github.com/tacogips/QraftBox
1•tacogips•3m ago•0 comments

Deaths in Ice Custody Texas

https://www.texastribune.org/2026/02/19/ice-detention-deaths-texas-east-montana-dilley-campos/
1•marysminefnuf•3m ago•0 comments

Claude Code in the cloud as an API (persistent workspace and scheduled jobs)

https://computer-agents.com
1•janlucasandmann•6m ago•1 comments

Beyond Slop – Why generative AI is stuck on content production, not expression

https://www.joelsimon.net/beyond-slop
2•joelS•6m ago•0 comments

Show HN: Ghostty-based terminal with vertical tabs and notifications

https://github.com/manaflow-ai/cmux
3•lawrencechen•8m ago•0 comments

Show HN: YAML SSH Task Runner

https://github.com/mikemasam/nyatictl
2•mikemasam•9m ago•0 comments

Show HN: StillOnAir – Turn YouTube into programmable, linear TV for free

https://www.stillonair.com/
2•nanamichael•9m ago•0 comments

In contrast with Trump's America, Europe's 100 gigawatt clean energy hub

https://www.cnn.com/2026/02/19/climate/trump-wind-europe-clean-energy-independence
3•asplake•10m ago•1 comments

ASCIIQuarium

https://robobunny.com/projects/asciiquarium/html/
1•threekindwords•10m ago•0 comments

Canada If Day, WW2, when "German" troops invaded Winnipeg

https://bsky.app/profile/cdnhistoryehx.bsky.social/post/3mf7y6sjumi2q
1•vinnyglennon•11m ago•0 comments

Cortex 1.6: Learning from the Way Things Unfold

https://sereact.ai/posts/cortex-1-6
1•pancakenetwork•11m ago•0 comments

Show HN: Skicamslive.com

https://skicamslive.com
1•mcoliver•12m ago•0 comments

Building an Agent SaaS with Cloudflare Containers

https://alec.is/posts/building-an-agent-saas-with-cloudflare-containers/
1•arm32•12m ago•0 comments

Show HN: Fn-p to Picture-in-Picture any macOS window

https://lowtechguys.com/pipiri/
1•alin23•13m ago•0 comments

Weather Intelligence for Smarter Sailing

https://incusgrid.com
1•cburgdorf•13m ago•0 comments

Taalas Hardcore Llama – the fastest inference on the planet

https://chatjimmy.ai
1•ljubisa_bajic•14m ago•1 comments

Apple Watch or Don't Bother

https://fireborn.mataroa.blog/blog/apple-watch-or-dont-bother/
1•samtheDamned•17m ago•0 comments

A psychedelic medicine performs well against depression

https://www.economist.com/science-and-technology/2026/02/19/a-psychedelic-medicine-performs-well-...
2•vinni2•17m ago•0 comments

The Beige Plague

https://journal.erratalabs.org/the-beige-plague
1•mldev_exe•17m ago•0 comments

Show HN: Receiver – Internet radio for GNOME with 30K pre-verified stations

https://github.com/meehow/receiver
1•meehow•18m ago•0 comments

Show HN: Hi.new – DMs for agents (open-source)

https://www.hi.new/
2•elieskilled•18m ago•0 comments

Ask HN: An approachable book on programming concepts/computer basics for a teen?

1•jamesgill•19m ago•2 comments

Malaysian Farmers Made a Fortune on Durian. Now It Is Piling Up

https://www.nytimes.com/2026/02/10/world/asia/durian-malaysia-china-demand.html
3•bookofjoe•20m ago•1 comments

'You can't just remove the cloud': US sprinting's reckoning before LA 2028

https://www.theguardian.com/sport/2026/jan/23/marvin-bracy-williams-doping-us-sprinting-paranoia
1•PaulHoule•20m ago•0 comments

Conductor removing support for Claude subscription authentication

https://twitter.com/charlieholtz/status/2024585923619590497
1•jrsj•21m ago•0 comments

A review of tumor-treating electric fields (TTFields): clinical advancements

https://pmc.ncbi.nlm.nih.gov/articles/PMC10476910/
1•CGMthrowaway•23m ago•0 comments

What's next for Chinese open-source AI

https://www.technologyreview.com/2026/02/12/1132811/whats-next-for-chinese-open-source-ai/
1•calcifer•26m ago•0 comments