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

Pullnotes: A Notion-like editor for your GitHub repos

https://github.com/hunvreus/pullnotes
1•handfuloflight•2m ago•0 comments

What We Forget About Covid Will Shape the Next Pandemic

https://www.bloomberg.com/news/features/2026-03-06/covid-19-s-forgotten-lessons-will-shape-the-ne...
1•alephnerd•7m ago•0 comments

Surfers in Munich (Yes, Munich) Just Want Their Wave Back

https://www.nytimes.com/2026/03/07/world/europe/munich-surfing-wave.html
1•jeffwass•9m ago•0 comments

Markiplier discovering the value of On Premise Servers [video]

https://www.youtube.com/shorts/EM8NWE7_xFQ
1•Decabytes•11m ago•0 comments

Let's build a tool-using agent

https://educatedguesswork.org/posts/tool-calling/
1•ekr____•12m ago•0 comments

Unified Dasher Onboarding: A modular platform to scale globally

https://careersatdoordash.com/blog/doordash-unified-dasher-onboarding-a-modular-platform-to-scale...
1•evilsaloon•13m ago•0 comments

Coming Online

https://computerfuture.me/posts/coming-online
1•cmptrfuture•14m ago•0 comments

HyperCard Changed Everything [video]

https://www.youtube.com/watch?v=hxHkNToXga8
1•vinhnx•14m ago•0 comments

PC processors entered the Gigahertz era today in the year 2000 with AMD's Athlon

https://www.tomshardware.com/pc-components/cpus/pc-processors-entered-the-gigahertz-era-today-in-...
4•LorenDB•15m ago•0 comments

Show HN: AnyOneWillDo – instantly choose someone from a list

https://anyonewilldo.com
1•mkumm•16m ago•0 comments

Show HN: Diorooma – 3D room moodboard using screenshots from any furniture store

https://diorooma.com/
1•bakerr•17m ago•0 comments

Show HN: Zodex – AI Coding Environment

https://zodex.dev
1•furkankoseoglu•17m ago•0 comments

Tinnitus Is Connected to Sleep

https://www.sciencealert.com/tinnitus-is-somehow-connected-to-a-crucial-bodily-function
1•bookofjoe•19m ago•0 comments

Mitchell Hashimoto's new way of writing code [video]

https://www.youtube.com/watch?v=WjckELpzLOU
1•tosh•19m ago•0 comments

Show HN: ManyLens – Examine personal dilemmas through multiple perspectives

https://manylens.app
1•GoodRoots•19m ago•0 comments

AI Tooling for Software Engineers in 2026

https://newsletter.pragmaticengineer.com/p/ai-tooling-2026
1•vinhnx•20m ago•0 comments

Video Helper – open-source tool to extract mind maps and summaries from videos

https://github.com/LDJ-creat/video-helper
1•LDJ-create•21m ago•1 comments

I'm 17 and built an AI that generates GitHub READMEs from any repo URL

https://www.wabio.xyz/
2•youelfedr•21m ago•1 comments

OWASP's Top Ways to Attack LLMs: AI Vulnerabilities Exposed

https://www.youtube.com/watch?v=gUNXZMcd2jU
1•Brysonbw•21m ago•0 comments

Mojo: GPU Puzzles

https://puzzles.modular.com/
1•tosh•22m ago•0 comments

Show HN: Brf.it – Extracting code interfaces for LLM context

1•jeff-lee•23m ago•1 comments

Show HN: A tool that converts Excel files into dashboards instantly

https://www.datanestanalytics.com/
1•skandersab•24m ago•1 comments

Stop Making Models Smarter

1•noemit•26m ago•0 comments

Clanker cloud – fix all your DevOps issues with AI agents

https://clankercloud.ai/
2•tekbog•26m ago•0 comments

Show HN: NovaSCM – open-source SCCM alternative (WPF and Python and SQLite)

https://github.com/ClaudioBecchis/NovaSCM
1•Claudio82•27m ago•0 comments

Show HN: Somnia – a dream journal that locks 2 minutes after your alarm fires

https://www.somniavault.me/
1•SushanKKsdfsdf•30m ago•0 comments

Sneezy Does It

https://www.psychologytoday.com/sg/blog/in-excess/201604/sneezy-does-it
1•rzk•30m ago•0 comments

Ask HN: How do you enforce guardrails on Claude agents taking real actions?

1•uchibeke•37m ago•0 comments

Show HN: Bulk Image Generator – Create AI variations and remove bg in batch

https://bulkimagegenerator.app/
3•fairyFayra•38m ago•0 comments

Alt+Shift+Y to Strip Away Distractions

https://github.com/uscne/Yumi-Reader
1•uscneuscne•39m ago•1 comments