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?

The tech bros might show more humility in Delhi – will they make AI any safer?

https://www.bbc.co.uk/news/articles/cr5l6gnen72o
1•mmarian•40s ago•0 comments

DOJ's Final Letter on Epstein Files Transparency Act

https://www.documentcloud.org/documents/27061014-efta-final-letter/
1•Jimmc414•55s ago•0 comments

Octopuses fall for the 'rubber arm' illusion, just like us (2025)

https://www.science.org/content/article/octopuses-fall-rubber-arm-illusion-just-us
1•koala_man•1m ago•0 comments

Show HN: TagIntegrity – Free Consent Mode v2 Scanner

https://tagintegrity.com/
1•imranimi•4m ago•0 comments

On The Same Page – Real-time AI-enabled explorer for Wikipedia rabbit holes

https://on-the-same.page
1•dynamicwebpaige•4m ago•1 comments

Linux 6.19.2 and Other LTS Kernels Released to Fix Systems Not Booting

https://www.phoronix.com/news/Linux-6.19.2-Released
1•Bender•7m ago•0 comments

Gentoo Linux Begins Codeberg Migration Moving Away from GitHub Avoiding Copilot

https://www.phoronix.com/news/Gentoo-Starts-Codeberg-Use
2•Bender•8m ago•0 comments

Show HN: Claude Pilot – Claude Code is powerful. Pilot makes it reliable

https://github.com/maxritter/claude-pilot
1•rittermax•9m ago•0 comments

The Cabot Project

https://www.bristol.ac.uk/history/research/cabot/
1•thunderbong•10m ago•0 comments

Apple issues warning to all 1.8B iPhone users over spyware attack

https://www.dailymail.co.uk/sciencetech/article-15564329/Apple-iPhone-users-spyware-attack.html
3•Bender•11m ago•0 comments

Nano Banana Pro diff to webcomic

https://simonwillison.net/2026/Feb/17/release-notes-webcomic/
1•surprisetalk•11m ago•0 comments

Gigantic Nintendo Zapper Gun

https://gwakproductions.com/products/orange-zapper-nintendo-gun
1•helloplanets•15m ago•0 comments

Show HN: HJX – An AI-Native Web Language Unifying HTML, CSS and JavaScript

https://github.com/loayabdalslam/hjx
2•loayabdalslam•15m ago•1 comments

OCV's new source available license is an alternative to closed-source licenses

https://www.opencoreventures.com/blog/ocvs-new-source-available-license-is-a-simple-alternative-t...
1•donutshop•17m ago•0 comments

A Startling Play About AI Authoritarianism

https://www.nytimes.com/2026/02/16/opinion/play-ai-authoritarianism.html
1•ryan_j_naughton•18m ago•0 comments

The Journal for AI Generated Papers

https://jaigp.org/
1•simoes•19m ago•0 comments

Rufus blames Microsoft for allegedly blocking latest Windows 11 ISO downloads

https://www.neowin.net/news/rufus-blames-microsoft-for-allegedly-blocking-latest-windows-11-iso-d...
1•gnabgib•19m ago•0 comments

Towards Native Multimodal Agents

https://simonwillison.net/2026/Feb/17/qwen35/
1•surprisetalk•24m ago•1 comments

Show HN: CodeGraph CLI – Chat with your codebase using graph-augmented RAG

https://github.com/al1-nasir/codegraph-cli
3•al1nasir•25m ago•0 comments

Long-term unemployment is becoming 'a status quo' in today's job market

https://www.cnbc.com/2026/02/16/long-term-unemployment-becoming-a-status-quo-in-todays-job-market...
19•rustoo•28m ago•3 comments

Show HN: How do you reliably benchmark sub-100ns code paths in Rust

https://github.com/abokhalill/cuttlefish
1•yousef06•31m ago•1 comments

Poll: Are you writing the majority of your code by hand or with an AI agent?

2•Austin_Conlon•32m ago•2 comments

Level of Detail

https://phinze.com/writing/level-of-detail
1•todsacerdoti•33m ago•1 comments

Former Google employee who became leader of extremist cult (2025)

https://www.nytimes.com/2025/07/06/business/ziz-lasota-zizians-rationalists.html
2•1vuio0pswjnm7•33m ago•0 comments

Learn n8n for Free

https://theowllogic.com
1•wayofthekatana•35m ago•0 comments

Fungus-Treated Violin Outdoes Stradivarius

https://www.sciencedaily.com/releases/2009/09/090914111418.htm
2•lukeinator42•37m ago•2 comments

Dotfiles for Two – Kevin.md

https://www.kevin.md/dotfiles-for-two.md/
1•thekevintang•38m ago•0 comments

Epstein Files: The Blackmail of Billionaire Leon Black and Epstein's Role in It

https://greenwald.substack.com/p/the-epstein-files-the-blackmail-of
4•treetalker•41m ago•1 comments

Will Chinese 'involution' do to robots and AI what it's done to EVs?

https://www.ft.com/content/d47fc46a-12fb-4f2e-8bf5-e97b68dbecf0
1•KnuthIsGod•43m ago•0 comments

Show HN: Neko – AI agent runtime that fits on a Raspberry Pi Zero 2W

https://github.com/superhq-ai/neko
1•harshdoesdev•44m ago•1 comments