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•1y 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•1y 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: Glance – Local Git diff review TUI, ported from VS Code

https://github.com/polyphilz/glance
1•polyphilz•17s ago•0 comments

MCP server can modify tool list mid-session; client has no mechanism to detect

https://mcpfw.dev/paper
1•mwaseem_d•28s ago•1 comments

Google TIG reports first example of AI used offensively for zero-day vulns

https://cloud.google.com/blog/topics/threat-intelligence/ai-vulnerability-exploitation-initial-ac...
1•thoughtpeddler•32s ago•0 comments

CUDA-oxide: Nvidia's official Rust to CUDA compiler

https://nvlabs.github.io/cuda-oxide/index.html
1•adamnemecek•1m ago•0 comments

Students Boo Commencement Speaker After She Calls AI Next Industrial Revolution

https://www.404media.co/ucf-ai-commencement-speaker-booed/
4•cdrnsf•3m ago•0 comments

Stx: Interactive Vector Graphics Environment

https://ctx.graphics/
1•volemo•3m ago•0 comments

What Zed IDE shipped in 10 days since 1.0

https://medium.com/@arthurpro/what-zed-shipped-in-the-first-ten-days-after-1-0-7e51f87b3f9f
1•arthurpro•4m ago•0 comments

Using Worktrees

https://www.natemeyvis.com/on-using-worktrees/
2•Brajeshwar•4m ago•0 comments

LockedCode – Security-hardened OpenCode fork

https://lockedcode.ai/
1•aallard•4m ago•0 comments

Show HN: Tokémon – a Pokédex for LLMs that got out of hand

https://tokemonlabs.com
1•isjustintime•6m ago•2 comments

How are we going to get out of Meta? (Or social media in general)

https://hugoib.beehiiv.com/p/how-are-we-going-to-get-out-of-meta-or-social-media-in-general
3•hugoib•6m ago•0 comments

Julia Performance Benchmarks 2026

https://thecodersblog.com/julia-language-performance-benchmarks-2026/
1•t0mpr1c3•7m ago•1 comments

VibeServe: Can AI Agents Build Bespoke LLM Serving Systems?

https://github.com/uw-syfi/vibe-serve
1•matt_d•8m ago•0 comments

A quick tour of some of the datacenters in the Salt Lake Valley

https://discuss.systems/@ricci/116556373280824179
1•eatonphil•8m ago•0 comments

Show HN: Learn how AI benchmarks work

https://agent-benchmarks.com/
1•adamgold7•9m ago•0 comments

Coding might go the way of woodworking

1•mdgrech23•9m ago•0 comments

Dive into Deep Learning

https://d2l.ai/
2•moohaad•10m ago•0 comments

Technologies vs. Commodities

https://www.construction-physics.com/p/on-technologies-vs-commodities
1•surprisetalk•11m ago•0 comments

MOQ is lacking a compelling adoption reason

https://bloggeek.me/moq-adoption-problem/
2•dabinat•11m ago•0 comments

RAF Airdrop Response to Suspected Hantavirus Case on Remote Island

https://theaviationist.com/2026/05/10/raf-airdrop-response-suspected-hantavirus-case-on-remote-is...
1•speckx•12m ago•0 comments

Theatre streaming is not a threat to in-person attendance, new research shows

https://www.theguardian.com/stage/2026/may/11/theatre-streaming-in-person-attendance-national-the...
1•cf100clunk•12m ago•0 comments

Engineered Carbon Removal Was Supposed to Be Getting Cheaper

https://www.wsj.com/pro/sustainable-business/engineered-carbon-removal-was-supposed-to-be-getting...
1•megabless123•12m ago•0 comments

CCL-Bench 1.0: A Trace-Based Benchmark for LLM Infrastructure

https://arxiv.org/abs/2605.06544
2•matt_d•12m ago•0 comments

Show HN: Fulfillment MCP – one router contract, swap the printer

https://www.incultnito.com/mcp
2•PengSpirit•12m ago•0 comments

Have a PWA? Korru can list it

1•anwar_nairi•13m ago•0 comments

Glnc – Etherscan in your terminal, no API key

https://github.com/aryarahimi1/glnc
1•Arya_Rh•14m ago•0 comments

Should you leave red herrings about yourself online?

https://blog.alcazarsec.com/posts/should-you-leave-red-herrings-about-yourself-online
2•alcazar•17m ago•0 comments

Show HN: Objo Studio

https://objo.dev
2•garrypettet•18m ago•0 comments

SkinECG: An orthogonal remote powering wearable skin-like sensor

https://www.science.org/doi/10.1126/sciadv.aec9803
1•PaulHoule•19m ago•0 comments

What We Learned Building an Interactive MCP App

https://grapesjs.com/blog/studio-mcp-app-journey
2•artf•20m ago•0 comments