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?

QRT: Screen-to-camera data transfer protocol, using QR codes (proof of concept)

https://github.com/smyrgeorge/qrt
1•smyrgeorge•1m ago•1 comments

Building Modern Databases with the FDAP Stack

https://gotopia.tech/articles/412/building-modern-databases-with-the-fdap-stack
1•mpweiher•1m ago•0 comments

MariaDB vs. PostgreSQL: Understanding the Architectural Differences That Matter

https://mariadb.org/mariadb-vs-postgresql-understanding-the-architectural-differences-that-matter/
1•enz•5m ago•0 comments

Show HN: Peen – A minimal coding agent CLI built for local models

https://github.com/codazoda/peen
1•codazoda•7m ago•0 comments

MySpace Founder Deletes Post Amid Backlash After Teasing Platform Return

https://parade.com/news/myspace-founder-tom-anderson-responds-fans-bring-it-back-comeback-threads
2•speckx•7m ago•0 comments

SoTA LLM Guardrails by Trusting the Typical [ICLR 2026]

https://arxiv.org/abs/2602.04581
1•barthelomew•7m ago•0 comments

Show HN: EZTest – All in One, Open Source Test Management. Built W Claude Code

https://github.com/houseoffoss/eztest
1•philipmoses•8m ago•1 comments

Peter Thiel warns the Antichrist and apocalypse linked to the 'end of modernity'

https://fortune.com/2026/02/04/peter-thiel-antichrist-greta-thunberg-end-of-modernity-billionaires/
1•soared•8m ago•1 comments

Show HN: Uptime – A menu bar timer that shows how long you've been at your Mac

https://github.com/tednguyendev/uptime
1•imvms205•9m ago•0 comments

Show HN: Trupositive – Auto-tag infrastructure with Git metadata (Terraform/CFN)

https://github.com/trupositive-ai/trupositive
1•simmestd•10m ago•0 comments

Ask HN: Route Optimization Software

1•AstroNutt•10m ago•0 comments

Moltbook and I Am Your AIB

1•terrsalower•10m ago•0 comments

Are Meta and Google ads recession-proof?

https://www.economist.com/finance-and-economics/2026/02/02/ai-is-not-the-only-threat-menacing-big...
1•1vuio0pswjnm7•11m ago•0 comments

Show HN: Prompt-injection‑resistant agent runtime that writes web apps

https://github.com/gterzian/lsp_agent
1•polyglotfacto•12m ago•0 comments

Ask HN: Who's Looking for Funding?

1•gushogg-blake•12m ago•2 comments

Our Wandering Path to Supporting Domain Names (2023)

https://fusionauth.io/blog/unlimited-domains-fusionauth
1•mooreds•12m ago•0 comments

TickTappy – One-tap time tracking for people who hate time tracking

https://ticktappy.com/
1•alekkowalczyk•12m ago•1 comments

I Don't Call Myself an Accessibility Expert

https://buttondown.com/access-ability/archive/why-i-dont-call-myself-an-accessibility-expert/
1•speckx•13m ago•0 comments

Electronic Warfare Innovations and Exports [video]

https://www.youtube.com/watch?v=gdofxOjKmd4
1•mooreds•14m ago•0 comments

Noam Chomsky advised Epstein about 'horrible' media coverage, files show

https://www.bbc.co.uk/news/articles/ce9ykjlyv50o
1•u1hcw9nx•14m ago•0 comments

America's Cows Are Making Too Much Butterfat

https://www.theatlantic.com/science/2026/02/americas-cows-milkfat/685881/
2•pseudolus•14m ago•1 comments

Synthesizing scientific literature with retrieval-augmented language models

https://www.nature.com/articles/s41586-025-10072-4
1•bookofjoe•15m ago•1 comments

Moltbook: After the First Weekend

https://www.astralcodexten.com/p/moltbook-after-the-first-weekend
2•simonebrunozzi•20m ago•0 comments

The third golden age of software engineering [video]

https://www.youtube.com/watch?v=OfMAtaocvJw
1•tosh•20m ago•0 comments

Open-source AI program can answer science questions better than humans

https://www.science.org/content/article/open-source-ai-program-can-answer-science-questions-bette...
1•pseudolus•22m ago•1 comments

Show HN: AgentGuard – Open-source security layer for AI agents and skills

https://github.com/GoPlusSecurity/agentguard
1•agentguard•22m ago•1 comments

Agentic search vs. embedding-based search vs. truth layers

https://markmhendrickson.com/posts/agentic-search-and-the-truth-layer/
1•mhendric•24m ago•0 comments

My Eighth Year as a Bootstrapped Founder

https://mtlynch.io/bootstrapped-founder-year-8/
2•mtlynch•25m ago•0 comments

Battle of the privacy-focused search engines: Kagi vs. DuckDuckGo

https://kevinboone.me/kagi_ddg.html
2•LaSombra•26m ago•0 comments

Economy Layoffs in January were the highest to start a year since 2009

https://www.cnbc.com/2026/02/05/layoff-and-hiring-announcements-hit-their-worst-january-levels-si...
1•ironyman•28m ago•0 comments