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?

Effects of a Modular Sleep System on Sleep Quality and Physiological Stability

https://www.mdpi.com/2076-3417/16/3/1194
1•PaulHoule•35s ago•0 comments

Show HN: SharpSkill – I Gamified a LeetCode-like tool to crush Tech Interviews

https://sharpskill.fr/en
1•CocoZozo•1m ago•0 comments

Tell HN: We analyzed our dev time.80% is still infrastructure'setup',notfeatures

1•thesssaism•2m ago•0 comments

Show HN: Rebrain.gg – Doom learn, don't doom scroll

3•FailMore•4m ago•0 comments

We're Measuring DataCenter Sustainability Wrong, Metrics Are 30% of Emissions

https://spectrum.ieee.org/data-center-sustainability-metrics
2•oldnetguy•4m ago•0 comments

Tell HN: Technical debt isn't messy code, it's architectural compound interest

2•thesssaism•4m ago•0 comments

Microsoft says bug causes Copilot to summarize confidential emails

https://www.bleepingcomputer.com/news/microsoft/microsoft-says-bug-causes-copilot-to-summarize-co...
2•tablets•6m ago•1 comments

Show HN: Disco Checkers

https://github.com/maxpblum/disco_checkers
2•mrblampo•8m ago•0 comments

Microsoft pledges $50B to tackle growing AI inequality

https://www.cnn.com/2026/02/18/business/ai-impact-summit-microsoft-inequality-investment
2•heresie-dabord•8m ago•0 comments

Show HN: Agent Panopticon – Proxy sidecar for autonomous AI agents

https://github.com/raka-gunarto/agent-panopticon
2•rakag•9m ago•0 comments

Most VMware users still "actively reducing their VMware footprint," survey finds

https://arstechnica.com/information-technology/2026/02/most-vmware-users-still-actively-reducing-...
2•oldnetguy•11m ago•0 comments

GameHub will give Mac owners another imperfect way to play Windows games

https://arstechnica.com/gaming/2026/02/gamehub-will-give-mac-owners-another-imperfect-way-to-play...
2•oldnetguy•12m ago•0 comments

AI Pharmacist

https://personalchemist.com/
2•SalmanChishti•13m ago•0 comments

Re-Defining the 'Agentic Web'

https://medium.com/data-science-collective/re-defining-the-agentic-web-cfeb49e0d4e7
2•iamflimflam1•14m ago•0 comments

BoltAI • Native, high-performance AI app for Mac

https://boltai.com/
2•janandonly•14m ago•0 comments

The decline of single-earner housebuyers in America

https://www.economist.com/united-states/2026/02/12/the-decline-of-single-earner-housebuyers-in-am...
4•jcartw•17m ago•1 comments

Nobody knows what programming will look like in two years

https://leaddev.com/ai/nobody-knows-what-programming-will-look-like-in-two-years
3•chhum•19m ago•0 comments

Show HN: CertWarden – SSL certificate monitoring app for iOS

https://apps.apple.com/us/app/certwarden/id6759068656
2•ismailperim•19m ago•0 comments

Quantlix – Deploy AI models instantly without managing infrastructure

https://www.quantlix.ai/
2•jensenjesper•21m ago•1 comments

Tokamak fusion reactor turns mercury into gold

https://newatlas.com/science/fusion-reactors-put-king-midas-shame-gold-department/
2•mgh2•22m ago•0 comments

Show HN: An AI interviewer that probes candidates (and costs $0.99/interview)

https://interviewflowai.com/
2•mukulmunjal•23m ago•1 comments

Modern dating has a new double standard: what AI is doing to online dating

https://www.washingtonpost.com/opinions/interactive/2026/dating-app-ai-profile-refiner-bumble/
2•harambae•25m ago•0 comments

Update on Hackmyclaw.com

https://twitter.com/Cucho/status/2024090215011291320
1•cuchoi•26m ago•0 comments

Read Letters from the Children Detained at ICE's Dilley Facility

https://www.propublica.org/article/ice-dilley-children-letters
3•throw0101c•26m ago•0 comments

AI Agent Standards Initiative

https://www.nist.gov/caisi/ai-agent-standards-initiative
1•keepamovin•27m ago•0 comments

AI adoption, productivity and employment: Evidence from European firms

https://www.eib.org/en/publications/20250383-economics-working-paper-2026-02
2•jbotz•28m ago•2 comments

Federated Sub-Graph Injection: The "Blind" GraphQL Data Leak

https://instatunnel.my/blog/federated-sub-graph-injection-the-blind-graphql-data-leak
1•insta_tunnel•28m ago•0 comments

Fastest Front End Tooling for Humans and AI

https://cpojer.net/posts/fastest-frontend-tooling
3•cpojer•31m ago•0 comments

AI made every test pass, but the code was still wrong

https://doodledapp.com/feed/ai-made-every-test-pass-the-code-was-still-wrong
19•ramijames•33m ago•5 comments

Why OpenAI Buys "Taste" Instead of IP (and the Rise of the Knowledge Bootstrap)

https://xaviergeerinck.com/2026/02/18/death-of-software-moat-knowledge-bootstrap/
1•thebillkidy•33m ago•2 comments