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?

Eternego: A local AI persona with persistent memory and structured reasoning

https://github.com/Eternego-AI/eternego
1•primus_eternego•29s ago•1 comments

"Democracy Report 2026" – V-Dem Institute at the University of Gothenburg [pdf]

https://v-dem.net/documents/75/V-Dem_Institute_Democracy_Report_2026_lowres.pdf
1•netfortius•1m ago•0 comments

Measuring Agents in Production

http://muratbuffalo.blogspot.com/2026/03/measuring-agents-in-production.html
3•mark4•2m ago•0 comments

The Pennsylvania Town Facing a Data Center Boom

https://e360.yale.edu/digest/archbald-data-centers
1•speckx•2m ago•0 comments

Pixar Knows It's Running Out of Ideas, and That's Okay

https://www.vulture.com/article/hoppers-review-pixars-running-out-of-ideas-thats-okay.html
1•PaulHoule•2m ago•0 comments

Backblaze Pricing and Product Updates

https://www.backblaze.com/blog/backblaze-pricing-and-product-updates/
4•precommunicator•3m ago•3 comments

William Gibson vs. Margaret Thatcher

https://pluralistic.net/2026/03/17/technopolitics/
1•hn_acker•4m ago•0 comments

Show HN: Leavely – Cancellation feedback modal for SaaS

1•ryujii•5m ago•1 comments

GPU Lite for CUDA without the bloat

https://github.com/rubber-duck-debug/gpu-lite
1•HaoZeke•6m ago•0 comments

Structured text-to-sample generation for modern music production

https://old.reddit.com/r/StableDiffusion/comments/1rvnomy/im_back_from_last_weeks_post_and_so_tod...
1•abhikul0•6m ago•1 comments

Show HN: Promptcmd – LLM prompts as CLI progs with args, piping, SSH forwarding

https://github.com/tgalal/promptcmd
1•tgalal•6m ago•0 comments

OpenAI's own mental health experts unanimously opposed "naughty" ChatGPT launch

https://arstechnica.com/tech-policy/2026/03/chatgpt-may-soon-become-sexy-suicide-coach-openai-adv...
2•pseudolus•6m ago•0 comments

AIBuildAI – An AI agent that automatically builds AI models (#1 on MLE-Bench)

https://github.com/aibuildai/AI-Build-AI
1•ruz048•7m ago•1 comments

Show HN: Revise.js – Building blocks for contenteditable-based text editors

https://revise.js.org/blog/introducing-revise/
3•bikeshaving•10m ago•0 comments

Show HN: Yuzudraw – visual editor for ASCII diagrams with token-efficient DSL

https://github.com/agavra/yuzudraw
1•agavra•10m ago•0 comments

Show HN: I made an AndroidTV Launcher, minimal design, privacy friendly, ad free

https://play.google.com/store/apps/details?id=app.lumoslabs.chillhub&hl=en_US
1•NSDavidObject•11m ago•0 comments

Three Levels of Nix

https://simonshine.dk/articles/three-levels-of-nix/
2•speckx•12m ago•0 comments

Ask HN: Can you access old HN posts?

3•harlequinetcie•12m ago•3 comments

Show HN: F0lkl0r3.dev – a searchable, interlinked map of computing history

https://f0lkl0r3.dev
1•dynamicwebpaige•12m ago•0 comments

Running Oxide at Home for Local Development [video]

https://www.youtube.com/watch?v=qwXtS0-r1uQ
1•rocketcity•13m ago•0 comments

End-to-end testing of agentic applications in Cypress

https://www.npmjs.com/package/@gojiplus/mimiq
1•neehao•13m ago•0 comments

Nvidia Groq 3 LPU and Groq LPX racks join Rubin platform – SRAM-packed

https://www.tomshardware.com/pc-components/gpus/nvidia-groq-3-lpu-and-groq-lpx-racks-join-rubin-p...
2•rerx•13m ago•0 comments

Tell HN: ECHO I Love You

1•reconnecting•13m ago•0 comments

The problem with e-commerce content

https://www.indiehackers.com/post/the-real-problem-with-e-commerce-content-OySEZFkteSTnrgxrdl0m
1•allinonetools_•13m ago•0 comments

Sashiko – an agentic system for Linux kernel changes

https://lore.kernel.org/lkml/7ia4o6kmpj5s.fsf@castle.c.googlers.com/
1•ahlCVA•13m ago•0 comments

Microsoft appoints a new Copilot boss after AI leadership shake-up

https://www.theverge.com/news/895963/microsoft-copilot-leadership-changes-consumer-commercial
1•01-_-•13m ago•0 comments

Apple's Cheap AI Bet Could Pay Off Big

https://www.wsj.com/opinion/apples-cheap-ai-bet-could-pay-off-big-a2032a19
2•gmays•14m ago•2 comments

Looms and Agents

https://news.routley.io/posts/looms-agents.html
2•ColinEberhardt•14m ago•0 comments

Window Swap – Open a Window somewhere in the world

https://www.window-swap.com/
2•fitzroymckay•15m ago•0 comments

Context Engineering from the Inside Out

https://blog.yellowday.day/posts/context_engineering_from_the_inside_out/
1•vinhnx•15m ago•0 comments