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•11mo 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•11mo 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?

California high-speed rail price tag jumps to $231B, nearly 7x 2008 estimate

https://kmph.com/news/local/california-high-speed-rail-price-tag-jumps-to-231b-nearly-seven-times...
2•fortran77•1m ago•0 comments

Terragrunt is dead: Multi-state transactions killed run-all

https://stategraph.com/blog/terragrunt-is-dead
1•madmax108•3m ago•0 comments

Show HN: 1990s Game Dev Algorithms for Distributed Systems

https://docs.merca.earth/blog/1990s-game-dev-algorithms-distributed-systems
1•cremer•4m ago•0 comments

Show HN: An attempt to grow a mind – building software with an inner life

https://www.momentbymoment.app/
1•shahabebrahimi•6m ago•0 comments

JOE 4.8

https://github.com/joe-editor/joe/releases
2•jhallenworld•6m ago•1 comments

KeeWebX – An Updated Fork of KeeWeb

https://github.com/gynet/keewebx
1•faebi•9m ago•0 comments

Long-running Agents (Summary of the current state on many fronts)

https://addyosmani.com/blog/long-running-agents/
1•eddyzh•9m ago•1 comments

The Blackberry Comedy [video]

https://www.youtube.com/shorts/SEe_lXZx9Fw
1•vednig•9m ago•0 comments

Electric air taxis take flight in NYC with new technology tested at JFK

https://abc7ny.com/post/electric-air-taxis-take-flight-nyc-new-technology-tested-jfk-airport/1897...
1•pseudolus•10m ago•0 comments

A DuckDB extension for vector search indexes with pluggable quantization

https://github.com/Icemap/duckdb-vector-index
1•CheeseWang•11m ago•0 comments

OpenTrafficMap

https://opentrafficmap.org/
3•moooo99•13m ago•0 comments

Show HN: The Dominion List – an open-source db of Canadian founders in the US

https://dominionlist.com
1•antoinenivard•13m ago•0 comments

CVE-2026-32202: Windows Shell Spoofing Vulnerability

https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-32202
1•saikatsg•14m ago•0 comments

Show HN: Scout – open-source Company Brain

https://github.com/agno-agi/scout
1•ashpreet-bedi•14m ago•0 comments

I built an offline tax calculator [UK]

https://play.google.com/store/apps/details?id=com.yourname.taxnavigator&hl=en_GB
1•Qubit_Logic•15m ago•0 comments

Brian Cox: The terrifying possibility of the Great Filter [video]

https://www.youtube.com/watch?v=rXfFACs24zU
1•simonebrunozzi•16m ago•0 comments

Probes trace an emergent jailbreak in OLMo 2 to mislabeled training data

https://www.lesswrong.com/posts/rg2LhYNYNbxR84ag3/probe-based-data-attribution-surfacing-and-miti...
1•aranguri•16m ago•0 comments

Your CEO is suffering from AI psychosis

https://handyai.substack.com/p/your-ceo-is-suffering-from-ai-psychosis
3•sss111•17m ago•0 comments

Can men's volleyball save American colleges from financial doom?

https://thehustle.co/originals/can-mens-volleyball-save-american-colleges-from-financial-doom
1•paulpauper•17m ago•0 comments

You don't own your PlayStation games anymore

https://www.rogue.site/news/you-dont-own-your-playstation-games-anymore/
2•HelloUsername•17m ago•0 comments

List of all the domain .well-known files

https://wkdomains.com/well-known-files
1•fcpguru•17m ago•0 comments

Notepad++ Code Editor Comes to Mac After 20-Year Wait

https://notepad-plus-plus-mac.org/download/
2•kfir•18m ago•1 comments

Spy officials: job‑loss fear, safe rapid change top AI workforce challenges

https://cyberscoop.com/national-geospatial-intelligence-ai-agency-leaders-say-job-loss-safety-top...
3•billybuckwheat•19m ago•0 comments

Is a credit score of 800 rare?

https://www.quora.com/profile/Henry-Ehirim-7
1•hennix22•19m ago•0 comments

Crying Myself to Sleep on the Biggest Cruise Ship

https://www.theatlantic.com/magazine/archive/2024/05/royal-caribbean-cruise-ship-icon-of-seas/677...
2•paulpauper•20m ago•1 comments

Show HN: I Built a Guide to the Manifold Shift in Mechanistic Interpretability

https://aithoughtsarenotalwaysstraightlines.vercel.app/
1•jdcampolargo•20m ago•0 comments

A Mediocre Public-School Education for Just $40k a Pupil

https://www.theatlantic.com/ideas/2026/04/new-york-city-schools-budget/686971/
1•paulpauper•20m ago•0 comments

Show HN: A Multi User Multi Task Board MCP Server

https://github.com/dizlexic/moo-tasks
1•dizlexic•21m ago•0 comments

Bringing Enigma to LLMs with enigmapython-MCP

https://github.com/denismaggior8/enigma-python-mcp
1•denismaggior8•22m ago•0 comments

Developer freedom: GitHub avaiable in Iran (2022)

https://github.blog/news-insights/policy-news-and-insights/advancing-developer-freedom-github-is-...
1•Muhammad523•22m ago•0 comments