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?

How many of the 3,191 billionaires can you name?

https://billionaires.linolevan.com/
1•linolevan•1m ago•1 comments

mrdoob Ported Quake to JavaScript/Three.js

https://mrdoob.github.io/three-quake/
1•davidbarker•1m ago•0 comments

Russians supplied with new satellite internet terminals after Starlink blackout

https://www.pravda.com.ua/eng/news/2026/02/09/8020199/
1•c420•4m ago•0 comments

Block a website in specific countries using Nginx

https://shashanksrivastava.medium.com/block-a-website-in-specific-countries-using-nginx-20a651288795
1•kamaraju•5m ago•0 comments

I am building virtual Bash

https://github.com/everruns/bashkit
1•chalyi•5m ago•1 comments

Show HN: Fyno – Automate repetitive bookkeeping tasks

https://www.meetfyno.com
1•alicele27•5m ago•0 comments

I'm building a clarity-first language (compiles to C++)

https://github.com/taman-islam/rox
1•hedayet•6m ago•0 comments

Spec-Driven Development with Claude Code

https://www.braingrid.ai/blog/building-braingrid-with-braingrid
1•acossta•7m ago•1 comments

Google Nest camera video raises privacy questions

https://www.mynbc5.com/article/nancy-guthrie-fbi-nest-camera-video-raises-privacy-questions/70306538
1•1vuio0pswjnm7•7m ago•0 comments

The First Person Project: How to prove you are a real person online

https://www.firstperson.network/white-paper
1•walterbell•12m ago•0 comments

AI-Driven Low-Fi Prototyping with Balsamiq Cloud

https://balsamiq.com/blog/low-fidelity-prototyping/
1•ilt•12m ago•0 comments

SAIR Foundation

https://sair.foundation/
1•nsoonhui•13m ago•0 comments

Linux 7.0 Review: Major Performance, GPU, CPU, and Networking Upgrades

https://www.youtube.com/watch?v=3s37rDlIemI
1•cable2600•13m ago•0 comments

Show HN: Yan – Glitch Art Photo/Live Editor

https://yan.yichenlab.com/
1•xcc3641•17m ago•0 comments

A simpler way to remove explicit images from Search

https://blog.google/products-and-platforms/products/search/remove-explicit-images/
1•gnabgib•21m ago•0 comments

We're all called Julia, or maybe ChatGPT calls itself Julia

https://solresol.substack.com/p/were-all-called-julia-or-maybe-chatgpt
2•solresol•25m ago•1 comments

5,300-year-old 'bow drill' rewrites story of ancient Egyptian tools

https://www.ncl.ac.uk/press/articles/latest/2026/02/ancientegyptiandrillbit/
4•geox•25m ago•0 comments

Search the public domain through image embeddings

https://faenum.com
1•jlauf•27m ago•0 comments

Beautiful iOS SSH Terminal with GPU Acceleration

https://github.com/eriklangille/clauntty
1•dnw•27m ago•0 comments

Wall Street's anything-but-tech trade shakes up US stock market

https://www.ft.com/content/577b97f6-2416-48b9-9bd3-717bb202ca71
1•petethomas•28m ago•0 comments

Show HN: Obsidian Visual Skills – Generate Canvas, Excalidraw, Mermaid from Text

https://github.com/axtonliu/axton-obsidian-visual-skills
1•axtonliu•30m ago•0 comments

It's Time to Rage Against the AI Music Machine

https://time.com/7338205/rage-against-ai-generated-music/
1•cdrnsf•31m ago•0 comments

Show HN: Askill – A package manager for AI agent skills with AI safety scoring

https://github.com/avibe-bot/askill
1•alex_metacraft•32m ago•1 comments

AI is now a magic decompiler

https://stephenjayakar.com/posts/magic-decomp/
1•stephenjayakar•33m ago•0 comments

Lolong: Largest crocodile ever held in captivity

https://en.wikipedia.org/wiki/Lolong
2•teleforce•37m ago•0 comments

AI Can Work on VMs

https://www.fluid.sh/blog/how-fluid-reads-source-vms-safely
1•aspectrr•38m ago•0 comments

Medog Hydropower Station

https://en.wikipedia.org/wiki/Medog_Hydropower_Station
1•thunderbong•41m ago•0 comments

What FTX's investments would be worth today (based on public filings)

https://themissingbillions.com
2•apwn•42m ago•1 comments

Show HN: Runmoa – Create a global storefront with payments in 1 minute (no-code)

https://www.runmoa.com/?from=moa
1•shleefunnel•42m ago•0 comments

Show HN: AdKit MCP: Inject Ads into Your LLMs

https://www.adkitmcp.com/
1•Exorust•45m ago•0 comments