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?

New built-in interoperability between Google Meet and Microsoft Teams

https://workspaceupdates.googleblog.com/2026/02/meet-hardware-microsoft-teams-intero.html
1•ChrisArchitect•4m ago•0 comments

The Chinese planemaker taking on Boeing and Airbus

https://www.bbc.com/news/articles/ce3exl1k247o
1•belter•7m ago•0 comments

User stories as docs in the repo instead of tickets

https://docs.testchimp.io/test-planning/intro/
1•nuwansam_87•8m ago•1 comments

Google terminated my YouTube channel even thought I made no videos or used it

3•paulpauper•10m ago•0 comments

Mekara: Workflows as Code Proof-of-Concept

https://meksys-dev.github.io/mekara/docs/
1•amosjyng•11m ago•0 comments

Making on a Manager's Schedule

https://zsuss.substack.com/p/making-on-a-managers-schedule
1•z-mach9•11m ago•0 comments

NEA Small Modular Reactor Digital Dashboard

https://www.oecd-nea.org/jcms/pl_107879/nea-small-modular-reactor-digital-dashboard
1•simonebrunozzi•11m ago•0 comments

Gary Goddard Interview (2013)

https://www.insideuniversal.net/2013/11/interview-gary-goddard-part-1/
1•exvi•13m ago•1 comments

John Bell Studio Concept Art

https://www.johnbell.studio
1•exvi•15m ago•0 comments

Simpler Java Project Setup with Mill

https://mill-build.org/blog/17-simpler-jvm-mill-110.html
1•lihaoyi•16m ago•0 comments

Modeling DeepSeek-R1's Instability as a Topological Limit

https://gist.github.com/eric2675-coder/3801106f24c03e43c2183766a377d958
2•eric2675•17m ago•1 comments

Immortal Now

https://mnvr.in/2026/immortal
1•vishnukvmd•18m ago•0 comments

Adrian Conejo Arias and child vs. Noem, Bondi, et al. [pdf]

https://storage.courtlistener.com/recap/gov.uscourts.txwd.1172886492/gov.uscourts.txwd.1172886492...
2•mizzao•20m ago•1 comments

Book Review: 'The Elements of Power'

https://www.nytimes.com/2026/01/16/books/review/the-elements-of-power-nicolas-niarchos.html
1•lxm•21m ago•0 comments

I miss thinking hard

https://www.jernesto.com/articles/thinking_hard
16•jernestomg•30m ago•9 comments

The Computer Chronicles – Artificial Intelligence (1984)

https://www.youtube.com/watch?v=_S3m0V_ZF_Q
2•belter•32m ago•0 comments

Show HN: AI-credit – measure AI contribution to a codebase

https://ai-credits.vercel.app
1•924412409•33m ago•0 comments

What Is Overfitting?

https://aws.amazon.com/what-is/overfitting/
1•teleforce•38m ago•0 comments

Show HN: OpenClaw Assistant – Replace Google Assistant with Any AI

https://github.com/yuga-hashimoto/OpenClawAssistant
1•YugaHashimoto•39m ago•0 comments

Stop overpaying for OpenClaw: Multi-model routing guide

https://velvetshark.com/openclaw-multi-model-routing
1•tinbucket•39m ago•0 comments

Data Agent Ready Database: Designing the Next-Gen Enterprise Data Warehouse

https://www.databend.com/blog/category-product/databend-agent-ready-database
1•river_wu•40m ago•1 comments

SHOW HN: Notepad++ Vulnerability Checker

https://github.com/nHunter0/Notepad-vulnerability-checker
1•10000000001•44m ago•1 comments

A Confession from Your Newest User

https://public.3.basecamp.com/p/njmKUBfBAJkfKuB8NHqV1qJ7
1•doppp•49m ago•0 comments

Tips for Using Claude Code from the Claude Code Team

https://twitter.com/bcherny/status/2017742741636321619
1•divbzero•51m ago•0 comments

JSBooks – a curated list of the best JavaScript books

https://github.com/minouou/JSBooks
2•mahsima•54m ago•0 comments

Anthropic Performance Team Take-Home for Dummies

https://www.ikot.blog/anthropic-take-home-for-dummies
1•ternaus•55m ago•0 comments

Updates on the Status of Adobe Animate

https://old.reddit.com/r/adobeanimate/comments/1qv5yju/updates_on_the_status_of_adobe_animate
2•crispinh•56m ago•1 comments

The hottest job in tech: Writing words

https://www.businessinsider.com/hottest-job-in-tech-writing-words-ai-hiring-2026-2
2•rfarley04•1h ago•1 comments

Deepfaking Orson Welles's Mangled Masterpiece

https://www.newyorker.com/magazine/2026/02/09/deepfaking-orson-welless-mangled-masterpiece
1•mitchbob•1h ago•1 comments

Why so little news from China?

2•wrqvrwvq•1h ago•3 comments