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?

'RageCheck' Points Out Manipulative Language in News Articles

https://lifehacker.com/tech/ragecheck-manipulative-language-news-articles
1•gnabgib•30s ago•0 comments

Ask HN: Hacker News Fixed Width for Widescreen Monitors" Userstyle?

1•MollyRealized•47s ago•0 comments

Extend Trust Across the Software Supply Chain with Red Hat Trusted Libraries

https://www.redhat.com/en/blog/extend-trust-across-software-supply-chain-red-hat-trusted-libraries
1•jruohonen•2m ago•1 comments

CIA, Pentagon reviewed secret 'Havana syndrome' device in Norway, WaPo reports

https://www.reuters.com/business/healthcare-pharmaceuticals/cia-pentagon-reviewed-secret-havana-s...
1•alephnerd•5m ago•0 comments

I Analyzed 227M Rows of Medicaid Data. Here's a Sample of What I Found in Maine

https://twitter.com/lukethomas14/status/2022519245553160237
1•NewCzech•5m ago•0 comments

AI: A Bridge Toward Diverse Intelligence

https://www.noemamag.com/ai-could-be-a-bridge-toward-diverse-intelligence/
1•kjhughes•6m ago•0 comments

How to Write Mathematical Papers by Bruce C. Berndt [pdf]

https://alozano.clas.uconn.edu/wp-content/uploads/sites/490/2020/08/berndt.pdf
1•paulpauper•6m ago•0 comments

Curosr: Expanding our long-running agents research preview

https://cursor.com/blog/long-running-agents
1•mustaphah•6m ago•0 comments

Show HN: Cappu – ADHD'er take on a different task manager

https://cappu.app/
1•arajnoha•7m ago•0 comments

PlantNet; Identify, explore and share your observations of wild plants

https://identify.plantnet.org
2•thunderbong•9m ago•0 comments

Jeffrey Epstein spent years building ties to well-known hackers: Politico

https://www.politico.com/news/2026/02/14/epsteins-hackers-defcon-black-hat-00779365
2•star-glider•9m ago•0 comments

Show HN: Logbooks, notebook computing for coding agents

https://github.com/rwhaling/logbooks
1•rwhaling•10m ago•0 comments

Wazir Drop: a tournament winning board game AI engine

https://github.com/tczajka/wazir-drop
1•stared•11m ago•1 comments

Siri, Alexa, ChatGPT, and OpenClaw: What's Different?

https://openclaw.rocks/blog/openclaw-vs-siri-alexa-chatgpt
1•stubbi•11m ago•0 comments

PicoClaw: Ultra-Efficient AI Assistant in Go

https://github.com/sipeed/picoclaw
1•rdudekul•12m ago•0 comments

War Atlas: Mapping 3,500 Years of Conflict

https://googlemapsmania.blogspot.com/2026/01/war-atlas-mapping-3500-years-of-conflict.html
1•gnabgib•13m ago•0 comments

You Can't Trust the Internet Anymore

https://nicole.express/2026/not-my-casual-hobby.html
6•panic•14m ago•0 comments

Juggling Information Service

http://juggling.org
1•wasmperson•14m ago•1 comments

The Dragnet Era of Home Security Cameras

https://www.wsj.com/tech/personal-tech/ring-nest-home-security-cameras-privacy-157935f8
1•1vuio0pswjnm7•15m ago•0 comments

Building an End-to-End Developer Salary Prediction App

https://medium.com/data-and-beyond/building-an-end-to-end-developer-salary-prediction-app-b50324e...
1•MaysonL•16m ago•0 comments

So Bright the Vision by Simak (1956)

https://openlibrary.org/books/OL7526650M/So_Bright_the_Vision
1•f137•17m ago•1 comments

Gemini 3 Deep Think drew me a good SVG of a pelican riding a bicycle

https://simonwillison.net/2026/Feb/12/gemini-3-deep-think/
18•stared•17m ago•3 comments

Show HN: Tori Terminal-native Docker monitoring with alerting in a single binary

https://github.com/thobiasn/tori-cli
2•thobiasn•18m ago•0 comments

TSA agents are working without pay at US airports due to another shutdown

https://apnews.com/article/dhs-shutdown-tsa-travel-airports-delays-ff8b225c6ff8d57172fd301a550057b3
2•geox•19m ago•0 comments

A Bitcoin Blunder for the Ages: $40B Accidentally Given Away

https://www.wsj.com/finance/currencies/a-bitcoin-blunder-for-the-ages-40-billion-accidentally-giv...
1•JumpCrisscross•19m ago•0 comments

A Stanford Experiment to Pair 5k Singles Has Taken over Campus

https://www.wsj.com/lifestyle/relationships/stanford-students-experiment-dating-date-drop-92a4aea8
1•JumpCrisscross•19m ago•0 comments

I ran out of IPv6 Addresses (2024)

http://www.makikiweb.com/ipv6/ran_out_of_ipv6_addresses.html
1•arm•20m ago•0 comments

Complex swimming creature animations via simple maths and p5.js

https://twitter.com/yuruyurau/status/2022526453779435912
2•stared•21m ago•0 comments

US Military preparing for potentially weeks-long Iran operations

https://www.reuters.com/world/middle-east/us-military-preparing-potentially-weeks-long-iran-opera...
6•mhb•25m ago•0 comments

Ask HN: What are challenges for enterprise level Knowledge Graph adoption in AI

1•adityashukla_•25m ago•0 comments