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?

Accidentally disabling SSH access via scp

https://sny.sh/hypha/blog/scp
1•todsacerdoti•2m ago•0 comments

Mothlamp Problems

https://unfoldingdiagrams.leaflet.pub/3mft6olldos26
1•todsacerdoti•3m ago•0 comments

The Economics of Technical Speaking

https://architectelevator.com/strategy/economics-technical-speaking/
1•tapanjk•3m ago•0 comments

Exposing More Parallelism Is the Reason Why Some Vectorized Loops Are Faster

https://johnnysswlab.com/exposing-more-parallelism-is-the-hidden-reason-why-some-vectorized-loops...
2•ingve•6m ago•0 comments

AI for Social Impact: Ideas Worth Building

https://www.araju.dev/blog/ai-for-social-impact
1•araju•8m ago•0 comments

Neanderthals seemed to have a thing for modern human women

https://arstechnica.com/science/2026/02/genomes-chart-the-history-of-neanderthal-modern-human-int...
1•jnord•9m ago•0 comments

LastSaaS: Free, open-source SaaS boilerplate; Go+React, built with Claude Code

https://github.com/jonradoff/lastsaas
1•jradoff•9m ago•1 comments

Anthropic says it 'cannot in good conscience' allow Pentagon to remove AI checks

https://www.theguardian.com/us-news/2026/feb/26/anthropic-pentagon-claude
2•fenazego•11m ago•1 comments

DevToolbox – 150 developer tools, no login, no tracking

1•yashnandvana•11m ago•0 comments

Spacetime DB: running a live video call over a database

https://twitter.com/spacetime_db/status/2027187510950994255
1•noleary•12m ago•0 comments

Space Elephants Across the Universe: Why Nobody Knows What's Going On With AI

https://www.georgesaines.com/blog/2026/2/26/space-elephants-across-the-universe-why-its-so-hard-t...
1•gsaines•14m ago•0 comments

5in1 universal open source sailing block [video]

https://www.youtube.com/watch?v=2efa3epOGgY
1•burnt-resistor•14m ago•1 comments

Show HN: ClawCare – Security scanner and runtime guard for AI agent skills

https://github.com/natechensan/ClawCare
1•chendev2•15m ago•0 comments

The proposal for generic methods for Go has been officially accepted

https://old.reddit.com/r/golang/comments/1rfmjbq/the_proposal_for_generic_methods_for_go_from/
1•todsacerdoti•15m ago•0 comments

Show HN: Agent-Rules – Opinionated Rules and Workflows for Claude Code

https://github.com/letientai299/agent-rules
1•letientai299•18m ago•0 comments

Show HN: I asked AI to respond to the AirSnitch vulnerability the day it dropped

1•nevynweb•19m ago•0 comments

Google-Intel Joint TDX Security Review [video]

https://www.youtube.com/watch?v=_n6WDifszh8
1•transpute•21m ago•0 comments

Hello burnout my old friend

https://trishagee.com/2026/02/12/hello-burnout-my-old-friend/
1•tapanjk•23m ago•0 comments

High Performance, Real-Time, Self-Learning, Vector GNN and DB Built in Rust

https://github.com/ruvnet/ruvector
1•mercat•27m ago•0 comments

Manage your domain names via OpenClaw and MCP

https://keep.domains/
1•muhammedilyasy•28m ago•0 comments

Show HN: Humanpass – Proof of humanness using WebAuthn, no data collected

https://human-pass.org/v/20260227-0710-PGY0
1•jzaragoza•28m ago•0 comments

Ask HN: How Many Programmers Are Now Using AI Agents in Their Work?

1•somthingwrong•28m ago•1 comments

AI models don't have their own thoughts and feelings

https://blog.keyvan.net/p/ai-models-dont-have-their-own-thoughts
1•k1m•29m ago•0 comments

Show HN: Got tired of writing promos so I made it one-click

https://github.com/NomaDamas/auto-hongmyungbo
1•minsingjin•36m ago•1 comments

Show HN: Orbtx – A physics-based ΔV engine with real-time 3D visualization

https://orbtx.vercel.app/
1•marzhannurbakyt•38m ago•0 comments

The Human-in-the-Loop Is Tired

https://pydantic.dev/articles/the-human-in-the-loop-is-tired
2•jonbaer•42m ago•0 comments

My greatest programming challenge so far

https://adelbordbari.github.io/code/2025-02-01-manage-netplan-with-django/
1•imnitwit•44m ago•0 comments

QuasarUI: Premium components and templates for Quasar framework

https://www.quasarui.com
1•hafizjaidi•45m ago•0 comments

In the search for an e-paper tablet in 2026

https://far.chickenkiller.com/computing/in-the-search-for-an-e-paper-tablet-in-2026/
1•farooqkz•47m ago•0 comments

Rapid Hot-Swapping for Go Lambdas

https://github.com/vaijab/flint
1•vaijab•49m ago•1 comments