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?

Show HN: A simple, free web app to track my portfolio across brokers

https://erincayaz.github.io/portfolio-tracker/
1•erinc951•47s ago•0 comments

Show HN: Brainstorm-MCP – Let GPT, DeepSeek, and Groq Brainstorm Together

https://github.com/spranab/brainstorm-mcp
1•spranab•1m ago•1 comments

Looks Like it is Happening

https://www.math.columbia.edu/~woit/wordpress/?p=15500
1•jjgreen•3m ago•0 comments

Ever wondered how Commodore 64 pixel art is still evolving today?

https://c64graphicsexplorer.com
1•angelday•3m ago•0 comments

Hosting the Olympics: the most expensive participation trophy

https://www.not-ship.com/hosting-the-olympics-the-worlds-most-expensive-participation-trophy/
1•speckx•4m ago•0 comments

Show HN: Disk Inventory X updated for Apple Silicon

https://diskinv.github.io/
2•lababidi•6m ago•1 comments

Anthropic's Responsible Scaling Policy: Version 3.0

https://www.anthropic.com/news/responsible-scaling-policy-v3
1•soheilpro•6m ago•0 comments

The End of Baseload Power as We Know It

https://finance.yahoo.com/news/end-baseload-power-know-200000114.html
1•epistasis•7m ago•0 comments

Apple's Touch-Screen MacBook Pro to Have Dynamic Island, New Interface

https://www.bloomberg.com/news/articles/2026-02-24/apple-s-touch-screen-macbook-pro-to-have-dynam...
2•jbredeche•7m ago•0 comments

Porting TeX from Pascal to TypeScript Using LLMs

https://hublog.hubmed.org/archives/002032
1•chl•7m ago•0 comments

Apple Accelerates US Manufacturing

https://www.apple.com/newsroom/2026/02/apple-accelerates-us-manufacturing-with-mac-mini-production/
2•haunter•8m ago•0 comments

Show HN: Bookie – Conquer the bookkeeping and accounting chaos of freelancing

https://www.bookie.tax/
1•nxnze•8m ago•0 comments

I built The Murderer's Lock – a security vault with a unique approach

https://murderers-lock-demo.vercel.app/
1•jennaleighwest•8m ago•1 comments

Using "Hi Claudette " on Claude.ai

2•mlongval•8m ago•1 comments

Contra Citrini

https://theautomatedoperator.substack.com/p/contra-citrini
2•idopmstuff•11m ago•0 comments

CoreWeave Seeks $8.5B Loan from Banks Backed by Meta Deal

https://www.bloomberg.com/news/articles/2026-02-24/coreweave-seeks-8-5-billion-loan-from-banks-ba...
1•toomuchtodo•11m ago•1 comments

The only FAA-registered ice runway in the continental US

https://www.nationalgeographic.com/adventure/article/alton-bay-ice-runway
2•divbzero•11m ago•0 comments

Accidental UI Calming

https://unsung.aresluna.org/accidental-ui-calming/
2•latexr•12m ago•0 comments

The React Foundation: A New Home for React Hosted by the Linux Foundation

https://react.dev/blog/2026/02/24/the-react-foundation
1•makepanic•13m ago•0 comments

Anthony Bourdain's Moveable Feast (2017)

https://www.newyorker.com/magazine/2017/02/13/anthony-bourdains-moveable-feast
1•mitchbob•14m ago•1 comments

To aficionados, fungi are freaky, mystical and overlooked

https://www.nhregister.com/news/article/to-afficionados-fungi-are-freaky-mystical-and-21357721.php
1•PaulHoule•16m ago•0 comments

The next generations of Bubble Tea, Lip Gloss, and Bubbles are available now

https://charm.land/blog/v2/
2•saberd•17m ago•0 comments

Make coverage charts page mobile-friendly

1•nishiohiroshi•17m ago•0 comments

Show HN: MiniVim a Minimal Neovim Configuration

https://github.com/KyanJeuring/minivim
2•kppjeuring•18m ago•0 comments

Show HN: Declarative open-source framework for MCPs with search and execute

https://hyperterse.com
2•samrith•20m ago•0 comments

Isolate SwiftUI animations to specific attributes

https://nilcoalescing.com/blog/IsolateSwiftUIAnimationsToSpecificAttributes/
2•maguszin•21m ago•0 comments

Show HN: CharityVerify – Trust scores for 138K Canadian charities

https://charityverify.com/
1•buchler•22m ago•0 comments

Lubeno.dev – Code hosting and collaboration with stacked PRs and JJ support

https://lubeno.dev
2•bkolobara•22m ago•1 comments

From AI Agent to Tamagochi?

https://mfranc.com/blog/speaking-to-ai-agent-ended-up-with-tamagochi/
2•janoz•23m ago•0 comments

Agentic system to find 0-days in binaries

https://substack.com/home/post/p-188916866
1•talhof8•23m ago•0 comments