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

Nvidia executive Debora Shoquist sells $14.7M worth of NVDA stock

https://www.sec.gov/Archives/edgar/data/1045810/000128385425000009/xslF345X05/wk-form4_1765410571...
1•jadelcastillo•4m ago•0 comments

Sakoku

https://en.wikipedia.org/wiki/Sakoku
1•thunderbong•5m ago•0 comments

Hints of a New Particle Beyond the Standard Model

https://darkmatter.website/article/hints-of-a-new-particle-beyond-the-standard-model/
1•darkmatternews•7m ago•0 comments

Vibevoice-Rs – Pure Rust Text-To Speech

https://github.com/danielclough/vibevoice-rs
1•teadaniel•11m ago•1 comments

Android Developer Verification

https://developer.android.com/developer-verification/guides/android-developer-console
1•Tigress8780•15m ago•0 comments

Show HN: Vanilla, a record player inspired macOS app built with Gemini 3

https://github.com/baddagger/vanilla
1•apoll•26m ago•0 comments

Ask HN: What email providers don't recycle email addresses?

1•supermatt•28m ago•0 comments

Show HN: Dnsaudit.io – A Free Advanced DNS Security Scanner for Real-World Risks

https://dnsaudit.io
2•shakauy•30m ago•0 comments

The future of long-term data storage is clear and will last 14B years

https://www.theregister.com/2025/12/14/sphotonix_moves_5d_memory_crystal/
1•socratics•30m ago•0 comments

Gajim 2.4.1 has been released – GTK XMPP/Jabber Chat Client – Communication

https://gajim.org/posts/2025-12-13-gajim-2.4.1-released/
1•neustradamus•32m ago•0 comments

Show HN: A local-first memory store for LLM agents (SQLite)

https://github.com/CaviraOSS/OpenMemory
1•nullure•38m ago•0 comments

'Holy crap. The end of me: ex-Google CEO Eric Schmidt on AI doing coding jobs

https://timesofindia.indiatimes.com/technology/tech-news/holy-crap-the-end-of-me-says-ex-google-c...
1•ashishgupta2209•39m ago•0 comments

My 2025 Stack – Grok Code Fast, Cline, Self-Hosting, and Barber Beats

https://mateo-siam.com/blog/2025-best-of-the-year/
1•Mateleo•44m ago•1 comments

Hetz – Make Website Footers / tables / navigation menus (html) online tool

https://hetz.ct.ws/
1•aminekhd•47m ago•0 comments

Samsung to halt SATA SSD production

https://www.notebookcheck.net/Samsung-to-halt-SATA-SSD-production-leaker-warns-of-up-to-18-months...
2•turrini•47m ago•0 comments

Gunmen kill 9 people at Sydney's Bondi Beach

https://apnews.com/article/australia-shooting-sydney-bondi-beach-31f711f09f677d0f88091ece25f651c1
5•wslh•48m ago•0 comments

Lightweight Rust Alternative CDK to Airbyte

https://github.com/kubent-solidafy/solidafy-cdk
1•kubent•50m ago•0 comments

Ask HN: How do I navigate horror of requirement gathering in product management?

1•souravpradhan•52m ago•1 comments

Show HN: Sub-agents for Cursor via MCP (isolated context, no worktrees)

https://github.com/shinpr/sub-agents-mcp
1•shinpr•54m ago•1 comments

Show HN: LudvigEditor – A lightweight Python alternative to Electron editors

https://github.com/Ludvig2457Ultra/LudvigEditor
3•ludvig2457•55m ago•1 comments

How redefining disability/special needs has changed education

https://www.ft.com/content/8252a3bf-f3a5-4cbf-baeb-237a8d5b022b
1•walthamstow•59m ago•0 comments

Adventure can be disastrous: digital nomad families 'worldschooling' their kids

https://www.theguardian.com/lifeandstyle/2025/dec/14/the-adventure-can-turn-into-a-disaster-the-d...
2•Geekette•1h ago•0 comments

Show HN: CryptoGig – A Marketplace for Freelancers Paid in Crypto

https://cryptogig.com/
1•annakoren•1h ago•0 comments

10 People killed in Bondi Beach shooting

https://www.abc.net.au/news/2025-12-14/active-shooter-bondi-beach-sydney-nsw/106141580
8•BLKNSLVR•1h ago•0 comments

DoomScroll – Browse, preview, and play user-made Doom WADs in the browser

https://doomscroll.cx
1•jsheard•1h ago•0 comments

Git Will Make Sense After This [video]

https://www.youtube.com/watch?v=Ala6PHlYjmw
1•matthew16550•1h ago•0 comments

Show HN: cvfitr.com – An AI Job Application tailoring site

https://cvfitr.com
2•iamdavidmt•1h ago•0 comments

Dogalog: A realtime Prolog-based livecoding music environment

https://github.com/danja/dogalog
2•triska•1h ago•1 comments

University life: From 50 years ago to now (2019)

https://www.timeshighereducation.com/student/blogs/university-life-50-years-ago-now
5•zeristor•1h ago•1 comments

Shai-Hulud compromised a dev machine and raided GitHub org access: a post-mortem

https://trigger.dev/blog/shai-hulud-postmortem
6•nkko•1h ago•1 comments