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

Server managed SQLite for multi-tenant? Open-source idea

https://old.reddit.com/r/sqlite/comments/1rra3ln/comment/oa6xnvi/
1•websku•58s ago•1 comments

Five layers from writing code to writing companies

https://engineering.taktile.com/blog/five-layers-from-writing-code-to-writing-companies/
1•joostrothweiler•1m ago•0 comments

Hackable single-file console file manager powered by uv with S3/GCS support

https://github.com/begoon/xc
1•begoon•2m ago•0 comments

Show HN: Update] StocksAnalyzer – Compare two stocks side-by-side

https://www.stocksanalyzer.app/compare
1•JuGaDev•2m ago•0 comments

The Shape of the Thing

https://www.oneusefulthing.org/p/the-shape-of-the-thing
1•andyjohnson0•3m ago•0 comments

Invoice OCR API for Logistics Expense Tracking Automation

1•azapi_ai•3m ago•0 comments

Rust and LLMs: The Compiler Does What Code Review Shouldn't Have To

https://blog.rezvov.com/rust-and-llms-the-compiler-does-what-code-review-shouldnt-have-to
1•alexrezvov•4m ago•0 comments

SBOM Adoption on PyPI Is at 1.58%. We Can Do Better

https://sbomify.com/2026/03/12/pypi-sbom-analysis/
1•mvip•5m ago•0 comments

Blue-LIRIC in rabbit cornea: efficacy, effects, and repetition rate (2022)

https://pmc.ncbi.nlm.nih.gov/articles/PMC9045900/
1•tempestn•9m ago•0 comments

One of Our Credit Card

https://honeypot.net/2026/03/12/one-of-our-credit-card.html
1•speckx•10m ago•0 comments

Blader/humanizer: Claude Code skill to remove AI-generated tells from writing

https://github.com/blader/humanizer
1•fragmede•11m ago•0 comments

JSFX on Fedora Linux: an ultra-fast audio prototyping engine

https://fedoramagazine.org/jsfx-on-fedora-linux-an-ultra-fast-audio-prototyping-engine/
1•ycollet•11m ago•0 comments

Design-Driven AI Development

https://ambitious-hosta-5ce.notion.site/Design-Driven-AI-Development-32254f55890480e48d55d86970f5...
1•DevManCry•12m ago•1 comments

'Devastating blow': Atlassian lays off 1,600 workers ahead of AI push

https://www.theguardian.com/technology/2026/mar/12/atlassian-layoffs-software-technology-ai-push-...
2•birdculture•17m ago•0 comments

2026 State of SaaS Report

https://seedium.io/offers/saas-market-report-2026/
1•seedium_tech•23m ago•0 comments

Show HN: Outsmart – a 5-round betting game against the computer

https://labs.davidbauer.ch/outsmart/
2•davidbauer•28m ago•0 comments

Pi-Autoresearch

https://github.com/davebcn87/pi-autoresearch
2•tin7in•29m ago•0 comments

Show HN: A small macOS app to send push notifications to the iOS Simulator

https://github.com/gogson/ios-simulator-push-notifier
2•opafan•32m ago•0 comments

Real-time filters for the web using Lucene query syntax

https://firehose.com
2•perks_12•34m ago•0 comments

Vite+ Alpha: Unified Toolchain for the Web (MIT License)

https://voidzero.dev/posts/announcing-vite-plus-alpha
7•cpojer•35m ago•0 comments

Becoming a Forest Civilisation

1•rando77•35m ago•0 comments

Agent Experience: Sentry vs. TrackJS vs. RayGun

https://techstackups.com/comparisons/ax-sentry-vs-trackjs-raygun/
2•ritzaco•36m ago•0 comments

How to use storytelling to fit inline assembly into Rust

https://www.ralfj.de/blog/2026/03/13/inline-asm.html
3•ingve•38m ago•0 comments

Enterprise Digital Budgets Are Shifting Away from SaaS. Here's Where They Go

https://medium.com/@tbelbek/50-of-enterprise-digital-budgets-are-shifting-away-from-saas-heres-wh...
1•rdstrtwlkr•40m ago•0 comments

Substack Is at the Gambling Stage of Desperation

https://speterdavis.substack.com/p/substack-is-at-the-gambling-stage
1•Anon84•40m ago•0 comments

Wiz CEO Assaf Rappaport refused a $23B offer – then sold for $32B

https://techcrunch.com/2026/03/11/google-completes-32b-acquisition-of-wiz/
3•kaizenb•43m ago•1 comments

AI thinks your code is correct, but it can not prove it

https://predictablemachines.com/blog/ai-thinks-your-code-is-correct-but-it-can-not-prove-it/
3•jorgegalindo•44m ago•1 comments

Show HN: Catch Tap Toy

https://memalign.github.io/m/catch/index.html
1•memalign•45m ago•0 comments

Bucketsquatting Is (Finally) Dead

https://onecloudplease.com/blog/bucketsquatting-is-finally-dead
18•boyter•46m ago•4 comments

Utm-Builder – Bulk UTM Link Generator CLI for Marketers

1•mbinatorom•49m ago•0 comments