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

Gene therapy advances as scientists guide jumping DNA to target faulty genes

https://medicalxpress.com/news/2025-12-gene-therapy-advances-scientists-dna.html
1•PaulHoule•4m ago•0 comments

Veronika, the Tool-Using Cow

https://arstechnica.com/science/2026/01/meet-veronika-the-tool-using-cow/
2•nxobject•8m ago•1 comments

Nova Launcher Added Facebook and Google Ads Tracking

https://lemdro.id/post/lemdro.id/35049920
1•celsoazevedo•9m ago•1 comments

Show RLM Analyzer–AI code analysis using recursive LLMs(MIT CSAIL research)

https://npmjs.com/package/rlm-analyzer
1•zendizmo•9m ago•1 comments

Porsche Sold More Electrified Cars in Europe in 2025 Than Pure Gas-Powered Cars

https://newsroom.porsche.com/en/2026/company/porsche-deliveries-2025-41516.html
2•m463•11m ago•0 comments

Show HN: Prompt Reboot – a tool to surface failure modes in your prompt

https://www.promptreboot.com/
1•cedarscarlett•13m ago•0 comments

LinkedIn Causing 7000 Requests/Second? CPU Spike Across Fresh Systems

https://www.youtube.com/watch?v=24wNHf9JyMY
1•praveenscience•15m ago•0 comments

Is the Constitution Broken

https://www.harvardmagazine.com/social-sciences/is-the-constitution-broken
3•KnuthIsGod•17m ago•1 comments

How Much Is Eight Dollars?

https://defector.com/how-much-is-eight-dollars
1•MaysonL•20m ago•0 comments

The creator of Node.js says the era of writing code is over

https://jpcaparas.medium.com/the-creator-of-node-js-says-the-era-of-writing-code-is-over-8320c868...
3•CharlesW•24m ago•2 comments

Uber, often sued over car crashes, pushes for law to limit lawyer fees

https://www.latimes.com/california/story/2026-01-17/uber-personal-injury-lawsuits-california-law
5•sizzle•31m ago•1 comments

F5 tackles AI security with new platform extensions

https://www.networkworld.com/article/4118696/f5-tackles-ai-security-with-new-platform-extensions....
1•ohjeez•31m ago•0 comments

Uber Pushes to Cap Personal Injury Lawyer Payouts A.G. 25-0022 [pdf]

https://oag.ca.gov/system/files/initiatives/pdfs/25-0022A1%20%28Self%20Dealing%20Attorneys%29.pdf
4•sizzle•33m ago•0 comments

Austrian cow shows first case of flexible, multi-purpose tool use in cattle

https://www.amazon.com/IASEAHK-Cushions-Dining-Chairs-Kitchen/dp/B0DJCT6H9D/ref=sr_1_9?dib=eyJ2Ij...
2•bookmtn•35m ago•0 comments

SearchGuard: How Google detects bots and what the SerpAPI lawsuit reveals

https://searchengineland.com/inside-google-searchguard-467676
5•sans_souse•36m ago•0 comments

Show HN: AlgoSync – A social space for builders to share the "real" tech journey

https://www.algosyncverse.com/
1•lyquochao84•37m ago•1 comments

Netflix Ruined Korean Dramas Forever [video]

https://www.youtube.com/watch?v=p1_j6izmEX4
2•danhite•38m ago•1 comments

Opensync

https://github.com/waynesutton/opensync
1•handfuloflight•38m ago•0 comments

Bank of England 'must plan for a financial crisis triggered by aliens'

https://www.msn.com/en-gb/news/uknews/bank-of-england-must-plan-for-a-financial-crisis-triggered-...
6•matthewsinclair•48m ago•6 comments

EnergyNet Explained: Internetification of Energy Distribution

https://arxiv.org/abs/2509.08152
1•zekrioca•49m ago•0 comments

Scaling long-running autonomous coding

https://simonwillison.net/2026/Jan/19/scaling-long-running-autonomous-coding/
2•srameshc•50m ago•0 comments

Ask HN: Do Hackathons Still Matter in 2026?

4•rafaepta•52m ago•1 comments

React Native Windows v0.81

https://devblogs.microsoft.com/react-native/%f0%9f%9a%80react-native-windows-v0-81-is-here/
1•soheilpro•52m ago•0 comments

AI Is a Horse (2024)

https://kconner.com/2024/08/02/ai-is-a-horse.html
1•zdw•52m ago•0 comments

SolarPunk: Autonomous redistribution system with anti-corporate code

https://github.com/MeekoThaRaccoon/SolarPunk
2•RealSolarPunk•52m ago•1 comments

Ygrep: Fast, local, indexed code search tool optimized for AI coding assistants

https://github.com/yetidevworks/ygrep
1•kristianp•57m ago•0 comments

How to Kill a Fish

https://www.newyorker.com/magazine/2026/01/26/how-to-kill-a-fish
1•mitchbob•59m ago•1 comments

Show HN: NPM install a WASM based Linux VM for your agents

https://github.com/deepclause/agentvm
1•schmuhblaster•1h ago•1 comments

Volvo EX60: First Gemini-Powered EV vs. BMW iX3 Alexa+

https://www.techradar.com/vehicle-tech/dash-cams/the-worlds-first-gemini-powered-ev-lands-this-we...
2•gfortaine•1h ago•3 comments

The fastest human spaceflight mission in history crawls closer to liftoff

https://arstechnica.com/space/2026/01/nasas-artemis-ii-rocket-rolls-to-launch-pad-but-key-test-lo...
2•homo_economicus•1h ago•0 comments