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?

Blue Owl Capital Is Collapsing

1•zerosizedweasle•1m ago•0 comments

Awesome-Onchain-Agents

https://github.com/sodofi/awesome-onchain-agents
1•tiagom87•2m ago•0 comments

Show HN: GrowthClaw, a workflow pack for deterministic growth execution

https://github.com/mrrkrieg/growthclaw
1•dankrieg•3m ago•0 comments

Top '28 Dems retreat on AI – sign of rising backlash

https://www.axios.com/2026/02/22/democrats-2028-retreat-ai-data-centers
1•1vuio0pswjnm7•7m ago•0 comments

Show HN: AI-Native Architecture Series (Open-Source)

https://github.com/myinvestpilot/ai-architecture
1•madawei2699•7m ago•2 comments

Synth modular controller treats music making like building with blocks

https://www.yankodesign.com/2026/02/21/synth-modular-controller-treats-music-making-like-building...
2•teleforce•11m ago•0 comments

Most web utility sites are going to die soon

2•hussachai•13m ago•1 comments

Show HN: Chorus –Let users improve the LLM without their data leaving the device

https://github.com/varmabudharaju/chorus
2•varmabudharaju•15m ago•0 comments

BasaltCRM – The Open Source AI-Native CRM Built on Next.js 16

https://github.com/pdovhomilja/nextcrm-app/discussions/76
2•mayordelmar•24m ago•3 comments

Qworum transforms the Web into an AI-ready application platform

https://drive.google.com/file/d/13xy5Yx8dMVqGiJqqWFhh9DOi_7akl_rW/view
2•dogaar•24m ago•1 comments

How the Dunning-Kruger Effect Impairs Judgement in High-Risk Professions

https://www.jsr.org/hs/index.php/path/article/view/5623
3•thunderbong•25m ago•0 comments

What Are Free Speech Warriors Doing About Trump's Censorship-Industrial Complex?

https://www.theunpopulist.net/p/what-are-heterodox-free-speech-warriors
5•bediger4000•26m ago•1 comments

Global Intelligence Boom

https://twitter.com/michaelxbloch/status/2025712344123236418
2•rayxi271828•27m ago•0 comments

AI-Free-Forever – 1000 free AI tools with no signup, no login

https://aifreeforever.com/
2•peter_d_sherman•30m ago•0 comments

Show HN: Say What You Should Have

https://mappymail.com
1•pruetj•38m ago•0 comments

Compulsively violent people might have lower IQs

https://www.psypost.org/people-who-engage-in-impulsive-violence-tend-to-have-lower-iq-scores/
7•karim79•42m ago•0 comments

Show HN: LucidExtractor – AI web scraper that understands plain English

https://lucidextractor.liceron.in
1•yukendiran_j•43m ago•0 comments

Ask HN: Does This Make Sense?

2•piratesAndSons•43m ago•1 comments

Show HN: ZuckerBot. API and MCP server for AI agents to run Meta/Facebook ads

https://zuckerbot.ai/
1•DavisGrainger•45m ago•0 comments

Weekly AI Pulse: Feb 23rd Edition

https://manojgopanapalli.substack.com/p/your-weekly-ai-pulse-india-ai-impact
1•thecontentboy•45m ago•0 comments

You Make Good Money...So Why Do You Still Feel Replaceable?

https://cpleveragingai.substack.com/p/you-make-good-money
2•cp18101985•46m ago•0 comments

Ask HN: Is there a workaround in OpenClaw for tab not found

2•jinen83•47m ago•0 comments

HN; Scheduled autonomous Claude agents using shell scripts and launchd

https://github.com/raulriera/MacPilot
2•raulriera•48m ago•1 comments

The Refrigerator Policy

https://alexover.dev/articles/the-refrigerator-policy/
3•alexoverdev•49m ago•1 comments

Show HN: A 4-tier self-healing system for local AI agents (was silently broken)

2•ramsbaby-dev•49m ago•1 comments

Tiny knife raised $450K in under a week

https://gearjunkie.com/knives/coin-tiny-knife-launch
2•teleforce•50m ago•0 comments

Show HN: 4-tier self-healing AI agent (was silently broken for weeks)

https://github.com/Ramsbaby/openclaw-self-healing
2•ramsbaby-dev•53m ago•0 comments

15K Labeled Enterprise Use Cases for Agent Routing (CC-by-4.0)

https://huggingface.co/datasets/LlewellynSystems/ode-enterprise-use-cases
2•LLSODE•54m ago•0 comments

LipoVive Launches Natural Supplement to Boost Metabolic Health

https://www.morningstar.com/news/accesswire/1138075msn/lipovive-reviews-shocking-2026-report-what...
2•janzlaps•54m ago•0 comments

WME Group

https://en.wikipedia.org/wiki/WME_Group
2•barrister•55m ago•0 comments