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?

ByteDance Seed2.0 LLM: breakthrough in complex real-world tasks

https://seed.bytedance.com/en/blog/seed2-0-%E6%AD%A3%E5%BC%8F%E5%8F%91%E5%B8%83
1•cyp0633•4m ago•1 comments

The SEC closed its investigation into Fisker

https://techcrunch.com/2026/02/13/the-sec-closed-its-investigation-into-fisker/
1•SilverElfin•6m ago•1 comments

First Proof

https://1stproof.org/
1•tosh•6m ago•0 comments

Washington pushes back against EU's bid for tech autonomy

https://www.politico.eu/article/eu-bid-for-tech-autonomy-washington-us-pushes-back/
2•frm88•8m ago•0 comments

Apple Reveals How Many iPhones Are Running iOS 26

https://www.macrumors.com/2026/02/13/apple-shares-ios-26-adoption-stats/
2•tosh•9m ago•0 comments

The Final Bottleneck

https://lucumr.pocoo.org/2026/2/13/the-final-bottleneck/
2•tosh•15m ago•0 comments

Show HN: HelloAria – AI task manager where you talk instead of type

https://www.helloaria.io/
1•saitharun_stk•15m ago•1 comments

Do Not Outsource Judgement

https://dncrews.com/do-not-outsource-judgement-76f9e5be61b9
2•mawaldne•16m ago•1 comments

Painless Activation Steering (PAS)

https://sashacui.substack.com/p/painless-activation-steering-pas
1•SashaCui•16m ago•1 comments

Show HN: Quantitative analysis of Alphabet (GOOGL) financials

https://jasonhonkl.github.io/#alphabet-quantitative-analysis
2•JasonHEIN•22m ago•0 comments

I love using TypeScript at work

https://kwojcicki.github.io/blog/WHY-I-LOVE-TYPESCRIPT
1•kwojcicki•26m ago•0 comments

14 More Lessons from 14 years at Google

https://addyosmani.com/blog/14-more-lessons/
4•talonx•38m ago•0 comments

Show HN: Swarm Curl

https://github.com/ismdeep/swarm-curl
2•ismdeep•39m ago•1 comments

The AI Dilemma

https://www.aleksandrhovhannisyan.com/blog/the-ai-dilemma/
2•aleksandrh•39m ago•0 comments

Cyber Model Arena

https://www.wiz.io/cyber-model-arena
2•ram_rattle•49m ago•0 comments

Pg_stat_ch: A PostgreSQL extension that exports every metric to ClickHouse

https://clickhouse.com/blog/pg_stat_ch-postgres-extension-stats-to-clickhouse
2•saisrirampur•53m ago•0 comments

Why haven't humans been back to the moon in over 50 years?

https://www.cnn.com/2026/02/13/science/why-humans-have-not-been-back-to-moon
2•ablaba•55m ago•1 comments

Jikipedia, a new AI-powered wiki reporting on key figures in the Epstein scandal

https://twitter.com/jmailarchive/status/2022482688691835121
1•wenjel•59m ago•0 comments

Show HN: Heart Note – a tiny web app to send beautiful one‑off digital letters

https://heartnote.online
2•azabraao•1h ago•0 comments

SnowBall: Iterative Context Processing When It Won't Fit in the LLM Window

https://enji.ai/tech-articles/snowball-iterative-context-processing/
1•puzanov•1h ago•0 comments

How to be a good Asian parent (satire)

https://www.reddit.com/r/AsianParentStories/s/yyMDWcAUdh
1•carabiner•1h ago•1 comments

The Compliance Officer Who Flagged Epstein – and Lost Her Job

https://www.levernews.com/the-compliance-officer-who-flagged-epstein-and-lost-her-job/
1•cwwc•1h ago•0 comments

Convert URLs and Files to Markdown

https://markdown.new
2•salkahfi•1h ago•0 comments

Podcast: Solving Distributed Message Passing: NATS.io composite learning [video]

https://www.youtube.com/watch?v=5NXvU17a-iU
1•northlondoner•1h ago•4 comments

Lockdown Mode and Elevated Risk Labels in ChatGPT

https://openai.com/index/introducing-lockdown-mode-and-elevated-risk-labels-in-chatgpt/
2•ms7892•1h ago•0 comments

Living in the Petri Dish of the Future

https://om.co/2026/02/12/living-in-the-petri-dish-of-the-future/
1•herbertl•1h ago•0 comments

The feedback you're not giving is the problem you keep having

https://dougrathbone.com/blog/2026/02/14/the-feedback-youre-not-giving-is-the-problem-you-keep-ha...
1•wiredone•1h ago•0 comments

AI Fails at 96% of Jobs (New Study)

https://www.youtube.com/watch?v=z3kaLM8Oj4o
3•deterministic•1h ago•2 comments

LLM APIs is a State Synchronization Problem

https://lucumr.pocoo.org/2025/11/22/llm-apis/
1•goranmoomin•1h ago•0 comments

Show HN: Lucid – Catch hallucinations in AI-generated code before they ship

https://github.com/gtsbahamas/hallucination-reversing-system
3•jordanappsite•1h ago•0 comments