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

MIT's new 'recursive' framework lets LLMs process 10M tokens

https://venturebeat.com/orchestration/mits-new-recursive-framework-lets-llms-process-10-million-t...
1•prng2021•21s ago•0 comments

I don't like skiing in the shade, so I built a ski trail shade map

https://skishade.com
1•marcushyett•1m ago•0 comments

Tour website's AI sends visitors to Tasmanian sites that do not exist

https://www.abc.net.au/news/2026-01-22/ai-images-of-tasmania-on-tour-website/106253448
1•beatthatflight•2m ago•0 comments

198-Bit Constraint Framework: New Physics from First Principles

https://zenodo.org/records/18170177
1•More_Fee_Us•3m ago•1 comments

Trump FCC threatens to enforce equal-time rule on late-night talk shows

https://arstechnica.com/tech-policy/2026/01/trump-fcc-tries-to-get-more-republicans-on-late-night...
4•voxadam•8m ago•1 comments

NexDock is building a new Windows phone that you can buy in 2026

https://www.windowscentral.com/microsoft/windows-11/nexdock-is-building-a-new-windows-phone-that-...
2•LorenDB•8m ago•0 comments

Elizabeth Holmes asks President Donald Trump to let her out of prison early

https://www.cnn.com/2026/01/21/tech/elizabeth-holmes-theranos-trump-commute-sentence
4•g-b-r•9m ago•1 comments

Tsfresh

https://tsfresh.readthedocs.io/en/latest/
1•jonbaer•12m ago•0 comments

The Art of Craftsmanship (Monozukuri) in the Age of AI

https://rapha.land/the-art-of-craftsmanship-monozukuri-in-the-age-of-ai/
1•vinhnx•12m ago•0 comments

Myth of the Monolithic ERP: Why They Keep Failing [video]

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

An A.I. Startup Says It Wants to Empower Workers, Not Replace Them

https://www.nytimes.com/2026/01/20/technology/humans-ai-anthropic-xai.html
3•bookofjoe•21m ago•2 comments

Testosterone went from prostate cancer villain to potential ally

https://theconversation.com/how-testosterone-went-from-prostate-cancer-villain-to-potential-ally-...
2•PaulHoule•23m ago•0 comments

Flashlabs releases the world’s first open-source voice cloning model

https://twitter.com/flashlabsdotai/status/2013993446047158550
2•sangwen•25m ago•2 comments

Show HN: iMessage-data-foundry – Synthetic iMessage Data Generator

https://github.com/johnlarkin1/imessage-data-foundry
2•jlarks32•27m ago•0 comments

Open4D – Open-Source 4D Geometry Processing, Compression and Streaming Library

https://github.com/SINRG-Lab/Open4D
1•hex823•29m ago•1 comments

Palantir CEO: With AI, economies won't need immigration

https://www.theregister.com/2026/01/21/palantir_ceo_karp_claims_ai/
3•abdelhousni•29m ago•0 comments

GPTZero finds 100 new hallucinations in NeurIPS 2025 accepted papers

https://gptzero.me/news/neurips/
3•dnw•29m ago•0 comments

MsgBored, Screaming into the Abyss

https://johntrager.net/projects/msg-bored/
2•jtrager•30m ago•0 comments

AI recruiters: faster, cheaper, and still clueless

https://pksunkara.com/thoughts/ai-recruiters-faster-cheaper-and-still-clueless/
2•pksunkara•31m ago•0 comments

Explore the Mandelbrot Set

https://math.hws.edu/eck/js/mandelbrot/MB.html
1•mooreds•31m ago•0 comments

Summary paper on the STAR-Vote system [pdf]

https://www.cs.rice.edu/~dwallach/pub/star-summative-2018.pdf
1•thechao•40m ago•0 comments

FCC: Late-night and daytime talk shows must offer equal time for candidates

https://www.nbcnews.com/politics/elections/fcc-late-night-daytime-talk-shows-equal-time-candidate...
2•ceejayoz•40m ago•0 comments

The divergence of centralized systems and individual agency

4•Kiplomat-SouCmp•42m ago•3 comments

Ukraine Holds Off on New Helsing Drone Orders After Setbacks

https://www.bloomberg.com/news/articles/2026-01-19/ukraine-holds-off-on-new-helsing-drone-orders-...
4•doener•43m ago•1 comments

Basic TTS – fast, free, and easy-to-use online text-to-speech tool

https://basictts.com/
2•sea-gold•43m ago•1 comments

Cyclic Subgroup Sum

https://m-slee.netlify.app/posts/cyclic-subgroup-sum
1•richard_chase•47m ago•1 comments

Being a tourist, can I film police in the US?

https://travel.stackexchange.com/questions/58566/being-a-tourist-can-i-film-police-in-the-us
3•beatthatflight•47m ago•2 comments

Show HN: HinkyPunk VPN

https://github.com/canaanmckenzie/HinkyPunk
2•prince_nez•48m ago•0 comments

List of Sales Closing Techniques

https://talnet.co/social/3KqvEuvb4p
1•bouia•50m ago•0 comments

Easy Delegation with C# Source Generators Library

https://davidvedvick.info/notes/2026/01/21/source-generators-easy-delegation-c-sharp
1•whoisthemachine•51m ago•0 comments