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

Show HN: TubeDL – Open-source YouTube downloader CLI (playlists, Shorts, auth)

https://tubedl-landing.vercel.app/
1•ricky_trujillot•1m ago•0 comments

Reinforcement Learning Infrastructure for LLM Agents

https://github.com/NVIDIA-NeMo/Gym
1•bakigul•4m ago•0 comments

Short-Circuiting Correlated Subqueries in SQLite

https://emschwartz.me/short-circuiting-correlated-subqueries-in-sqlite/
1•emschwartz•5m ago•0 comments

AI is creating more jobs so far

https://www.axios.com/2025/12/17/ai-jobs-market-wages
1•FergusArgyll•6m ago•0 comments

Strategies for getting feedback on your documentation

https://blog.techdocs.studio/p/strategies-for-improving-technical
1•dgarcia360•6m ago•0 comments

When you ship fast you might ship bugs in production, how I deal with that

https://www.bugmail.site
1•bumpymark•7m ago•2 comments

Show HN: HandsUp – Super Simple Volunteering

https://handsup.barryvan.com.au/
1•barryvan•9m ago•0 comments

Bayesian Data Analysis for Babies (By Claude Opus and Nano Banana)

https://github.com/juhoojala/baeysian-data-analysis-for-babies
1•ojalajuho•10m ago•1 comments

Nobel Prize–winning chemist dreams of making water from thin air

https://www.technologyreview.com/2025/12/17/1129259/omar-yaghi-chemist-nobel-prize-crystals-water...
1•fleahunter•12m ago•0 comments

Kubernetes v1.35

https://scaleops.com/blog/kubernetes-1-35-release-overview/
1•lauluzzzzz•12m ago•0 comments

to-clipboard-for-ai.sh

https://github.com/danielfalbo/distributed-systems/commit/685923e1c06c487d2591770fd8ef629668811f33
1•danielfalbo•14m ago•0 comments

From Ts_rank to BM25. Introducing Pg_textsearch: True BM25 Ranking and Retrieval

https://www.tigerdata.com/blog/introducing-pg_textsearch-true-bm25-ranking-hybrid-retrieval-postgres
1•ashvardanian•14m ago•0 comments

Show HN: Free MVP Cost Calculator (no signup required)

https://www.mvpdevelopmentcost.com/
1•megaseo•16m ago•0 comments

Luxembourg's digital ID monopoly down for 24h+, paralyzing national services

https://today.rtl.lu/news/luxembourg/no-transactions-or-authentications-currently-possible-via-lu...
3•svnee•16m ago•1 comments

Korea Zinc to build rare earths processing facility in Tennessee

https://www.tomshardware.com/tech-industry/trump-secures-deal-with-korea-zinc-to-build-rare-earth...
2•airhangerf15•16m ago•0 comments

Prompt caching: 10x cheaper LLM tokens

https://ngrok.com/blog/prompt-caching/
1•nkko•18m ago•0 comments

Android: The Google app is intentionally replacing Pixel Launcher search

https://9to5google.com/2025/12/16/pixel-launcher-search-google-app/
1•birdboat00•28m ago•0 comments

I launched a €9.9k/mo executive retreat using a free WordPress stack

1•QMLegacy•31m ago•0 comments

Authentication Model in OpenTelemetry

https://signoz.io/blog/auth-model-opentelemetry/
1•ankit01-oss•32m ago•0 comments

Fluxer is Dwitter for shaders – procedural art in 512 characters or less

https://fluxer.kodar.ninja
2•rezolver•38m ago•0 comments

Spooked by AI and Layoffs, White-Collar Workers See Their Security Slip Away

https://www.wsj.com/economy/jobs/white-collar-workers-job-anxiety-d8f83885
2•thm•41m ago•0 comments

I Put Claude in a Game Theory Tournament

https://matthodges.com/posts/2025-12-14-claude-axelrod-prisoners-dilemma/
2•m-hodges•43m ago•1 comments

Authentication – when logging in becomes the lock out

https://seemeplease.com/blog/authentication-when-logging-in-becomes-the-lockout
3•SeeMePlease•46m ago•2 comments

November in Servo: Monthly Releases, Context Menus, Parallel CSS Parsing, & More

https://servo.org/blog/2025/12/15/november-in-servo/
1•birdculture•47m ago•0 comments

Vm.overcommit_memory=2 is always the right setting for servers

https://ariadne.space/2025/12/16/vmovercommitmemory-is-always-the-right.html
3•signa11•47m ago•1 comments

Google's Official MCP Servers

https://github.com/google/mcp
1•bakigul•47m ago•0 comments

Jeffrey Epstein-linked accounts transferred funds to Noam Chomsky

https://www.timesofisrael.com/epstein-linked-accounts-transferred-funds-to-noam-chomsky-bard-coll...
1•nephihaha•48m ago•2 comments

Biologists discover neurons use physical signals to stabilize communication

https://dornsife.usc.edu/news/stories/synapse-stability-governed-by-physical-signals-not-electrical/
1•robtherobber•49m ago•0 comments

What are the pro and cons to immutable distro?

https://old.reddit.com/r/Fedora/comments/1pnqjyw/what_are_the_pro_and_cons_to_immutable_distro/
1•sipofwater•50m ago•0 comments

I managed a day and a half on Windows 11

https://old.reddit.com/r/Fedora/comments/1poapiq/i_managed_a_day_and_a_half_on_windows_11/
2•sipofwater•57m ago•1 comments