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?

Fine-Tune Moe Models 12x Faster with Unsloth

https://unsloth.ai/docs/new/faster-moe
1•gmays•10s ago•0 comments

Executable Data Contracts

https://github.com/sodadata/data-contract-template
1•santiviquez•21s ago•0 comments

Tachyum forced to shutter R&D office due to unpaid rent, wages, and taxes

https://www.tomshardware.com/tech-industry/semiconductors/tachyum-forced-to-shutter-r-and-d-offic...
1•pinewurst•40s ago•0 comments

Product vs. Market vs. Team: Why the market always wins

https://www.techfounderstack.com/p/market-always-wins
1•makle•1m ago•0 comments

My AI now drives my apps and checks its own work in 50ms loops

1•sebringj•3m ago•0 comments

Show HN: AI Dev Hub. 75 free AI and dev tools

https://aidevhub.io/
1•orbydx•4m ago•0 comments

Delphi is 31 years old – innovation timeline

https://blogs.embarcadero.com/delphi-innovation-timeline-31st-anniversary-edition-published-get-y...
1•andsoitis•5m ago•0 comments

Let Me Ask AI for You

https://letmeaskai.fyi/
2•dmitrysergeyev•7m ago•0 comments

Profiling on Windows: A Short Rant

https://mropert.github.io/2026/02/13/profiling_on_windows/
1•ingve•9m ago•0 comments

Energy balance in cyclists on plant-based diets during a 30-day, 4300-km ride

https://physoc.onlinelibrary.wiley.com/doi/10.14814/phy2.70629
1•PaulHoule•11m ago•0 comments

Show HN: I speak 5 languages. Duolingo taught me none. So I built lairner

https://lairner.com
4•t17r•13m ago•1 comments

Hong Kong has land, autocracy, and expensive housing. Why doesn't it build?

https://worksinprogress.co/issue/the-dysfunctional-tiger/
1•bensouthwood•14m ago•0 comments

It must be hard to publish null results

https://osf.io/preprints/socarxiv/zr5vf_v1
2•cainxinth•16m ago•0 comments

Manipulating AI memory for profit: The rise of AI Recommendation Poisoning

https://www.microsoft.com/en-us/security/blog/2026/02/10/ai-recommendation-poisoning/
1•philk10•17m ago•1 comments

Show HN: Joria – a native Mac notes app for instant capture and semantic recall

https://joria.app
1•nanbing•17m ago•0 comments

Every blog post I have shared until 2026

https://bryanhogan.com/blog/other-cool-blog-posts-2026
1•bryanhogan•18m ago•0 comments

One Task at a Time, Even with AI

https://wakamoleguy.com/p/one-task-at-a-time-even-with-ai
2•wakamoleguy•18m ago•0 comments

Scott Adams and the Art of Dying (and Living Forever) Online

https://meghanboilard.substack.com/p/scott-adams-and-the-art-of-dying
2•bcohen123•20m ago•0 comments

Jmail hits 450M views, Vercel CEO agrees to handle server costs

https://piunikaweb.com/2026/02/11/jmail-450m-views-vercel-ceo-covers-server-costs/
1•no_creativity_•21m ago•0 comments

BinaryAudit: Can AI find backdoors in raw machine code?

https://quesma.com/benchmarks/binaryaudit/
1•stared•21m ago•1 comments

AI is making online crimes easier. It could get worse

https://www.technologyreview.com/2026/02/12/1132386/ai-already-making-online-swindles-easier/
3•Brajeshwar•21m ago•0 comments

SafeRun Guard- Runtime safety firewall for AI coding agents (bash+jq, zero deps)

https://github.com/Cocabadger/saferun-guard
1•cocabadger•22m ago•1 comments

PyTorch Now Uses Pyrefly for Type Checking

https://pytorch.org/blog/pyrefly-now-type-checks-pytorch/
3•ocamoss•22m ago•0 comments

DiffSwarm: Multi-agent code review from your terminal (BYOK, runs locally)

https://diffswarm.com/
1•swolpatrol•23m ago•1 comments

Discord Voluntarily Pushes Mandatory Age Verification Despite Recent Data Breach

https://www.eff.org/deeplinks/2026/02/discord-voluntarily-pushes-mandatory-age-verification-despi...
3•hn_acker•23m ago•0 comments

Show HN: 1MB iOS apps designed to reduce mental open loops

1•kentaroyamauchi•25m ago•2 comments

Trump Antitrust Is Dead

https://pluralistic.net/2026/02/13/khanservatives/#kid-rock-eats-shit
4•leotravis10•25m ago•0 comments

Chris Liddell appointed to Anthropic's board of directors

https://www.anthropic.com/news/chris-liddell-appointed-anthropic-board
1•ryanhn•25m ago•0 comments

Maybe the Hollywood is cooked guys are cooked too idk

https://twitter.com/RuairiRobinson/status/2021394940757209134
1•hooch•26m ago•0 comments

US billionaires race China to moon

https://www.reuters.com/business/aerospace-defense/musk-fires-up-spacex-bezos-pushes-blue-origin-...
2•PessimalDecimal•28m ago•1 comments