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•10mo 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•10mo 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: Download entire/partial Substack to ePub for offline reading

https://github.com/kevinlong206/substack2epub/
1•locusofself•1m ago•0 comments

Bluesky announces $100M Series B after CEO transition

https://techcrunch.com/2026/03/19/bluesky-announces-100m-series-b-after-ceo-transition/
1•cratermoon•4m ago•1 comments

The miracle of PowerToys, Microsoft's last great Windows app

https://www.fastcompany.com/91510973/the-miracle-of-powertoys-microsofts-last-great-windows-app
1•Foe•7m ago•0 comments

JavaScript's Trademark Problem (2025)

https://2ality.com/2025/08/javascript-trademark.html
1•jcbhmr•17m ago•0 comments

Show HN: macOS Kokoro-TTS powered document reader – listen to any text

https://apps.apple.com/us/app/raconter-listen-to-any-text/id6760326875?mt=12
1•mattcheston•18m ago•0 comments

OpenClaw: An Opinionated Resource List

https://github.com/EthanYolo01/Awesome-OpenClaw
2•MikeLuLu•20m ago•1 comments

Google's AI Studio now integrates with Firebase for vibe coding production apps

https://blog.google/innovation-and-ai/technology/developers-tools/full-stack-vibe-coding-google-a...
1•zhyder•23m ago•1 comments

Direct kinetic impact. a flying sword. 450km/h

https://twitter.com/CardilloSamuel/status/2034642788541960230
2•keepamovin•25m ago•0 comments

How to stop your autoresearch loop from cheating

https://twitter.com/MilksandMatcha/status/2033971089853059414
1•gmays•26m ago•0 comments

China could be the biggest public funder of science within two years

https://www.nature.com/articles/d41586-026-00618-5
4•mraniki•28m ago•0 comments

OpenClaw demand in China is driving up the price of secondhand MacBooks

https://www.cnbc.com/2026/03/19/openclaw-demand-in-china-is-driving-up-the-price-of-secondhand-ma...
1•lxm•30m ago•0 comments

French sailor's fitness app bungle exposes location of aircraft carrier

https://www.yahoo.com/news/articles/french-sailor-fitness-app-bungle-001827195.html
2•nradov•32m ago•0 comments

The Long Farewell to Mark Zuckerberg's Metaverse

https://www.nytimes.com/2026/03/19/technology/mark-zuckerbergs-metaverse-vr-horizon-worlds.html
3•lxm•42m ago•0 comments

Jeff Bezos in Talks to Raise $100B Fund to Transform Companies with A.I

https://www.nytimes.com/2026/03/19/technology/jeff-bezos-ai-fund-project-prometheus.html
1•lxm•43m ago•0 comments

Ship's Clock – a maritime bell clock that lets you hear time

https://play.google.com/store/apps/details?id=com.shipsclock&hl=en_US
1•mooks•45m ago•0 comments

The Displacement of Cognitive Labor and What Comes Next

https://sahajgarg.github.io/blog/cognitive-labor/
1•outside1234•45m ago•0 comments

I Built an E-Commerce Platform from My Off-Grid Homestead Using AI

https://brianeisenberg.substack.com/p/i-built-an-entire-e-commerce-platform
2•bdetunk•48m ago•1 comments

Reverse-Engineering the Personal AI Supercomputer

https://bay41.com/posts/tiiny-ai-pocket-lab-review/
1•b3ing•48m ago•1 comments

Redox OS AGPLv3 Violation

https://gist.github.com/keepitupkitty/43effb8c8fadecf2101b6c0fc4de8790
2•pabs3•54m ago•1 comments

MCP 2026 Roadmap

https://blog.modelcontextprotocol.io/posts/2026-mcp-roadmap/
2•umangsehgal93•55m ago•0 comments

Agent HTTP – Claude Code HTTP API Made Possible by Channels

https://github.com/mberg/agent-http/
1•mberg•56m ago•1 comments

Supermicro Employees Arrested, Smuggling Nvidia Chips

https://www.wsj.com/tech/super-micro-computer-employees-arrested-for-alleged-sales-to-china-45a2bd73
5•next_xibalba•56m ago•2 comments

Show HN: I wrote an open source SEC filing compliance package

1•jgfriedman1999•58m ago•0 comments

Open Source Pledge

https://opensourcepledge.com/
2•pabs3•59m ago•0 comments

I replaced a Scrum team with AI agents for 10 days

https://likafi.com
1•dmbuild•1h ago•0 comments

IntegrateAPI: Install API Integrations in Next.js via CLI

https://integrateapi.io
1•fuse_wire•1h ago•0 comments

TI-89 Height-Mapped Raycaster

https://github.com/dzoba/ti-89-raycasting-with-z
4•zoba•1h ago•0 comments

Pentagon: Anthropic's Chinese employees are security risks

https://www.axios.com/2026/03/19/pentagon-anthropic-foreign-workforce-security-risks
5•jimmydoe•1h ago•3 comments

LiteParse: Local document parsing for AI agents (Open source)

https://www.llamaindex.ai/blog/liteparse-local-document-parsing-for-ai-agents
1•pierre•1h ago•1 comments

I built a skill-optimizer to clean up my messy pile of skills

https://github.com/zhangchenchen/skills_optimizer
1•pekingzcc•1h ago•1 comments