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?

Show HN: md-redline - inline review comments for markdown, readable by AI agents

https://github.com/dejuknow/md-redline
1•dejuknow•1m ago•0 comments

Your File System Is Already A Graph Database

https://rumproarious.com/2026/04/04/your-file-system-is-already-a-graph-database/
1•alxndr•2m ago•0 comments

The 1987 Game "The Last Ninja" was 40 kilobytes

https://twitter.com/exQUIZitely/status/2040777977521398151
1•keepamovin•5m ago•0 comments

Is AI the New Fracking?

https://www.ft.com/content/525cc89e-1ee9-4039-a588-5039565053f9
1•1vuio0pswjnm7•11m ago•0 comments

More Americans Are Breaking into the Upper Middle Class

https://www.wsj.com/economy/more-americans-are-breaking-into-the-upper-middle-class-bf8b7cb2
2•lxm•13m ago•0 comments

Show HN: Not a CLI, Toward a New Agent-Computer Interaction Model

https://agentina-agent-apps.vercel.app/
1•agentina•19m ago•1 comments

Show HN: Magma Memory Claude Browser cloaking tool

https://github.com/Vektor-Memory/Vektor-memory
2•vektormemory•23m ago•0 comments

The Spark – A sophisticated scrolling experience

https://spark.thedigitalpanda.com/
2•gitgud•33m ago•1 comments

Does coding with LLMs mean more microservices?

https://ben.page/microservices
4•jer0me•35m ago•0 comments

Kicking Off the ATP Working Group at the IETF

https://atproto.com/blog/kicking-off-the-atp-working-group
1•andrewl•36m ago•0 comments

Best Paper Awards in Computer Science over the past 30 years

https://jeffhuang.com/best_paper_awards/
2•vinhnx•36m ago•1 comments

Case study: recovery of a corrupted 12 TB multi-device pool

https://github.com/kdave/btrfs-progs/issues/1107
3•salt4034•40m ago•0 comments

Which is when I got to see what it looks like

https://technex.us/2026/04/while-humans-are-flying-to-the-moon-i-tried-to-build-an-earth-orbital-...
1•hparadiz•43m ago•1 comments

Before smart Siri, I made Agentic Quake Terminal

https://www.patreon.com/posts/154881456
3•rohanrhu•45m ago•0 comments

Show HN: I made a free daily puzzle game

https://www.nerdcube.games/carom
3•nerdcube•50m ago•2 comments

Moody – Give your MacBook a personality that reacts to hardware events

https://dinakars777.github.io/moody/
2•dinakars777•55m ago•1 comments

Show HN: LLM Wiki – Open-Source Implementation of Karpathy's LLM Wiki

https://llmwiki.app
2•lucasastorian•1h ago•1 comments

Show HN: The easiest way to generate AI stickers then get them in the mail

https://stickerdaze.com/
1•qhoc•1h ago•2 comments

New Copilot for Windows 11 includes a full Microsoft Edge package, uses more RAM

https://www.windowslatest.com/2026/04/05/new-copilot-for-windows-11-includes-a-full-microsoft-edg...
10•aaronsung•1h ago•2 comments

Association between Covid-19 vaccination and sudden death in younger individuals

https://journals.plos.org/plosmedicine/article?id=10.1371/journal.pmed.1004924
4•pseudolus•1h ago•3 comments

We replaced Node.js with Bun for 5x throughput

https://trigger.dev/blog/firebun
4•pier25•1h ago•0 comments

Show HN: jsoncompat – a library to detect/fuzz breaking changes in JSON schemas

https://jsoncompat.com/
3•rogaos•1h ago•0 comments

Straight Lines on Graphs

https://joelbkr.substack.com/p/straight-lines-on-graphs
2•gmays•1h ago•0 comments

Guesty Copilot: Open-source MCP server for Guesty property management

https://github.com/DLJRealty/guesty-mcp-server
2•dlj_realty•1h ago•0 comments

Show HN: Dot-Globe – React component that renders NASA night-light data

https://www.kurt.xyz/dot-globe
2•krtbgb•1h ago•0 comments

Debian Is Figuring Out How Age Verification Laws Will Impact It

https://www.phoronix.com/news/Debian-Undecided-Age-Laws
7•Bender•1h ago•0 comments

Stamp It All Programs Must Report Their Version – Michael Stapelberg

https://michael.stapelberg.ch/posts/2026-04-05-stamp-it-all-programs-must-report-their-version/
3•gurjeet•1h ago•0 comments

Show HN: OnlyTech – For the Friday Deployments and More

https://onlytech.boo
2•vednig•1h ago•0 comments

Morgenruf – Free, open-source Slack standup bot(self-hosted)

https://morgenruf.dev
2•anmolnagpal•1h ago•0 comments

Pokémon cards are igniting an international crime spree

https://www.cnn.com/2026/04/04/business/pokemon-cards-crime-spree
4•Bender•1h ago•0 comments