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•9mo 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•9mo 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?

Astronomers observe a star that quietly transformed into a black hole

https://www.reuters.com/science/astronomers-observe-star-that-quietly-transformed-into-black-hole...
1•1659447091•5m ago•0 comments

Robust ways to extract bank statements from PDF to CSV beyond raw LLMs?

https://exactstatement.com/
1•alexfefun1•5m ago•1 comments

Ask HN: What makes an AI agent framework production-ready vs. a toy?

1•winclaw-dev•6m ago•0 comments

Everybody Is a CEO Now (and What Am I Doing Here?)

https://www.behind-the-enemy-lines.com/2026/02/everybody-is-ceo-now-and-what-exactly.html
1•ziyao_w•12m ago•0 comments

TiDB Cloud Zero – full-featured database with one line of curl

https://zero.tidbcloud.com/
1•liydu•13m ago•0 comments

The Clash of Civilizationalisms

https://www.theideasletter.org/essay/the-clash-of-civilizationalisms/
2•thunderbong•14m ago•0 comments

Show HN: Open-source MCP server that lets AI assistants shop via Google's UCP

https://github.com/nguthrie/ucp-mcp-server
1•nguthrie•16m ago•0 comments

Show HN: WebExplorer – a tool for preview file in browser

https://www.webexplorer.app
2•feblr•19m ago•0 comments

Electronic Structure: Electron Spin: Videos and Practice Problems

https://www.pearson.com/channels/gob/learn/jules/ch-2-atoms-and-the-periodic-table/electronic-str...
1•rolph•20m ago•0 comments

What Makes Oxygen Special?

https://www.quanxr.org/elctronspins
1•rolph•22m ago•0 comments

Not all computer code protected as speech, US court finds in ghost gun case

https://www.reuters.com/legal/government/not-all-computer-code-protected-speech-us-appeals-court-...
3•1659447091•24m ago•0 comments

Building a Modular Python Application with apywire and starlette

https://alganet.github.io/blog/2026-02-12-22-Building-a-Modular-Application-with-apywire-and-star...
1•gaigalas•25m ago•0 comments

A Python terminal deep-space receiver

https://github.com/luisub/6EQUJ5
1•max_pearl•26m ago•0 comments

YouTube Launches on Apple Vision Pro

https://www.macrumors.com/2026/02/12/youtube-app-apple-vision-pro/
2•mgh2•27m ago•0 comments

Why Couples Fight in the Kitchen (A Furniture Problem, Not a Marriage Problem)

https://oedmethod.substack.com/p/why-couples-fight-in-the-kitchen
3•truenfel•28m ago•0 comments

Why have far-forward nominal Treasury rates increased so much in past few years?

https://www.federalreserve.gov/econres/notes/feds-notes/why-have-far-forward-nominal-treasury-rat...
1•toomuchtodo•32m ago•2 comments

Claude Code bug forces users to restart chat, wasting tokens

https://old.reddit.com/r/claude/comments/1o1csrq/api_error_400_due_to_tool_use_concurrency_issues/
3•behnamoh•32m ago•1 comments

NASA loading liquid hydrogen aboard Artemis 2 rocket in unannounced test

https://spaceflightnow.com/2026/02/12/nasa-loading-liquid-hydrogen-aboard-artemis-2-rocket-in-una...
1•bookmtn•34m ago•0 comments

Beyond the Battlefield: Threats to the Defense Industrial Base

https://cloud.google.com/blog/topics/threat-intelligence/threats-to-defense-industrial-base/
1•gnabgib•34m ago•0 comments

Gemini 3 Deep Think: Google's Most Advanced Reasoning Mode (2026)

https://curateclick.com/blog/2026-gemini-3-deep-think-guide
1•czmilo•37m ago•0 comments

Mindless Thought Experiments (A Critique of Machine Intelligence)

https://www.jaronlanier.com/aichapter.html
1•andsoitis•37m ago•0 comments

A stack-buffer-overflow exercise with AddressSanitizer and PostgreSQL

https://www.enterprisedb.com/blog/stack-buffer-overflow-exercise-addresssanitizer-and-postgresql
1•eatonphil•38m ago•0 comments

PrivaBase – $99/mo compliance platform (vs. Vanta at $25K/yr)

https://www.privabase.com
1•robbieleffel•41m ago•0 comments

Is Consciousness an Illusion? – Jaron Lanier [video]

https://www.youtube.com/watch?v=VSb_MCs9eqY
2•andsoitis•43m ago•0 comments

Show HN: FlareBar – Access your Cloudflare dashbord from macOS menu

https://flarebar.app/
2•mrbutttons•49m ago•2 comments

Rewriting an Objective-C project in Swift with the Xcode agent support

https://mastodon.social/@stroughtonsmith/116018205506714527
2•Austin_Conlon•49m ago•0 comments

Apple Confirms Revamped Siri Is Still Coming in 2026

https://www.macrumors.com/2026/02/12/siri-ios-26-launch-confirmed-apple/
1•newman314•50m ago•0 comments

ARC-AGI-1 and 2 LEADERBOARD

https://arcprize.org/leaderboard
1•doener•55m ago•1 comments

Show HN: Paragliding RL

https://southriverai.github.io/southriverblog/post.html?slug=the-speed-to-fly-in-2026
1•kozzion•56m ago•0 comments

Trump Justice Department Poised to Preserve Ticketmaster Monopoly

https://prospect.org/2026/02/12/trump-justice-department-ticketmaster-live-nation-monopoly/
8•leotravis10•56m ago•1 comments