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?

Meta's Effort to Build the Longest Underwater Cable

https://www.pcmag.com/news/inside-metas-effort-to-build-the-worlds-longest-underwater-cable
1•edreib•28s ago•0 comments

Show HN: A crazy fast website built with Cloud flare workers

https://crazyfast.website
1•kilroy123•2m ago•0 comments

Show HN: The Taka Programming Language

https://codeberg.org/marton/taka
1•mgunyho•5m ago•0 comments

State of Clojure Community 2025 Survey

https://www.surveymonkey.com/r/clojure2025
1•simonpure•6m ago•0 comments

What happens when you type a SQL in the database

https://blog.xiangpeng.systems/posts/sql-to-results/
1•atomicnature•7m ago•0 comments

Show HN: K9sight – fast, keyboard-driven TUI for debugging Kubernetes workloads

https://github.com/doganarif/k9sight
1•Arifcodes•7m ago•0 comments

Show HN: FT-Lab – Lightweight TinyLlama Fine-Tuning (Full FT / LoRA / QLoRA)

https://github.com/REICHIYAN/ft_lab
1•Sai-HN•8m ago•0 comments

Show HN: AI Hairstyle Changer – Try Different Hairstyles (1 free try, no login)

https://aihairstylechanger.space
1•QuLi-ops•9m ago•0 comments

Glass-Ceramic Substrates for Electronics Packaging

https://advanced.onlinelibrary.wiley.com/doi/10.1002/aelm.202500331
1•akshatjiwan•10m ago•0 comments

What I think of the TAISE certification as a proven AI Governance expert

https://beabytes.com/taise-certification/
1•beabytes•11m ago•0 comments

Superfill.ai – Open-source AI extension for intelligent form autofill

2•_mikr13•13m ago•0 comments

Unlocking oxygen's hidden role in turning propylene into useful chemicals

https://phys.org/news/2025-11-oxygen-hidden-role-propylene-chemicals.html
2•PaulHoule•13m ago•0 comments

Show HN: ReddBoss – Turn Reddit into your lead generation machine with AI

1•MoNagm•13m ago•0 comments

Ask HN: How can a web Senior SWE move into a good game-dev or game-related job?

2•llll_lllllll_l•14m ago•2 comments

The Solitaire Encryption Algorithm (1999)

https://www.schneier.com/academic/solitaire/
1•mooreds•14m ago•0 comments

Aisuru botnet behind new record-breaking 29.7 Tbps DDoS attack

https://www.bleepingcomputer.com/news/security/aisuru-botnet-behind-new-record-breaking-297-tbps-...
1•fleahunter•14m ago•0 comments

Desugaring the Relationship Between Concrete and Abstract Syntax

https://thunderseethe.dev/posts/desugar-base/
1•todsacerdoti•15m ago•0 comments

Use money transfer app to gest high fx rate

https://idealremit.com
1•boubrik•15m ago•0 comments

Show HN: A prediction market where you can bet against my goals

https://market.ericli.tech
1•ericlmtn•15m ago•2 comments

Show HN: VoxCSS – A DOM based voxel engine

https://github.com/LayoutitStudio/voxcss
1•rofko•16m ago•0 comments

Show HN: AI Model Arena – Compare Z-Image, Nano Banana Pro, and Flux.2 Pro

https://z-image.app/arena
1•yeekal•17m ago•0 comments

Best of Metadata in 2025

http://muratbuffalo.blogspot.com/2025/12/best-of-metadata-in-2025.html
4•mark4•19m ago•0 comments

A Long Game

https://benjamindreyer.substack.com/p/a-long-game
1•mooreds•19m ago•0 comments

Change Commit Timestamps in Git

https://cassidoo.co/post/change-git-timestamp/
1•mooreds•21m ago•0 comments

Machine Code Explained [video]

https://www.youtube.com/watch?v=8VsiYWW9r48&list=PLzH6n4zXuckpwdGMHgRH5N9xNHzVGCxwf&index=1
1•tosh•21m ago•0 comments

I built NeurIPS '25 visualizer

2•huydangx•22m ago•0 comments

Top DevOps Companies Hiring in 2025

https://devopsprojectshq.com/role/top-devops-companies-2025/
1•thomster•23m ago•0 comments

Artificial Intelligence for Quantum Computing

https://www.nature.com/articles/s41467-025-65836-3
1•jonbaer•23m ago•0 comments

Congressional lawmakers 47% pts better at picking stocks

https://www.nber.org/papers/w34524
41•mhb•26m ago•18 comments

Technocrats Are Getting Stupider

https://unherd.com/2025/12/why-the-great-reset-failed/
3•voxleone•28m ago•2 comments