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?

Unpowered SSD data retention test no data corruption on USB sticks after 6 years

https://www.tomshardware.com/pc-components/usb-flash-drives/unpowered-flash-drive-data-retention-...
1•u1hcw9nx•29s ago•0 comments

Russia-backed hackers breach Signal, WhatsApp accounts of officials, journalists

https://www.reuters.com/world/europe/russia-backed-hackers-breach-signal-whatsapp-accounts-offici...
1•1vuio0pswjnm7•44s ago•0 comments

Learn X in Y Minutes

https://learnxinyminutes.com/
1•masterpos•49s ago•0 comments

Show HN: Railyard – open and secure runtime for Claude Code

1•LunarFrost88•1m ago•0 comments

FFmpeg-over-IP – Connect to remote FFmpeg servers

https://github.com/steelbrain/ffmpeg-over-ip
1•steelbrain•2m ago•1 comments

An Alternative to Play Integrity

https://uattest.net/
1•amaccuish•2m ago•0 comments

Revise age verification terms for MidnightBSD

https://github.com/MidnightBSD/src/commit/529b708846e30e8eb4fcec8dfc23176ec6a74bcf
2•hpb42•6m ago•0 comments

Claude Code Skills for Startup Founders – 12 Commands for Strategy, Not Code

https://github.com/emotixco/claude-skills-founder
1•emotixco•7m ago•1 comments

Scott Aaronson's View of My View About Quantum Computing

https://gilkalai.wordpress.com/2026/03/10/scott-aaronsons-view-of-my-view-about-quantum-computing/
1•speckx•7m ago•0 comments

More tokens, less cost: why optimizing for token count is wrong

1•nicola_alessi•8m ago•2 comments

Meta acquires AI agent social network Moltbook

https://www.theguardian.com/technology/2026/mar/10/meta-acquires-moltbook-ai-agent-social-network
1•bookofjoe•10m ago•1 comments

Time Travel Has Been Done

1•johnnyVincento•12m ago•0 comments

Qt SQL Under LGPL Despite MariaDB Under GPL

https://www.smallstepsystems.com/qt-sql-under-lgpl-despite-mariadb-under-gpl/
1•jandeboevrie•12m ago•0 comments

Thinking Deeply About Theming and Color Naming

https://css-tricks.com/thinking-deeply-about-theming-and-color-naming/
1•PaulHoule•13m ago•0 comments

Codex Monitor

https://github.com/Dimillian/CodexMonitor
1•tosh•14m ago•0 comments

Show HN: VeilPhantom – Open-source on-device PII detection for AI pipelines

https://helloveil.com/sdk/
1•nakaiwilliams•15m ago•0 comments

10 years of AlphaGo: The turning point for AI [video]

https://www.youtube.com/watch?v=qoinGjj60Fo
1•simonpure•15m ago•1 comments

NASA and SpaceX disagree about manual controls for lunar lander

https://arstechnica.com/space/2026/03/nasa-and-spacex-disagree-about-manual-controls-for-lunar-la...
2•voxadam•16m ago•1 comments

Ask HN: Does automatic multilingual support make sense for a launch platform?

1•LeanVibe•16m ago•1 comments

Planning a multi-city trip without the spreadsheet nightmare

https://explorinder.com
1•pabloceg•16m ago•1 comments

Designing Interfaces for AI Agents Instead of Humans

https://twitter.com/rot13maxi/status/2031429866109710649
2•rot13maxi•17m ago•0 comments

The Clarity Act, Stablecoin Yield and the Chinese Crypto Bogeyman

https://toddhbaker.substack.com/p/the-clarity-act-stablecoin-yield
1•petethomas•18m ago•0 comments

Show HN: OpenMolt – A programmatic AI agent framework for Node.js

https://openmolt.dev
1•ybouane•19m ago•0 comments

AI, Human Cognition and Knowledge Collapse (NBER Working Paper)

https://www.nber.org/papers/w34910
1•imakwana•21m ago•0 comments

Agent API Spec Design: When API Callers Change from Application to AI Agent

https://github.com/tomsun28/agent-api-spec
1•tomsun28•24m ago•1 comments

Prioritizing energy intelligence for sustainable growth

https://www.technologyreview.com/2026/03/10/1133972/prioritizing-energy-intelligence-for-sustaina...
1•joozio•25m ago•0 comments

US added more solar than any other technology in 2025, but is down 14% from 2024

https://www.nytimes.com/2026/03/10/business/energy-environment/donald-trump-solar-energy-batterie...
7•epistasis•26m ago•0 comments

Cardiac side effects of RNA-based SARS-CoV-2 vaccines

https://bpspubs.onlinelibrary.wiley.com/doi/10.1111/bph.16262
4•blumomo•26m ago•1 comments

Epstein Fallout Tracker

https://epstein.observer
1•oldfuture•26m ago•0 comments

Why AI is both a curse and a blessing to open-source developers

https://www.zdnet.com/article/ai-curse-and-blessing-to-open-source-software-developers/
1•CrankyBear•26m ago•2 comments