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?

Inhibiting 15-PGDH regenerates joint cartilage in mice (bye knee replacements?)

https://med.stanford.edu/news/all-news/2025/11/joint-cartilage-aging.html
1•CGMthrowaway•36s ago•0 comments

Ask HN: Anyone replaced any parts of their workflow with computer-use agents?

1•noupdates•58s ago•0 comments

Ask HN: How do you manage flaky E2E tests at scale?

2•forcepushed•4m ago•0 comments

Ask HN: What do you think about the recent Slack UI change?

1•1e1a•7m ago•0 comments

America's Broken Psych Ward Model: The Solution Nature Affords

https://ccmarieclark.substack.com/p/americas-broken-psych-ward-model
1•exolymph•7m ago•0 comments

Google Cloud Telemetry (OTLP) API Overview

https://docs.cloud.google.com/stackdriver/docs/reference/telemetry/overview
1•tosh•7m ago•0 comments

Adding Fediverse Comments to Pelican Blog

https://blog.hofstede.it/adding-fediverse-comments-to-a-pelican-blog/
2•vermaden•8m ago•0 comments

Ask HN: Ever design a product similar to one from AWS?

1•a_lifters_life•9m ago•0 comments

Google sent personal and financial information of student journalist to ICE

https://techcrunch.com/2026/02/10/google-sent-personal-and-financial-information-of-student-journ...
1•pseudolus•10m ago•0 comments

Travel planning is broken. broken

https://www.govialo.com/
1•CuylerM•12m ago•1 comments

Show HN: Video Forms – turn any YouTube video into an interactive questionnaire

https://vforms.bevel.software/
1•juanviera23•13m ago•0 comments

Nature's 'engine is grinding to a halt' as climate change gains pace

https://phys.org/news/2026-02-nature-halt-climate-gains-pace.html
3•bikenaga•15m ago•1 comments

Something Big Is Happening

https://twitter.com/mattshumer_/status/2021256989876109403
2•matthewsinclair•18m ago•1 comments

The smallest insects evolve anucleate neurons [pdf]

https://gbragafibra.github.io/papers/Polilov2012_wasp_neurons.pdf
2•Fibra•22m ago•0 comments

Scrap Labs – Metal 3D Printer

https://www.scraplabs3d.com/
1•cgg1•22m ago•0 comments

Collio is Live – your co-worker is here

https://collio.chat/
1•serin-ai•22m ago•2 comments

Patch Tuesday, February 2026 Edition

https://krebsonsecurity.com/2026/02/patch-tuesday-february-2026-edition/
1•todsacerdoti•22m ago•0 comments

Ask HN: What makes early-stage AI accelerators useful (and what doesn't)?

1•rdi_berkeley•23m ago•0 comments

Instantspaces – Remove space switching animation on macOS

https://github.com/flawnn/instantspaces
2•flawn•24m ago•0 comments

Go 1.26 Introduces Two Language Changes, New Performance Improvements

https://www.phoronix.com/news/Go-1.26-Released
1•mikece•27m ago•0 comments

Waku: The Minimal React Framework Reaches Alpha

https://www.infoq.com/news/2026/02/waku-react-framework/
1•mikece•27m ago•0 comments

The Singularity Is Always Near

https://kevinkelly.substack.com/p/the-singularity-is-always-near
1•lbrito•29m ago•0 comments

Discord clarifies approach to age assurance

https://discord.com/safety/how-discord-is-building-safer-experiences-for-teens
1•dm•29m ago•0 comments

Hacker News Alternative Where People Are Positive About AI

4•dunk010•30m ago•7 comments

Show HN: Berkeley Xcelerator – early-stage AI and agentic AI accelerator

https://rdi.berkeley.edu/xcelerator
1•rdi_berkeley•30m ago•0 comments

5-century tree-ring record reveals intensification of West Mediterranean storms

https://cp.copernicus.org/articles/21/2205/2025/
1•PaulHoule•32m ago•0 comments

Russia Further Restricts Telegram, Escalating Internet Clampdown

https://www.nytimes.com/2026/02/10/world/europe/telegram-throttled-internet-russia.html
1•jbegley•32m ago•0 comments

Private RAG and marketplace to sell your knowledge to AI agents

https://ragora.app
1•mregmi405•34m ago•1 comments

Debugging random slow writes with GIN indexes in PostgreSQL

https://iamsafts.com/posts/postgres-gin-performance/
2•fanf2•37m ago•1 comments

FOSDEM 2026: RISC-V Hardware Is Here. What About Software? [video]

https://fosdem.org/2026/schedule/event/983NCX-what-about-riscv-software/
1•pjmlp•39m ago•0 comments