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

No free lunch in vibe coding

https://bytesauna.com/post/prompting
1•mapehe•1m ago•1 comments

IDescriptor: A Cross-Platform iOS Device Management Tool

https://github.com/iDescriptor/iDescriptor
1•0x54MUR41•1m ago•0 comments

Show HN: Qdrant Vector Aggregator

https://github.com/vinerya/qdrant_vector_aggregator
1•chelbi•3m ago•0 comments

Hackers Bypass Signal, Telegram and WhatsApp Encryption to Read Messages

https://www.forbes.com/sites/daveywinder/2025/11/23/hackers-bypass-signal-telegram-and-whatsapp-e...
1•mionhe•4m ago•0 comments

Build a Compiler in Five Projects

https://kmicinski.com/functional-programming/2025/11/23/build-a-language/
2•azhenley•5m ago•0 comments

A One-Minute ADHD Test

https://psychotechnology.substack.com/p/a-one-minute-adhd-test-2330
1•eatitraw•11m ago•0 comments

Technology Radar: An opinionated guide to today's technology landscape

https://www.thoughtworks.com/en-in/radar
1•pramodbiligiri•12m ago•0 comments

AI Document Processing with Docling Java, Arconia, and Spring Boot

https://www.thomasvitale.com/ai-document-processing-docling-java-arconia-spring-boot/
1•thomasvitale•16m ago•0 comments

User reports indicate possible problems at Cloudflare

https://downdetector.in/status/cloudflare/
1•nine_minutes•18m ago•0 comments

Show HN: Simulating the vacuum as a superfluid to derive Alpha = 1/137

https://github.com/moseszhu999/geometric-vacuum-sim
1•moseszhu•23m ago•1 comments

mmwrap: provide multimedia-key actions for minimal Linux desktops

https://github.com/pvonmoradi/mmwrap
1•pooyamo•27m ago•0 comments

The Paradox of Memory: Why Forgetting Makes Learning Possible

https://carlhendrick.substack.com/p/the-paradox-of-memory-why-forgetting
2•atomicnature•30m ago•1 comments

Braided Arithmetic

https://mathcenter.oxford.emory.edu/site/math108/braid_arithmetic/
2•marysminefnuf•35m ago•0 comments

Show HN: WeatherOrNot a maximal weather app in the terminal

https://james-see.github.io/weatherornot/
2•jamescampbell•37m ago•0 comments

Why Starting Simple Is Your Secret Weapon in the AI-Assisted Development Era

https://practicalsecurity.substack.com/p/why-starting-simple-is-your-secret
1•atilla_bilgic•41m ago•0 comments

Court blocks Trump's plan to speed up deportations again

https://vechron.com/2025/11/appeals-court-upholds-block-trump-deportation-expansion/
2•ashishgupta2209•43m ago•0 comments

Git 3.0 will use main as the default branch

https://thoughtbot.com/blog/git-3-0-will-use-main-as-the-default-branch
15•ingve•43m ago•4 comments

How LLM Inference Works

https://arpitbhayani.me/blogs/how-llm-inference-works/
1•moks•50m ago•1 comments

Many fake Gaza accounts seeking donations, disclosed

https://nypost.com/2025/11/23/world-news/new-x-location-tool-outs-fake-gaza-accounts-taking-advan...
3•asdefghyk•56m ago•1 comments

Typography in the Wild

https://www.jaydip.me/blog/typography-in-the-wild
1•jdsane•57m ago•0 comments

Show HN: Antigravity – IDE-native scaffold turns Cursor into Agent Architect

https://github.com/study8677/antigravity-workspace-template
1•study8677•1h ago•1 comments

The Proxy Process Needs an Overhaul

https://www.wsj.com/opinion/the-proxy-process-needs-an-overhaul-00052637
1•mudil•1h ago•0 comments

ArcOS: Cognitive clone OS in pure natural language (no code)

https://zenodo.org/records/17675771
2•takeshi_sakamo•1h ago•2 comments

Don't obsess with security and privacy unless they are your core business

3•amano-kenji•1h ago•1 comments

Are others seeing early-stage funding shift from AI apps to infrastructure?

1•gsk_arcis•1h ago•0 comments

Nano Banana Pro and 2.0 AI

https://www.nanobanana-pro.app
1•timi09•1h ago•0 comments

What OpenAI Did When ChatGPT Users Lost Touch with Reality: DAU Optimization

https://www.nytimes.com/2025/11/23/technology/openai-chatgpt-users-risks.html
2•nonprofiteer•1h ago•0 comments

AI Investors Want More Making It and Less Faking It

https://www.wsj.com/finance/stocks/ai-investors-want-more-making-it-and-less-faking-it-321d8202
3•fortran77•1h ago•1 comments

Americans Are Holding onto Devices Longer

https://www.cnbc.com/2025/11/23/how-device-hoarding-by-americans-is-costing-economy.html
3•jamesgill•1h ago•2 comments

Too Computerised? Too Cold?: 1999 A.D. (1967)

https://publicdomainreview.org/collection/1999-ad/
2•Hooke•1h ago•0 comments