frontpage.
newsnewestaskshowjobs

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?

Iosevka is an open-source, sans-serif and slab-serif, monospace font

https://typeof.net/Iosevka/
1•otobrglez•1m ago•0 comments

Demonstrating Deterministic Trust and Formal Proof for AI-Generated Code

https://www.adacore.com/blog/gnat-foundry-intersection-demonstrating-trustworthy-ai-development
1•nonmaskable•4m ago•0 comments

Bugs as Deviant Behavior [pdf]

https://web.stanford.edu/~engler/deviant-sosp-01.pdf
1•ankitg12•7m ago•0 comments

Show HN: PromiseDiff – audit listings against delivered files

https://www.pkazantsev.com/writing/promise-diff/
1•pkazantsev•7m ago•0 comments

Infosys boss describes AI job fears as 'hogwash'

https://www.computerweekly.com/news/366652152/Infosys-boss-describes-AI-job-fears-as-hogwash
3•latein•8m ago•0 comments

In the AI era, coding means thinking like a systems architect

https://www.nature.com/articles/d41586-026-02715-x
2•giuliomagnifico•8m ago•0 comments

PyPy v8.0.1 Release

https://pypy.org/posts/2026/10/pypy-v801-release.html
1•runningmike•9m ago•1 comments

Teddy Roosevelt and Silicon Valley

https://carlorimbotti.substack.com/p/review-the-rough-riders-by-theodore
1•robertvandermaa•9m ago•0 comments

The most underrated book in 2026

https://books.apple.com/fr/book/power-2026/id6795926467
2•SachaSOL•10m ago•1 comments

Postmortem: Sweden's citizenship law shipped with no migration path

https://eric.pe/terson/writes/a-postmortem-on-swedens-citizenship-law/
2•iamEAP•11m ago•0 comments

Ask HN: What Should an Incumbent Do?

1•matt3D•15m ago•0 comments

75x less memory and 2-17x faster SwiftUI checks without the iOS Simulator

https://github.com/abacusai/simless
4•JosipAbacus•16m ago•1 comments

How Europe's top cocaine trafficker made Sierra Leone the first true narco state

https://www.theguardian.com/global-development/ng-interactive/2026/oct/14/europes-most-wanted-coc...
1•orf•17m ago•0 comments

Fancy Curl Sites

https://nytpu.com/gemlog/2026-03-18
1•g0xA52A2A•19m ago•0 comments

A realistic 8-way benchmark comparison of open Firebase alternatives (BaaS)

https://github.com/burggraf/baas-bench/tree/main/results/realworld-api-v3/project-management-capa...
1•barfoos•21m ago•0 comments

OpenAI's dot assistant burned 300K+ tokens in a day without a single prompt

https://www.theregister.com/ai-and-ml/2026/10/13/openais-dot-assistant-burned-300k-tokens-in-a-da...
2•sbulaev•22m ago•0 comments

Ukraine's Starlink Access Restricted Without Warning

https://kyivindependent.com/this-cannot-be-a-coincidence-ukraines-starlink-access-restricted-with...
5•defly•22m ago•1 comments

Chasing Ghosts in the Machine: Debugging a File Descriptor Leak in Exchangelib

https://medium.com/@therealcomtom/chasing-ghosts-in-the-machine-debugging-a-file-descriptor-leak-...
1•comtom•22m ago•0 comments

One-year-old AI startup with six employees acquired for estimated $100M

https://www.calcalistech.com/ctechnews/article/996lzw73e
2•myth_drannon•24m ago•0 comments

Show HN: Free remote jobs API – 630k live listings across 16 job boards, no auth

https://remote-jobs-api.tten.no
1•earnnovadev•24m ago•0 comments

Mu-Silicium: community UEFI for ARM64 Consumer Devices

https://github.com/Project-Silicium/Mu-Silicium
1•cromka•28m ago•0 comments

Show HN: Pericentre, a 3D space atlas with continuous zoom

https://pericentre.com/
1•bluebit•30m ago•0 comments

Show HN: Route Claude Desktop to several accounts

https://github.com/jaynlabs/jaynshare
1•maxignol•31m ago•0 comments

Lost in Implicit Routing: How LLM Agents Fail to Load Relevant Skills at Scale

https://arxiv.org/abs/2610.18522
1•Betelbuddy•32m ago•0 comments

TypeScript compiler ported to C# via Codex (as proof of concept)

https://github.com/stepwisehq/typescript-dotnet
1•pjmlp•32m ago•1 comments

Russian firm launches ' first' crypto-to-bank payment service

https://rt-english.com/russia/647157-russia-global-payments-service/
1•thisislife2•34m ago•0 comments

Show HN: Doom running inside a JavaScript datagrid

https://toclocoinc.github.io/lattice-grid-demo-doom/
1•tonygoodchild•35m ago•0 comments

AppReviewer Preflight – Stop wasting days on avoidable App Store rejections

https://appreviewer.saposs.com
1•jimmy_lee•36m ago•0 comments

Show HN: Sonder, A free, open-source native Markdown editor for Mac

https://frizky.dev/products/sonder
1•frizkyK•39m ago•0 comments

TurboScribe AI – 100% Free Video to Text and Audio to Text

https://www.turboscribeai.com/
2•wsm123456•40m ago•2 comments