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?

Show HN: MindfulClaude – Guided breathing during Claude Code's thinking time

https://github.com/halluton/Mindful-Claude
1•kayba•36s ago•0 comments

Hill-climbing ARC-AGI-3

https://blog.alexisfox.dev/arcagi3
1•10xDev•1m ago•0 comments

MXSS: Mutation cross-site scripting explained

https://sonarsource.github.io/mxss-cheatsheet/explained/
1•fanf2•2m ago•0 comments

Reverse Engineering Action's Cheap Fichero Labelprinter

https://blog.dbuglife.com/reverse-engineering-fichero-label-printer/
1•tomwas54•2m ago•0 comments

Show HN: I built an MCP server so Agents can launch RWAs and compliant tokens

https://github.com/bitbond/token-tool-mcp
1•travi3000•3m ago•0 comments

Show HN: FeralDeps, local dependency and vulnerability scanner for Java projects

https://github.com/PardixLabs/feraldeps-core
1•conor_pardix•4m ago•0 comments

AI in Trump's 3-D Chess Match

https://www.wsj.com/opinion/ai-in-trumps-3-d-chess-match-d62c2596
1•RyanShook•5m ago•0 comments

Simplifying Git Worktrees

https://backnotprop.com/blog/simplifying-git-worktrees/
1•ramoz•5m ago•0 comments

80M galaxies: Gigantic astronomical catalog viewable online

https://www.heise.de/en/news/80-million-galaxies-Gigantic-astronomical-catalog-viewable-online-11...
1•ohjeez•5m ago•0 comments

LocalPDF V3 – 100% local, browser-based PDF studio (Free and No Ads)

https://local-pdf-five.vercel.app/
1•piyushpr134•6m ago•1 comments

The Lobster Pot

https://pinata.cloud/blog/the-lobster-pot/
1•iammatthias•6m ago•1 comments

I fixed the same Supabase issues 100 times in my agency for vibe coders

https://www.tryargus.dev/
1•vronchin•8m ago•1 comments

New 'color palette' for peptides based on non-natural amino acids

https://phys.org/news/2026-02-scientists-massive-palette-biomedical-natural.html
1•PaulHoule•9m ago•0 comments

The Olympus Programming Language

https://dl.acm.org/doi/pdf/10.1145/3664211
2•rbanffy•9m ago•0 comments

Anthropic Sues DoD

https://www.wired.com/story/anthropic-sues-department-of-defense-over-supply-chain-risk-designation/
2•vessenes•9m ago•2 comments

Building faster than you can think

https://www.augmentcode.com/blog/building-faster-than-you-can-think
1•knes•10m ago•0 comments

Ask HN: Free hosting/cloud providers for free non-profit open source apps?

1•-thrwwy•11m ago•0 comments

NaviServer, a versatile multiprotocol (HTTP(S), etc.) server written in C/Tcl

https://github.com/naviserver-project/naviserver
1•anonnon•11m ago•1 comments

Show HN: Caloriva – A calorie tracker that actually understands

1•caloriva•11m ago•0 comments

Show HN: Colchis Log – cryptographic audit trail for AI systems (Python)

https://github.com/GhurtSky-GR13/colchis-log
3•GhurtSky•12m ago•0 comments

Oil Is Near a Price That Hurts the Economy

https://www.wsj.com/business/energy-oil/oil-is-already-near-a-price-that-hurts-the-economy-3cebcfdc
5•JumpCrisscross•12m ago•0 comments

Random-Bridges as Stochastic Transports for Generative Models

https://arxiv.org/abs/2512.14190
1•sesenai•12m ago•1 comments

AI companies turn knowledge into a proprietary asset. Share your knowledge

https://insidestack.it/blog/ai-companies-turn-knowledge-into-a-proprietary-asset-share-your-knowl...
1•danijelk•13m ago•0 comments

One More Prompt: The Dopamine Trap of Agentic Coding

https://blog.quent.in/blog/2026/03/09/one-more-prompt-the-dopamine-trap-of-agentic-coding/
2•pranay01•13m ago•0 comments

Cloudflare's Agents.md

https://github.com/cloudflare/cloudflared/blob/master/AGENTS.md
1•fernvenue•14m ago•0 comments

Claude helped select targets for recent wave of Iran strikes

https://www.nonzero.org/p/iran-and-the-immorality-of-openai
3•d0able•14m ago•2 comments

The Tree of Up

https://up.com.au/tree/
1•skogstokig•15m ago•0 comments

Show HN: Ratschn – A local Mac dictation app built with Rust, Tauri and CoreML

https://ratschn.com
3•Edos8877•18m ago•1 comments

Show HN: Deadbranch – Interactive TUI for cleaning stale Git branches (Rust)

https://github.com/armgabrielyan/deadbranch
2•armen99•21m ago•1 comments

IDF Officials Admit Military Struggling to Intercept Hezbollah Drones

https://www.haaretz.com/middle-east-news/2026-03-08/ty-article/.premium/idf-officials-admit-milit...
4•johnshades•21m ago•0 comments