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?

How Iran Should End the War

https://www.foreignaffairs.com/middle-east/how-iran-should-end-war-javad-zarif
1•YeGoblynQueenne•10s ago•0 comments

Show HN: Makrell, one family for code, data, markup

https://makrell.dev
1•fberg•4m ago•0 comments

I Built an AI Agent Team for Software Development and Tested on 5 Real Projects

https://alexeyondata.substack.com/p/i-built-an-ai-agent-team-for-software
1•mooreds•4m ago•0 comments

ShieldStack TS – LLM security middleware for TypeScript

https://github.com/shujaSN/ShieldStack-TS
2•shujasn•5m ago•0 comments

Bsky Proposal: User Intents for Data Reuse

https://github.com/bluesky-social/proposals/blob/main/0008-user-intents/README.md
2•mooreds•6m ago•0 comments

Don't use IaC To deploy your application code

https://newsletter.masterpoint.io/p/don-t-use-iac-to-deploy-your-application-code
2•mooreds•6m ago•0 comments

Microsoft to force updates to Windows 11 25H2 for PCs with older OS versions

https://www.tomshardware.com/software/windows/microsoft-forces-updates-to-windows-11-25h2-update-...
2•cratermoon•7m ago•0 comments

Show HN: Browse, search and run categorized shell commands from a TUI

2•hallomarbin•11m ago•1 comments

Bob – AI assistant that boots from a USB stick (voice, vision, 38 tools)

https://bob-ai.ca/
2•kldload•13m ago•0 comments

I Built It. Nobody Came

https://rcrdo.com/i-built-it-nobody-came/
4•shaicoleman•17m ago•0 comments

Georgia Guidestones [crazy monument bombed in 2022]

https://en.wikipedia.org/wiki/Georgia_Guidestones
1•burnt-resistor•18m ago•0 comments

Revision Demoparty 2026: The Meteoriks awards [video]

https://www.youtube.com/watch?v=7j2ZYHLqglo
1•lysace•20m ago•1 comments

Student Debt Burdened Them, So They Moved Abroad and Stopped Paying

https://www.nytimes.com/2026/04/04/business/student-loans-abroad-default.html
6•JumpCrisscross•21m ago•0 comments

I built a job search tool that pulls from 13 sources and auto-fills applications

https://jobhunter-tech.vercel.app
1•tomcat-afs•22m ago•0 comments

How we handle 1000 Laravel websites on a single server (2025)

https://daudau.cc/posts/how-we-handle-1000-laravel-websites-on-single-server
1•indigodaddy•22m ago•0 comments

Pay What You Want to Pay

HTTPS://OnLineSav.com/Pay_What_You_Want.html
1•RHeifler•23m ago•1 comments

Community of Practice (2025)

https://www.thomas-huehn.com/community-of-practice/
2•Tomte•24m ago•0 comments

Prove That You're Human

https://marketingfordevelopers.com/lessons/prove-that-youre-human/
1•mccallisterdev•24m ago•0 comments

Show HN: Chained apples, or apfels, for more logic

https://github.com/randomm/omppu
2•jannniii•25m ago•0 comments

Conductor – Multi-session orchestration for Claude Code

https://github.com/rmindgh/Conductor
3•myxake19•28m ago•0 comments

Kristján Pétursson, creator of Sponder, on the present and future of RSS

https://micahblachman.beehiiv.com/p/rss-with-kristjan-petursson
2•subdomain•28m ago•0 comments

RSS Guard 5

https://github.com/martinrotter/rssguard/
2•spacebuffer•31m ago•0 comments

Show HN: Alys – Chat GPT for video editing

https://www.heyalys.com/
2•alexgriffiths31•32m ago•0 comments

Show HN: tRPC Docs Generator v0.8.0 – Improved UI

https://github.com/liorcodev/trpc-docs-generator
1•liorcodev•33m ago•0 comments

Scanned 500 AI agent repos for bugs, nobody thinks of infinite loops

https://inkog.io/report
2•benban•35m ago•2 comments

Cert-EU: European Commission hack exposes data of 30 EU entities

https://www.bleepingcomputer.com/news/security/cert-eu-european-commission-hack-exposes-data-of-3...
5•billybuckwheat•35m ago•0 comments

Student disciplined for creating MSU class search tool, Spartan Scheduler

https://statenews.com/article/2026/04/student-suspended-over-creating-msu-class-search-tool-spart...
3•rmason•38m ago•1 comments

Trafficators/flippers: how old cars used to indicate

https://www.1900s.org.uk/1920s40s-car-indicators.htm
1•thunderbong•44m ago•0 comments

Talk about Open Source Chip Development with RISC-V

https://www.youtube.com/watch?v=NiTtvaCTPZs
4•openhw•45m ago•1 comments

TaskMaster (26K) captures 100% of prompts and responses, sendDefaultPii:true

https://github.com/eyaltoledano/claude-task-master/issues/1681
1•ygagarin206•47m ago•0 comments