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?

Want to Win a New CanaKit Raspberry Pi 5 Starter Kit Pro?

1•pgedge_postgres•1m ago•0 comments

Prompt engineering vs. context engineering: a practical guide for AI builders

https://memgraph.com/blog/prompt-engineering-vs-context-engineering
1•taubek•1m ago•0 comments

Solder Ninja Pen: USB-powered soldering iron compatible with Weller RT tips

https://www.crowdsupply.com/sitron-labs/solder-ninja-pen
1•oxplot•9m ago•0 comments

OSS Document Scanner

https://www.akylas.fr/OSS-DocumentScanner/
1•farfromrefuge•11m ago•1 comments

Line: Language with Intuitive and Natural Expression

https://github.com/Qc-17/LINE
1•Qc17•12m ago•1 comments

40 Years of Wireless Evolution Leads to a Smart, Sensing Network

https://spectrum.ieee.org/telecom-history-1g-to-6g
2•canarymark•13m ago•0 comments

Analysis → Implementation → Reflection – a practical technique for agentic AI

https://blog.scottlogic.com/2026/03/05/analysis-implementation-reflection-practical-techniques.html
1•ColinEberhardt•14m ago•0 comments

Phoenix Arizona is likely to see its earliest 100f(38c) day on record, in March

https://www.cnn.com/2026/03/12/weather/record-heat-west-eastern-cold-whiplash
3•b33f•15m ago•0 comments

Automating the Ticket-to-PR Cycle for Power Platform Code Apps with Azure DevOps

https://agent22.sh/blog/automating-power-platform-code-app-development-with-agent22/
1•cubixle•16m ago•0 comments

Hacking the Job Interview

https://xdg.me/hacking-the-job-interview/
1•ZacnyLos•17m ago•0 comments

"Agentic" is only a marketing term

https://www.yourbroadideas.com/agentic-is-only-a-marketing-term
4•mcauldronism•17m ago•0 comments

Ask HN: Got cancer, a new job,new boss in less than a year What do I do now?

2•Goleniewski•17m ago•0 comments

Gaming on the New MacBook Neo [video]

https://www.youtube.com/watch?v=uOe-Ock4pnw
2•throwaway270925•18m ago•1 comments

Ask HN: How are remote engineers outside US/EU landing paid startup contracts?

1•valentinza•19m ago•0 comments

Show HN: Wardstone – Prompt injection and jailbreak detection API

https://wardstone.ai
1•jaaackrl•20m ago•0 comments

Show HN: Who watches the watchmen? A public decision track record for AI agents

https://www.agent-smith.org/
2•hleichsenring•20m ago•0 comments

Selling Selfcontext.com Domain

https://selfcontext.com/
1•AVancans•22m ago•0 comments

The Controllability Trap: A Governance Framework for Military AI Agents

https://arxiv.org/abs/2603.03515
1•zvr•26m ago•0 comments

Each time an AI was given a task to invent best-seller web app

https://spireason.neocities.org/apples
1•tvali•28m ago•1 comments

YC Startup School India

https://events.ycombinator.com/yc-sus-india
1•twapi•29m ago•0 comments

Fork: One CLI to Build Firmware for Any MCU

https://github.com/TareqRafed/fork
1•grog6•33m ago•0 comments

I mass-replaced FFmpeg's MJPEG decoder with Claude Code – 4K LOC, 8% the speed

https://github.com/0xD8C4A475/liberated-mjpeg
2•istenesimi•34m ago•2 comments

Need feedback to build a product for founders to track decision-making

1•shreyast6•34m ago•0 comments

The AI-Powered Kubernetes IDE

https://github.com/koreide/Kore
2•eladbash•36m ago•3 comments

AI toys for children misread emotions and respond inappropriately

https://www.bbc.co.uk/news/articles/clyg4wx6nxgo
4•fredley•36m ago•1 comments

9B parameter coding agent model fine-tuned on top of Qwen3.5-9B

https://huggingface.co/Tesslate/OmniCoder-9B
2•brainless•36m ago•0 comments

Searching for a Well Designed API

1•willx86•39m ago•2 comments

Qualcomm exploit chain brings bootloader unlocking freedom to Android flagships

https://www.androidauthority.com/qualcomm-snapdragon-8-elite-gbl-exploit-bootloader-unlock-3648651/
2•ledoge•40m ago•1 comments

Things I do when I'm writing code that don't look like writing code

https://danq.me/2026/03/06/writing-code-is-not-the-bottleneck/
1•speckx•43m ago•0 comments

Show HN: Flowly – Smooth scrolling for third-party mice on macOS

https://flowlyapp.dev/
1•simonij•43m ago•1 comments