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?

API and MCP that pumps data from SEC filings into your agent context

https://medium.com/@steve_63055/give-your-ai-agent-direct-access-to-kpis-from-sec-filings-e372d04...
1•sjt-at-rev•1m ago•1 comments

Graphify: An AI skill for turning any folder into a queryable knowledge graph

https://github.com/safishamsi/graphify
1•tanelpoder•3m ago•0 comments

Analyzing Reverse Address Translation Overheads in Multi-GPU Scale-Up Pods

https://arxiv.org/abs/2604.02473
1•matt_d•4m ago•0 comments

Surprising hidden pattern connecting over 1,500 languages found

https://www.independent.co.uk/news/science/languages-universal-grammar-rules-pattern-b2952396.html
1•antfarm•8m ago•0 comments

Bitwarden Is Down

https://status.bitwarden.com/issues/69d430c5763f44a7efca7b8a
1•zhan_eg•8m ago•0 comments

Show HN: ACP – Governance for AI Coding Agents (Claude Code, OpenClaw)

https://agenticcontrolplane.com/
1•davidcrowe•9m ago•0 comments

How to Perform a Bulk Permissions Check in FusionAuth FGA by Permify

https://fusionauth.io/blog/permify-bulk-permissions-check
1•mooreds•13m ago•0 comments

Launchyard – vibe code a business

https://launchyard.dev
1•hackmaxim•14m ago•1 comments

HubLite – A native macOS CRM for people who find HubSpot/Salesforce overkill

https://www.innobera.com/hublite/
1•Evian-SP•15m ago•0 comments

Show HN: MemberLane – Paid Communities on Telegram, Discord, and WhatsApp

https://www.memberlane.app
1•grene98•17m ago•0 comments

Reddit is the #1 most cited source across every major AI search platform

https://virtualuncle.com/answer-engine-optimization-aeo-guide-2026/
3•svrbvr•21m ago•0 comments

Kalshi wins appeal against New Jersey in Third Circuit

https://www.dopaminemarkets.com/p/prediction-markets-vs-states-the
1•astorplace•21m ago•1 comments

Show HN: A bespoke magazine for the kid in your life

https://www.juiceboxjournal.com/
1•easymode•24m ago•0 comments

Show HN: Clickly – tool for designers and engineers to build mobile apps

https://clickly.app
1•roskoalexey•29m ago•0 comments

Show HN: Next Moca – control plane for AI agents (pre-seed @ $10M)

https://www.nextmoca.com
1•swanandrao•29m ago•0 comments

Matrix-Kernel-Root

https://github.com/M2KR4R/matrix-kernel-root
1•M2KR4R•30m ago•0 comments

Um método informático para crianças feito com amor

https://www.amazon.com.br/dp/B0DN62YNJF
3•Hanoverdoes•32m ago•0 comments

Anthropic, OpenAI and Google sharing Intel to block Chinese distillation

https://www.bloomberg.com/news/articles/2026-04-06/openai-anthropic-google-unite-to-combat-model-...
2•nikcub•32m ago•0 comments

Building a DIY OpenClaw

https://ben.page/claude-mac
2•j03b•33m ago•0 comments

Bernie Sanders: "AI Is a Threat to Everything the American People Hold Dear"

https://www.wsj.com/opinion/ai-is-a-threat-to-everything-the-american-people-hold-dear-a3286459
5•fortran77•34m ago•3 comments

Real-time tracker for NASA's Artemis II Moon mission

https://artemis.fyi/
1•jsk2600•35m ago•0 comments

GitHub Copilot CLI combines model families for a second opinion

https://github.blog/ai-and-ml/github-copilot/github-copilot-cli-combines-model-families-for-a-sec...
1•salkahfi•36m ago•0 comments

Show HN: CacheZero – Karpathy's LLM wiki idea as one NPM install

2•swarajbachu•39m ago•0 comments

Anthropic expands partnership w Google and Broadcom for multiple GW of compute

https://www.anthropic.com/news/google-broadcom-partnership-compute
3•l1n•40m ago•0 comments

Optimizing Time, Cost, and Generalization in Distributed Large-Batch Training

https://arxiv.org/abs/2603.18112
1•PaulHoule•41m ago•0 comments

PrismML – Announcing 1-bit Bonsai: The First Commercially Viable 1-bit LLMs

https://prismml.com/news/bonsai-8b
1•janandonly•42m ago•0 comments

Zed: A sans for the needs of the 21st century

https://www.typotheque.com/blog/zed-a-sans-for-the-needs-of-21century
1•kaitak•42m ago•0 comments

Show HN: Hippo, biologically inspired memory for AI agents

https://github.com/kitfunso/hippo-memory
7•kitfunso•42m ago•2 comments

An In-Depth Study of Filter-Agnostic Vector Search on PostgreSQL

https://arxiv.org/abs/2603.23710
1•tanelpoder•43m ago•0 comments

Ormah: A living memory layer for your agents. Local. Private. Portable

https://www.ormah.me/
1•r_spade•46m ago•0 comments