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?

Shatner is making an album with 35 metal icons

https://www.guitarworld.com/artists/guitarists/william-shatner-announces-all-star-metal-album
1•mhb•42s ago•0 comments

Hegseth to meet Anthropic CEO as Pentagon threatens banishment

https://www.axios.com/2026/02/23/hegseth-dario-pentagon-meeting-antrhopic-claude
1•samsolomon•1m ago•0 comments

DeepSeek trained AI model on Nvidia's best chip despite US ban

https://www.reuters.com/world/china/chinas-deepseek-trained-ai-model-nvidias-best-chip-despite-us...
1•geox•10m ago•0 comments

iMessage AI Chatbot Demo

https://github.com/sibblegp/car-service-demo
1•gsibble•10m ago•0 comments

Enthusiasts used their home computers to search for ET

https://phys.org/news/2026-01-enthusiasts-home-scientists-homing.html
1•Anon84•12m ago•0 comments

ChatGPT finds an error in Terence Tao's math research

1•codexon•14m ago•0 comments

AWS says more than 600 FortiGate firewalls hit in AI-augmented campaign

https://www.theregister.com/2026/02/23/aws_fortigate_firewalls/
1•Bender•15m ago•0 comments

Firefox 148 Now Available with the New AI Controls / AI Kill Switches

https://www.phoronix.com/news/Firefox-148
4•Bender•18m ago•0 comments

Meta problem with URPF our bundle in Boca raton

https://metafixthis.com/
1•synthesis5x•21m ago•1 comments

Netflix sparks fury by cutting off access for almost 90M devices

https://www.dailymail.co.uk/sciencetech/article-15585211/netflix-cuts-support-older-devices-plays...
1•Bender•22m ago•1 comments

Paediatricians' blood used to make new treatments for RSV and colds

https://www.newscientist.com/article/2516079-paediatricians-blood-used-to-make-new-treatments-for...
1•colinprince•22m ago•0 comments

Ask HN: What Linux Would Be a Good Transition from Windows 11

2•Cyberis•22m ago•4 comments

U.S. Plans to Stop Funding Low-Earning Degrees. Indiana May Just End Them

https://www.insidehighered.com/news/government/state-policy/2026/02/23/indiana-bill-would-use-fed...
2•bikenaga•24m ago•1 comments

Show HN: Aru AI local-first AI assistant with semantic memory in browser SQLite

https://chat.aru-lab.space
1•AruLab•24m ago•0 comments

Token Anxiety

https://writing.nikunjk.com/p/token-anxiety
1•colinprince•25m ago•0 comments

Searchable index to identify and select European digital services

https://eurotechguide.com/european-cloud-sovereignty-score-search/
2•doener•26m ago•0 comments

War Propaganda and Iran: Script Used for Every Failed US War Hauled Out Again

https://greenwald.substack.com/p/war-propaganda-and-iran-the-exact
15•treetalker•30m ago•1 comments

I Ported Coreboot to the ThinkPad X270

https://dork.dev/posts/2026-02-20-ported-coreboot/
1•todsacerdoti•35m ago•0 comments

The Chinese AI app sending Hollywood into a panic

https://www.bbc.com/news/articles/ckg1dl410q9o
4•billybuckwheat•35m ago•0 comments

Nepal's community forests sit on unsold timber

https://news.mongabay.com/2026/02/nepals-community-forests-sit-on-unsold-timber/
1•PaulHoule•36m ago•0 comments

Show HN: OpenChrome – Parallel Browser automation MCP server

https://github.com/shaun0927/openchrome
1•shaun0927•36m ago•1 comments

C Enum Sizes; Or, How MSVC Ignores the Standard Once Again

https://ettolrach.com/blog/c_enum_msvc.html
1•todsacerdoti•36m ago•0 comments

Fair Use Paradox: Training and Distillation

https://www.jasonwillems.com/ai/2025/12/04/LLM-fairuse-irony/
3•jayw_lead•38m ago•0 comments

The first cars bold enough to drive themselves

https://arstechnica.com/features/2026/02/the-first-cars-bold-enough-to-drive-themselves/
1•LorenDB•38m ago•0 comments

2024 Interview with Alan Kay

https://www.youtube.com/watch?v=Laqu_WEyajU
3•dharmatech•39m ago•0 comments

Private Equity's Dry Spell Worse Than 2008 Crisis, Bain Says

https://www.bloomberg.com/news/articles/2026-02-23/private-equity-s-dry-spell-now-worse-than-2008...
1•toomuchtodo•39m ago•1 comments

Singing the Rug: Patterned Textile, the Origins of Indo-European Metrical Poetry

https://www.academia.edu/12830757/Singing_the_Rug_Patterned_Textiles_and_the_Origins_of_Indo_Euro...
1•jacquesm•42m ago•0 comments

I have tested an All European Mobile Suite for you

https://old.reddit.com/r/BuyFromEU/comments/1rcqc14/i_have_tested_a_all_european_mobile_suite_for...
1•doener•43m ago•0 comments

Safeclaw non generative AI introduces Safe GEN AI blogging

https://github.com/princezuda/safeInclaw
1•thesafeclaw•43m ago•1 comments

Discworld (Video Game)

https://en.wikipedia.org/wiki/Discworld_(video_game)
1•doener•45m ago•0 comments