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•8mo 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•8mo 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: Local-first AI workspaces with tiling tabs like in VSCode [FOSS]

https://github.com/silaorg/sila
1•etoonoptima•11s ago•0 comments

Show HN: WSL2 HyperV Firewall Manager – GUI App for WSL2 Firewall Management

https://github.com/ssut/WSL2-HyperV-Firewall-Manager
1•ssut•37s ago•0 comments

90% of PRs over 1k lines ship without any code review (800K PR analysis)

https://codepulsehq.com/research/code-review-study-2025
1•Warlax•1m ago•1 comments

Doin' It with a 555: One Chip to Rule Them All

https://aashvik.com/posts/555-revolution/
1•MonkeyClub•1m ago•0 comments

Train an MNIST classifier from scratch in WASM

https://paika.tech/assets/mnist-visualizer/index.html
1•cpaika•2m ago•0 comments

Drop-in XSLT replacement for browsers (Chrome Beta broke native XSLT)

https://spagu.github.io/XSLT-Processor/
2•pleaseforget•3m ago•1 comments

Show HN: Magpie – I built a CLI where AIs argue about my code

1•leo_e•3m ago•0 comments

Accessibility For Everyone is now free and online as a website

https://accessibilityforeveryone.site
1•Kerrick•5m ago•0 comments

Building a serverless, post-quantum Matrix homeserver

https://blog.cloudflare.com/serverless-matrix-homeserver-workers/
2•Vardor•5m ago•1 comments

Centrio – Turn Focus into Results

https://chromewebstore.google.com/detail/centrio-turn-focus-into-r/jhpeadhbngebmbepfkeghpkglfkbhmhc
1•asolovich•7m ago•1 comments

What Is Shadowrocket?

https://proxidize.com/blog/what-is-shadowrocket/
1•colinprince•8m ago•0 comments

Show HN: I query multiple LLMs in parallel because I don't trust any single one

https://www.usecouncil.app
1•jonnyhere•9m ago•0 comments

Claude Code skill for building ChatGPT Apps

1•victordg•10m ago•0 comments

‘Mother of all deals’: Details of the EU-India FTA

https://www.reuters.com/world/india/details-eu-india-trade-deal-tariffs-quotas-market-access-2026...
1•alephnerd•10m ago•0 comments

A Handbook for Building True Sovereignty [pdf]

https://hs-8271513.f.hubspotemail.net/hubfs/8271513/Marketing/Sovereign%20Individual%20Guide.pdf
1•janandonly•11m ago•0 comments

Access denied: Muslims worldwide are being 'debanked'

https://www.theguardian.com/world/2026/jan/27/muslims-being-debanked-banking-services-9-11-september
3•YeGoblynQueenne•11m ago•0 comments

Software Publishers' Revenue Per Employee is up ~30% since ChatGPT launch

https://www.factiq.com/blog/the-receipts-are-in-software-productivity-outpaced-other-sectors-sinc...
1•rishsriv•11m ago•1 comments

The Great Code Decoupling – The Coming AI Bifurcation in Software Quality

https://i2km.com/bifurcation.html
1•i2km•12m ago•1 comments

Fuzzing Lua in OSS-Fuzz

https://groups.google.com/g/lua-l/c/tTyuSALLuEM
1•todsacerdoti•12m ago•0 comments

The Craftsman and the Factory

https://n.survol.fr/n/lartisan-et-lusine
2•speckx•14m ago•0 comments

Estonia bets on artificial intelligence to offset demographic decline

https://estonianworld.com/technology/estonia-bets-on-artificial-intelligence-to-offset-demographi...
1•atlasunshrugged•14m ago•0 comments

Show HN: Simple terminal UI for cleaning macOS

https://github.com/2ykwang/mac-cleanup-go
2•immutable000•15m ago•0 comments

Claude Code Skills for Marketing

https://github.com/coreyhaines31/marketingskills
1•mpaepper•17m ago•0 comments

CedarDB: The fastest database you've never heard of

https://www.amplifypartners.com/blog-posts/the-fastest-database-youve-never-heard-of
4•itunpredictable•18m ago•1 comments

Show HN:AgentHub - Unified, Stateful SDK for All SOTA LLMs and Agent Executions

https://github.com/Prism-Shadow/AgentHub
1•PrismShadow•19m ago•1 comments

SS64 Command Line Reference

https://ss64.com/
1•thunderbong•20m ago•0 comments

Help us benchmark Agentic AI adoption patterns (Last day for Jan survey)

https://survey.actiindex.org/January2026/
1•7777777phil•21m ago•0 comments

Cloudflare Can't Save You from a DoS (I Checked)

https://nullrabbit.ai/research/cloudflare-dos-limitations
2•simonmorley•21m ago•0 comments

Technical benchmarks for CAAE optimization layer

1•zwmaronek•21m ago•2 comments

Change news.ycombinator to news.gcombinator to get copyable context

https://twitter.com/janwilmake/status/2015405833681621392
1•mpaepper•22m ago•7 comments