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?

Open source USearch library jumpstarts ScyllaDB vector search

https://thenewstack.io/open-source-usearch-library-jumpstarts-scylladb-vector-search/
1•ashvardanian•1m ago•0 comments

Rod Dreher Thinks the Enlightenment Was a Mistake

https://www.theatlantic.com/magazine/2026/03/rod-dreher-religious-conservativism-jd-vance/685732/
1•breve•3m ago•0 comments

IBM Triples Entry Level Job Openings. Finds Limits to AI

https://fortune.com/2026/02/13/tech-giant-ibm-tripling-gen-z-entry-level-hiring-according-to-chro...
1•WhatsTheBigIdea•3m ago•0 comments

How to design fatigue resistance, make metal alloys more durable, sustainable

https://matse.illinois.edu/news/80920
1•hhs•5m ago•0 comments

Scaling Social Science Research

https://openai.com/index/scaling-social-science-research/
1•rorylawless•7m ago•0 comments

Show HN: Text your crush today (Feb 14) but for singles

https://14.israelfirew.co
3•IsruAlpha•8m ago•1 comments

Luna: In-development software design tool in the vein of Figma and sketchapp

https://github.com/iamnbutler/luna
1•maxloh•9m ago•0 comments

An app to manage your OpenClaw on the go

https://www.goclaw.app/login
2•xjonatan•11m ago•1 comments

Choices for a Self-Hosted eBook Server

https://itsfoss.com/self-host-ebook-server-software/
3•ohjeez•11m ago•0 comments

How to Register in SAM.gov in Under an Hour: A Step-by-Step Guide for Beginners

https://freethinkinggenius.substack.com/p/how-to-register-in-samgov-in-under
1•jbutlergenius•15m ago•0 comments

Show HN: Open Notes for Discord: Community Notes-style Context for Discord

https://opennotes.ai/discord-bot
2•anateus•15m ago•0 comments

Show HN: Metaxy – versioning for multimodal data pipelines

https://docs.metaxy.io/0.1.0/
1•danielgafni•16m ago•1 comments

Disney sends cease and desist letter to ByteDance over Seedance 2.0

https://www.axios.com/2026/02/13/disney-bytedance-seedance
4•mfiguiere•23m ago•1 comments

The most enjoyable learning I've done in years

https://sensecall.co.uk/writing/side-projects-instead/
1•sensecall•25m ago•0 comments

The Foundation for Science and AI Research

https://sair.foundation/
1•gballan•30m ago•0 comments

Show HN: Koala Diff – High-performance local data comparison (Rust and Polars)

https://github.com/godalida/koala-diff
2•godalida•31m ago•1 comments

Show HN: Vanilla JavaScript Mandelbrot Explorer

https://bryanhoffman.xyz/mandelbrot_explorer.html
1•krasotkin•31m ago•0 comments

The S-Tier Rust Web Framework and the Priest Who Created It [video]

https://www.youtube.com/watch?v=X_VWAhVhmhc
1•weinzierl•31m ago•0 comments

Pentagon Used Anthropic's Claude in Maduro Venezuela Raid

https://www.wsj.com/politics/national-security/pentagon-used-anthropics-claude-in-maduro-venezuel...
4•2OEH8eoCRo0•32m ago•3 comments

Spotify says its best developers haven't written code since Dec, thanks to AI

https://techcrunch.com/2026/02/12/spotify-says-its-best-developers-havent-written-a-line-of-code-...
3•samspenc•33m ago•0 comments

Is your website ready for GTM

https://docsalot.dev/tools/gtm-audit
1•fazkan•34m ago•0 comments

Show HN: Claw Patrol – so that's where the quota went

https://finds.one/clawpatrol
1•frankbyte•36m ago•0 comments

OK, so Anthropic's AI built a C compiler. That don't impress me much

https://www.theregister.com/2026/02/13/anthropic_c_compiler/
4•nickorlow•36m ago•1 comments

A Climate Supercomputer Is Getting New Bosses. It's Not Clear Who.

https://www.nytimes.com/2026/02/13/climate/derecho-supercomputer-ncar.html
1•mitchbob•37m ago•1 comments

A Survey on Federated Fine-Tuning of Large Language Models

https://openreview.net/forum?id=rnCqbuIWnn
1•mldev_exe•40m ago•0 comments

Tackling the problem of "naturalness" in voice AI [video]

https://www.youtube.com/watch?v=7zIEC8tmWkA
1•underfox•41m ago•1 comments

What Happened to Amazon. How Founders Become Day Two, Take Company with Them

https://markatwood.substack.com/p/what-what-happened-to-amazon-or-dont
1•slyall•43m ago•0 comments

Show HN: API-pilot – deterministic API key resolution with runtime validation

https://github.com/Avichay1977/api-pilot
1•avi7777•44m ago•1 comments

The wonder of modern drywall

https://www.worksinprogress.news/p/the-wonder-of-modern-drywall
34•jger15•20h ago•63 comments

Something Big Is Happening. Here's What It Is

https://medium.com/@vishalmisra/something-big-is-happening-heres-what-it-actually-is-9523482c4e00
1•rfonseca•45m ago•0 comments