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?

Show HN: CertRadar – Find every certificate ever issued for your domain

https://certradar.net/
1•ops_mechanic•1m ago•0 comments

What Is Starlink Mesh? – Starlink Help Center

https://starlink.com/ca/support/article/57f4bd5c-4125-2210-8bb2-30c90b558b7b
1•janandonly•1m ago•0 comments

Merlion – A TUI for Obsidian Vaults

https://github.com/LatentDream/merlion
1•latentdream•1m ago•0 comments

Interest in Law School Is Surging. A.I. Makes the Payoff Less Certain

https://www.nytimes.com/2026/01/24/business/dealbook/law-school-ai.html
1•paulpauper•3m ago•0 comments

Judge by the Policy, Not by the Tribe

https://thepursuitofliberalism.substack.com/p/judge-by-the-policy-not-by-the-tribe
1•paulpauper•3m ago•0 comments

Earth's Rotation Limits IBIS Performance to 6.3 Stops

https://thecentercolumn.com/2020/01/17/earths-rotation-limits-ibis-performance-to-6-3-stops/
1•politelemon•3m ago•0 comments

Show HN: I Created a Tool to Convert YouTube Videos into 2000 Word SEO Blog

https://landkit.pro/youtube-to-blog
1•nikhonit•6m ago•0 comments

Project Idea: Carbon and Attentional Footprint of False Urgency

1•funkyfiddler69•9m ago•0 comments

Kīlauea Lava Cricket

https://en.wikipedia.org/wiki/Caconemobius_fori
1•mooreds•9m ago•0 comments

Triton CUDA Tile IR Back End

https://github.com/triton-lang/Triton-to-tile-IR
1•my123•10m ago•0 comments

PlowNYC – track progress of snow removal vehicles in NYC

https://plownyc.cityofnewyork.us
1•ef2k•10m ago•0 comments

Post Quantum Crypto Faster Than Kyber and Bigger Too

https://github.com/ParamTatva-org/abhedyam
1•prabhatkr•10m ago•0 comments

Everyone is wrong about AI and Software Engineering

https://deadneurons.substack.com/p/everyone-is-wrong-about-ai-and-software
2•nr378•11m ago•0 comments

Video Games as Art – Gwern.net

https://gwern.net/video-game-art
2•Antibabelic•11m ago•0 comments

Allowlist for .gitignore

https://blog.izissise.net/posts/gitignoreallowlist/
1•chmaynard•11m ago•0 comments

SkyLaunch – open-source flight training tracker for student pilots

https://github.com/unshah/SkyLaunch.io
1•unshah•14m ago•1 comments

The World Is Hopeful for a Better 2026

https://www.statista.com/chart/28997/respondents-that-are-optimistic-that-next-year-will-be-bette...
1•RickJWagner•15m ago•0 comments

Show HN: Rtty-soda – CLI front end to NaCl (PyNaCl) for encrypting small files

https://github.com/theosaveliev/rtty-soda
2•nett_ef•16m ago•0 comments

ICE Using Palantir Tool That Feeds on Medicaid Data

https://www.eff.org/deeplinks/2026/01/report-ice-using-palantir-tool-feeds-medicaid-data
8•JKCalhoun•16m ago•0 comments

Pebblebed Ventures' AI tool analyzes 20 years of Linux bugs

https://thenewstack.io/hacker-jenny-qus-ai-tool-analyzes-20-years-of-linux-bugs/
2•MilnerRoute•18m ago•0 comments

Show HN: Django-safe-migrations v0.4.0 – Detect unsafe migrations

2•yassershkeir•18m ago•0 comments

From 10 Day Vacation Project to 100k Users: auto‑cpufreq v3 Story

https://foolcontrol.org/?p=5114
2•fooctrl•20m ago•1 comments

Firefox and Linux in 2025

https://mastransky.wordpress.com/2026/01/23/firefox-linux-in-2025/
4•montroser•23m ago•0 comments

Show HN: Kirin – Transparent AI Assistant, Real-Time OCR/AI Insight on Workflow

https://github.com/JoshuaChil/Kirin
2•CodingForFun•24m ago•0 comments

Show HN: Root – Privacy-preserving home security camera

https://rootprivacy.com/blog/building-your-own-security-camera
2•PaulPlay•25m ago•0 comments

39C3 – AI Agent, AI Spy

https://www.youtube.com/watch?v=0ANECpNdt-4
2•todsacerdoti•26m ago•0 comments

Airpark

https://en.wikipedia.org/wiki/Airpark
3•pr337h4m•27m ago•0 comments

FAA institutes nationwide drone no-fly zones around ICE operations

https://www.aerotime.aero/articles/faa-drone-no-fly-zone-ice-dhs
69•dayofthedaleks•28m ago•36 comments

The Game Boy Talk (33c3) [video]

https://www.youtube.com/watch?v=HyzD8pNlpwI
2•tosh•30m ago•0 comments

Will Your AI Teammate Bring Bagels to Standup?

https://redmonk.com/kholterhoff/2026/01/16/will-your-ai-teammate-bring-bagels-to-standup/
5•ohjeez•30m ago•2 comments