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?

Consistency diffusion language models: Up to 14x faster, no quality loss

https://www.together.ai/blog/consistency-diffusion-language-models
1•zagwdt•1m ago•0 comments

Static Pricing Theory

https://www.varietyiq.com/blog/pricing
1•efavdb•9m ago•0 comments

I Audited Three Vibe Coded Products in a Single Day

https://fromtheprism.com/vibe-coding-audit
1•heavymemory•11m ago•1 comments

The Mythical Agent-Month

https://wesmckinney.com/blog/mythical-agent-month/
2•vinhnx•11m ago•1 comments

Automatically Learning Skills for Coding Agents

https://gepa-ai.github.io/gepa/blog/2026/02/18/automatically-learning-skills-for-coding-agents/
1•emersonmacro•13m ago•0 comments

Most EV batteries outlast their cars, real-world data shows

https://electrek.co/2026/02/18/most-ev-batteries-outlast-their-cars-real-world-data-shows/
2•xbmcuser•13m ago•0 comments

Nothing Ever Happens: "Mister Squishy" and the Year of the Sentence Diagram

https://lareviewofbooks.org/article/nothing-ever-happens-mister-squishy-and-the-year-of-the-sente...
2•sxzygz•14m ago•0 comments

Mirfield man's tears of joy after lost voicemail of wife retrieved (2015)

https://www.bbc.co.uk/news/uk-england-leeds-31015325
3•susam•14m ago•0 comments

CHAI's AI oversight ambitions falter with scrapped AI labs

https://www.fiercehealthcare.com/ai-and-machine-learning/inside-chais-failed-assurance-labs
1•nradov•14m ago•0 comments

US removing guardrails from proposed Saudi nuclear deal

https://www.reuters.com/world/us/us-removing-guardrails-proposed-saudi-nuclear-deal-document-says...
2•JumpCrisscross•14m ago•0 comments

White House Offers New Details on Its Push to Ban Housing Investors

https://www.wsj.com/politics/policy/white-house-offers-new-details-on-its-push-to-ban-housing-inv...
2•JumpCrisscross•14m ago•0 comments

LLaMAudit: Perform AI detection using local or open models

https://github.com/devrupt-io/LLaMAudit
1•ddtaylor•16m ago•0 comments

Google AI Pro and Ultra now includes Google Developer Program premium benefits

https://blog.google/innovation-and-ai/technology/developers-tools/gdp-premium-ai-pro-ultra/
1•phantomathkg•16m ago•0 comments

Micron Is Spending $200B to Break the AI Memory Bottleneck

https://www.wsj.com/tech/micron-is-spending-200-billion-to-break-the-ai-memory-bottleneck-a4cc74a1
3•walterbell•19m ago•1 comments

How much sleep does a banker need? A US court will decide

https://www.ft.com/content/60b3dd1c-112a-470c-aa77-1bc697d13cf7
2•quantumwannabe•19m ago•0 comments

Microsoft's new 10k-year data storage medium: glass

https://arstechnica.com/science/2026/02/microsofts-new-10000-year-data-storage-medium-glass/
3•vinhnx•20m ago•0 comments

PostgreSQL Bloat Is a Feature, Not a Bug

https://rogerwelin.github.io/2026/02/11/postgresql-bloat-is-a-feature-not-a-bug/
1•vinhnx•20m ago•0 comments

Follow the Money is phasing out U.S. tech – follow the journey

https://www.ftm.eu/articles/follow-the-money-is-phasing-out-us-tech
2•YounesDz•22m ago•0 comments

AI Rivalry at AI Summit

https://twitter.com/CNBCTV18News/status/2024428069851959500
1•anonymousiam•23m ago•1 comments

Three Engineers Charged with Stealing Trade Secrets from Leading Tech Companies

https://www.justice.gov/usao-ndca/pr/silicon-valley-engineers-charged-stealing-trade-secrets-lead...
2•trimbo•24m ago•0 comments

Show HN: GameZipper – 12 Free HTML5 Browser Games (No Ads, No Login)

https://gamezipper.com/
1•LetusWinyj•26m ago•0 comments

The Robin Hood state is coming for the rich

https://www.economist.com/international/2026/02/16/the-robin-hood-state-is-coming-for-the-rich
2•andsoitis•28m ago•0 comments

Iowa farmers swapped pigs for mushrooms

https://www.theguardian.com/environment/2026/feb/19/why-iowa-farmers-swapped-pigs-mushrooms
3•andsoitis•34m ago•0 comments

Show HN: 17MB model beats human experts at pronunciation scoring

https://huggingface.co/spaces/fabiosuizu/pronunciation-assessment
4•fabiosuizu•36m ago•1 comments

Claude Desktop on Windows Broke MCP

https://github.com/anthropics/claude-code/issues/26073
2•0xFFFC•37m ago•1 comments

No respite for World Cup fans affected by Trump travel restrictions

https://www.espn.com/soccer/story/_/id/47966503/haiti-senegal-ivory-coast-iran-travel-visa-ban-wo...
2•1659447091•38m ago•0 comments

Bring Back – AI that helps you reflect before texting your ex

https://1nk.ai/bring-back
1•iasheyam•41m ago•2 comments

Nvidia is in talks to invest up to $30B in OpenAI, source says

https://www.cnbc.com/2026/02/19/nvidia-is-in-talks-to-invest-up-to-30-billion-in-openai-source-sa...
2•gradus_ad•43m ago•0 comments

How to Use Clarity's AI Bot Activity Report

https://www.culturefoundry.com/cultivate/content-strategy/how-to-use-claritys-ai-bot-report-for-s...
1•mooreds•46m ago•0 comments

Show HN: CMV – strip up to 70% of Claude Code without losing any conversation

https://github.com/CosmoNaught/claude-code-cmv
1•CosmoSantoni•48m ago•0 comments