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?

Investigating Climate Change Adaptation

https://kit.exposingtheinvisible.org/en/climate-change-adaptation.html
1•Anon84•37s ago•0 comments

Show HN: From Clawdbot to OpenAI: Dissecting the supply chain that sold out

https://the-mind-of-ai.com/posts/openclaw-necropsy/
1•agentic-wiki•2m ago•0 comments

Show HN: Tamper-proof work verification with Ed25519 and RFC 3161 TSA

https://yourbeforeafterwork.netlify.app/
1•sudeshss•2m ago•0 comments

I used Claude Code and GSD to build the accessibility tool I've always wanted

https://blakewatson.com/journal/i-used-claude-code-and-gsd-to-build-the-accessibility-tool-ive-al...
1•todsacerdoti•4m ago•0 comments

Sam Altman says companies are 'AI washing' by blaming layoffs on the technology

https://fortune.com/2026/02/19/sam-altman-confirms-ai-washing-job-displacement-layoffs/
1•Betelbuddy•5m ago•0 comments

AWS Well-Architected Framework

https://docs.aws.amazon.com/wellarchitected/latest/framework/welcome.html
1•Kinrany•7m ago•0 comments

Irish man detained by ICE Update – It's not as it seems

https://www.independent.ie/irish-news/its-a-mess-of-his-own-making-says-daughter-of-seamus-cullet...
1•cauliflower99•10m ago•0 comments

Airbus CEO Criticizes Pratt and Whitney over Engine Supply Issues

https://simpleflying.com/airbus-says-engine-delays-are-stalling-a320-deliveries/
1•Betelbuddy•11m ago•0 comments

Outreach domain for personalized cold emails? LLMs don't agree

1•BroTechLead•12m ago•0 comments

Show HN: Realtime Python Apps Without WebSockets and React Bloat (Stario)

1•bobowski•13m ago•0 comments

Using classic dev books to guide AI agents?

1•ZLStas•14m ago•1 comments

Show HN: Flask Is My Go-To Web Framework

https://www.flaskvibe.com/
1•astonfred•14m ago•0 comments

Professional Bitcoin Asset Tracing – Intelligence Cyber Wizard

1•amymcomass•14m ago•0 comments

Show HN: Stop Running Your AI Agent on a Laptop: Meet AgentClaw

https://medium.com/@journeypreneur/stop-running-your-ai-agent-on-a-laptop-meet-agentclaw-57ad68e8...
1•dtfortu•15m ago•0 comments

NASA chief classifies Boeing Starliner failure as Class A Mishap

https://text.npr.org/nx-s1-5719870
2•BostonFern•15m ago•0 comments

A Primer on Terrorism, Insurgency and Protest

https://acoup.blog/2026/02/13/collections-against-the-state-a-primer-on-terrorism-insurgency-and-...
5•JumpCrisscross•16m ago•0 comments

LLMs are expert movie script writers

https://butternut.click/blog/ais-are-expert-script-writers
2•Jacques2Marais•28m ago•0 comments

A Web Revival: the Internet didn't die, you're just not on it

https://www.youtube.com/watch?v=tkUgOT22F5s
2•todsacerdoti•28m ago•0 comments

Microsoft Uses Plagiarized AI Slop Flowchart to Explain How Git Works

https://hackaday.com/2026/02/19/microsoft-uses-plagiarized-ai-slop-flowchart-to-explain-how-git-w...
6•lawgimenez•30m ago•0 comments

Hierarchies of Storage from Electrons to Bits

https://syncretica.substack.com/p/hierarchies-of-storage-from-electrons
3•7777777phil•30m ago•0 comments

TypeScript-Derived Languages

https://github.com/orta/awesome-typescript-derived-languages
3•tentacleuno•33m ago•0 comments

Minions – Stripe's Coding Agents Part 2

https://stripe.dev/blog/minions-stripes-one-shot-end-to-end-coding-agents-part-2
5•ludovicianul•35m ago•0 comments

New Library to build and deploy AI agents (the best I have seen in a long time)

https://github.com/teleonAI/teleon
2•karimbkh_•37m ago•0 comments

How to use Rain Sounds for sleeping?

https://rainsounds.xyz/how-to-use-rain-sounds-for-sleeping
1•mathnorth_com•37m ago•0 comments

Nexus State – Lightweight Atomic State Management for Modern Apps

https://jsdev.space/nexus-state-manager/
1•javatuts•38m ago•0 comments

Show HN: Our calendar is political, not mathematical – explore alternatives

https://calendar-architect.pages.dev
1•szemy2•39m ago•0 comments

Show HN: Fun Cricket 26 – 3 clicks to bowl, 3 to bat, 1000s of possibilities

https://cric26.fun
1•rockyj•40m ago•0 comments

Google Cloud APIs (gcloud CLI) seems to be down or broken

3•thej•41m ago•0 comments

Found a PSP Exploit but cant get to run a loader yet

1•kirito1337•41m ago•0 comments

Show HN: I made HappySRT to transcribe, translate, & summarize easily

https://www.happysrt.com/
1•Rizzist•42m ago•0 comments