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

Razor 1911 [video] (first place at revision 2026 demoparty) [video]

https://www.youtube.com/watch?v=2AnbYNudAyM
1•msk-lywenn•4m ago•0 comments

Show HN: SwellSlots – Grid Based Surf Forecast App with a Street Fighter 2 UI

https://swellslots.com
1•rawoke083600•5m ago•0 comments

Deskilling

https://en.wikipedia.org/wiki/Deskilling
1•sph•7m ago•0 comments

FREDCode – Empowering Claude for Macro Fred Research

https://www.modolap.com/publication/fred-1#
1•ronfriedhaber•7m ago•0 comments

Did WordPress VIP leak my phone number?

https://shkspr.mobi/blog/2026/04/did-wordpress-vip-leak-my-phone-number/
2•robin_reala•9m ago•0 comments

Would appreciate feedback on a small project I've been working on

https://storylinn.com
1•Storylinn•9m ago•1 comments

Medvi, the AI telehealth is fueled by ads from doctors who don't appear to exist

https://www.businessinsider.com/medvi-ai-weight-loss-millions-ai-advertising-legal-compliance-cha...
1•__natty__•10m ago•0 comments

New Windows Privilege Escalation

https://www.bleepingcomputer.com/news/security/disgruntled-researcher-leaks-bluehammer-windows-ze...
2•ospray•11m ago•0 comments

A Conversation with Paul Masurel, Creator of Tantivy

https://www.paradedb.com/blog/tantivy-interview
1•jamesgresql•14m ago•1 comments

Factoring is not a good benchmark to track Q-day

https://bas.westerbaan.name/notes/2026/04/02/factoring.html
1•fanf2•16m ago•0 comments

Rocq 9.2.0 Released

https://rocq-prover.org/doc/v9.2/refman/changes.html#version-9-2
1•baruchel•16m ago•0 comments

AI Company Clones Musician's Voice, Then Copyright-Strikes Her Own Songs

https://rudevulture.com/ai-company-clones-musicians-voice-then-copyright-strikes-her-own-songs/
3•doener•19m ago•0 comments

Draw it yourself: Checking Trump's tariff claims a year later

https://www.reuters.com/graphics/USA-TRUMP/TARIFF-ANNIVERSARY/myvmybzwbvr/
2•giuliomagnifico•19m ago•0 comments

Show HN: Open-Source Higgsfiled AI Alternative

https://github.com/Anil-matcha/Open-Higgsfield-AI
1•Kumar963•21m ago•2 comments

Oneness Is All You Need

https://www.birkey.co/2026-04-05-oneness-is-all-you-need.html
1•signa11•21m ago•0 comments

Why your new computer is SLOWER than your OLD computer [video]

https://www.youtube.com/watch?v=t992ul_IKtc
3•tiernano•24m ago•0 comments

Ask HN: How do you get feedback for your products?

1•asim•24m ago•2 comments

Show HN: GifForge – A 2.2MB privacy-first iOS Video to GIF tool

https://apps.apple.com/cn/app/gifforge/id6761457073
1•wangbaobaoOi•26m ago•0 comments

Telegram's AI Silently Rewrites Your Political Opinions. I Extracted the Proof

https://medium.com/@metraoklam/extracting-system-prompt-model-identity-from-telegrams-ai-feature-...
3•armalko•28m ago•1 comments

LLM may be standardizing human expression – and subtly influencing how we think

https://dornsife.usc.edu/news/stories/ai-may-be-making-us-think-and-write-more-alike/
17•giuliomagnifico•29m ago•3 comments

Milla Jovovich's MemPalace Claims 100% on LoCoMo. Its Benchmarks.md Disagrees

https://penfieldlabs.substack.com/p/milla-jovovich-just-released-an-ai
3•dial481•29m ago•0 comments

Modolap – Codex-Native OLAP Service

https://www.modolap.com
1•ronfriedhaber•30m ago•0 comments

Fabian's Arena

https://matthewculnane.co.uk/posts/fabians-arena
1•paulcapewell•30m ago•0 comments

Show HN: LookAway 2.0 – a break reminder for Mac that respects what you're doing

https://lookaway.com
2•_kush•31m ago•0 comments

A filtered SaaS stack for solo founders – no paid placements

https://curated-software.deals
1•Chartysan•32m ago•1 comments

Show HN: Serif.sh – it's like ray.so for quotes (Open source)

https://github.com/ticketping-com/serif-sh
1•raviojha•33m ago•0 comments

Russia blocks messengers and VPNs – and its banks too

https://www.heise.de/en/news/Russia-blocks-messengers-and-VPNs-and-its-banks-too-11246142.html
3•doener•35m ago•1 comments

C3 0.7.11: closing out the 0.7 series before 0.8

https://c3-lang.org/blog/c3-0-7-11-the-last-v0-7/
3•lerno•35m ago•1 comments

Betting on a code-first approach to privacy

https://www.openpolicy.sh/blog/code-first
3•vr46•36m ago•0 comments

Semantic HTML Just Might Make Your CSS Less Fragile

https://schalkneethling.com/posts/semantic-html-just-might-make-your-css-less-fragile/
3•speckx•37m ago•0 comments