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?

Formbase – open‑source back end for HTML forms

https://github.com/formbase-dev/formbase
1•ephraimduncan•2m ago•0 comments

DB Branching in Mirrord

https://metalbear.com/blog/db-branching/
1•aviramha•4m ago•0 comments

A simple TUI video converter for the AV1 codec

https://github.com/framicheli/av1converter
1•francescomi•7m ago•0 comments

Show HN: Free and open sourced prompt skills game for kids

https://prompts.chat/kids
1•fka•8m ago•0 comments

Mission planning system will break before your rockets do

https://blog.satsearch.co/2026-01-14-spotlight-your-mission-planning-system-will-break-before-you...
1•kartikkumar•9m ago•0 comments

I built a tool to help me explain my work to clients automatically

https://delivrr.work/
1•ymfh•13m ago•1 comments

Show HN: 0xCal – A calorie tracker where you just describe what you ate

https://apps.apple.com/pl/app/0xcal-ai-calorie-tracker/id6749210009
1•namedix•13m ago•0 comments

Declarative YAML Workflow System for AI Agents

https://twitter.com/nedim0x01/status/2011733056709636471
1•nedim0x01•14m ago•1 comments

AI-powered automatic translation in WordPress (YouTube video tutorial)

https://gatoplugins.com/blog/youtube-video-tutorial-ai-powered-automatic-translation-in-wordpress
1•leoloso•17m ago•0 comments

LiteStar – a FastAPI rival (DTOs, controllers, msgpack)

https://litestar.dev/
1•begoon•18m ago•0 comments

Second Thoughts on James Burnham (George Orwell, 1946)

https://www.orwellfoundation.com/the-orwell-foundation/orwell/essays-and-other-works/second-thoug...
1•duggan•19m ago•0 comments

Semi-Automating 200 Pull Requests with Claude Code

https://blog.davisvaughan.com/posts/2026-01-09-claude-200-pull-requests/
1•sebg•20m ago•0 comments

The crisis whisperer: how Adam Tooze makes sense of our bewildering age

https://www.theguardian.com/business/2026/jan/15/the-crisis-whisperer-how-adam-tooze-makes-sense-...
1•6LLvveMx2koXfwn•22m ago•0 comments

Blacksmith – AI Powered Penetration Testing

https://github.com/yohannesgk/blacksmith
1•jchris280•27m ago•3 comments

Codeless Code – Fables and Koans for the Software Engineer

https://thecodelesscode.com/case/234
1•todsacerdoti•29m ago•0 comments

Napa: Powering Scalable Data Warehousing with Robust Query Performance at Google

https://research.google/pubs/napa-powering-scalable-data-warehousing-with-robust-query-performanc...
1•tosh•29m ago•0 comments

Bruce Perens: The Ham Radio Operator Who Made Trump Want Greenland

https://web.archive.org/web/20260115085443/https://www.linkedin.com/pulse/ham-radio-operator-who-...
1•weinzierl•30m ago•1 comments

Use Agents or Be Left Behind? A Personal Guide to Automating Your Own Work

https://timdettmers.com/2026/01/13/use-agents-or-be-left-behind/
3•sebg•31m ago•0 comments

Optimizing data throughput for Postgres snapshots with batch size auto-tuning

https://xata.io/blog/postgres-snapshots-with-batch-size-auto-tuning
1•gulcin_xata•32m ago•1 comments

Typical: TypeScript with type safety at runtime

https://typical.elliots.dev/
1•elliotshep•32m ago•0 comments

Me and the Machine

https://mitsuhiko.github.io/talks/me-and-the-machine/
1•obiefernandez•33m ago•0 comments

LevelDB is a fast key-value storage library

https://github.com/google/leveldb
1•tosh•34m ago•0 comments

Hacking Wheelchairs over Bluetooth

https://www.securityweek.com/researchers-expose-whill-wheelchair-safety-risks-via-remote-hacking/
2•7777777phil•34m ago•0 comments

ICE Is a Secret Police

https://www.nytimes.com/2026/01/10/opinion/immigration-ice-violence-minnesota.html
4•KnuthIsGod•38m ago•0 comments

Show HN: Getmaapp/signal-WASM v0.1.0 – Signal Protocol for the Web

https://github.com/getmaapp/signal-wasm
1•getmaapp•39m ago•0 comments

Show HN: S3mini(0.9.1) Tiny ts S3 client, now supports blobs and streams

https://github.com/good-lly/s3mini/releases/tag/v0.9.1
1•neon_me•42m ago•0 comments

SETI@home: UC Berkeley scientists are homing in on 100 signals they found

https://news.berkeley.edu/2026/01/12/for-21-years-enthusiasts-used-their-home-computers-to-search...
1•1659447091•43m ago•0 comments

Saving 675 Engineering Hours a Month Using an AI Slack On-Call Agent

https://www.wix.engineering/post/when-ai-becomes-your-on-call-teammate-inside-wix-s-airbot-that-s...
1•yardenw•49m ago•0 comments

Test 8 hour work simulation

1•magentamountain•49m ago•0 comments

Python: Tprof, a Targeting Profiler

https://adamj.eu/tech/2026/01/14/python-introducing-tprof/
1•jonatron•49m ago•0 comments