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?

My Thoughts on AI

https://sarah.engineer/posts/thoughts-on-ai/
1•cod1r•1m ago•0 comments

Show HN: Seedance2 – Stop "prompt guessing" and start directing AI video

https://seedancevideo.app/
1•echoadam•1m ago•0 comments

Scientists Found a Mysterious Cave Full of Million-Year-Old Fossils

https://www.popularmechanics.com/science/archaeology/a70190789/island-fossils-new-zealand/
1•naves•1m ago•0 comments

Show HN: Business card scanner with frame selection, dedupe, and vCard export

https://github.com/vassiliylakhonin/bizcard-ai-scanner
1•vassilbek•5m ago•0 comments

LightRag / GraphRag Implementation in Rust

https://github.com/raphaelmansuy/edgequake
1•raphaelmansuy•7m ago•0 comments

Show HN: Claude Meter – macOS menu bar app to track your Claude Code usage limit

https://github.com/puq-ai/claude-meter
5•aliyilmaz-co•13m ago•2 comments

MechaEpstein-8000

https://huggingface.co/ortegaalfredo/MechaEpstein-8000-GGUF
1•aortega•16m ago•1 comments

Europe's 'painful' realisation it must be bolder with US: security report

https://www.theguardian.com/world/2026/feb/09/europe-us-munich-security-conference-report
2•saubeidl•18m ago•0 comments

Show HN: Konform Browser v140.7.0-108

https://codeberg.org/konform-browser/source/releases/tag/140.7.0.108
1•konform•20m ago•0 comments

Structure Beats Prose: Specs for Coding Agents That Work

https://medium.com/@stefanvanegmond/structure-beats-prose-specs-for-coding-agents-that-actually-w...
1•stefanve•23m ago•0 comments

Design is dead, it's all evolution now

https://ilyabirman.net/meanwhile/all/design-vs-evolution/
1•rozboris•24m ago•0 comments

Mistral.rs – Fast, zero-config multimodal LLM inference for a variety of models

https://github.com/EricLBuehler/mistral.rs
1•Curiositry•25m ago•2 comments

Benchmarking Claude C Compiler

https://dineshgdk.substack.com/p/benchmarking-claude-c-compiler
1•dinesh_gdk•25m ago•1 comments

What Moltbook alternatives are doing some actual constructive work?

1•Fh_•25m ago•0 comments

Show HN: PhoneClaw

https://github.com/rohanarun/phoneclaw
1•GPUboy•26m ago•0 comments

Towards a Standard for JSON Document Databases

https://arxiv.org/abs/2509.12189
1•ingve•29m ago•0 comments

Brutalist Southbank Centre Listed

https://www.architectsjournal.co.uk/news/brutalist-southbank-centre-finally-listed-after-35-years...
2•daverol•32m ago•0 comments

Sandboxing Systemd Services

https://ejaaskel.dev/sandboxing-systemd-services/
1•weinzierl•34m ago•0 comments

Ask HN: Starting my own startup to increase compute density

2•isubasinghe•35m ago•0 comments

Linux USB iPhone Tethering

https://wiki.archlinux.org/title/IPhone_tethering
4•walterbell•39m ago•0 comments

Why the Internet Is Terrified of London

https://www.youtube.com/watch?v=uDkyP37JgY0
2•robin_reala•45m ago•0 comments

AI Coding Is a Framework–Use It Like a Library

https://www.piglei.com/articles/en-ai-coding-is-a-framework/
2•zdyxry•48m ago•0 comments

A one-prompt attack that breaks LLM safety alignment

https://www.microsoft.com/en-us/security/blog/2026/02/09/prompt-attack-breaks-llm-safety/
1•weinzierl•51m ago•0 comments

Subscription plans for YouTube TV are now cheaper

https://www.neowin.net/news/good-news-for-youtube-tv-users-cheaper-plans-are-now-available/
1•bundie•51m ago•0 comments

Show HN: YAML-based security framework for CDN edge (CloudFront / Cloudflare)

https://github.com/albert-einshutoin/cdn-security-framework
1•einshutoin•51m ago•1 comments

How to Keep What You Built Together

https://claudepress.substack.com/p/how-to-keep-what-you-built-together
1•Paodim•57m ago•0 comments

Composer 1.5

https://cursor.com/blog/composer-1-5
2•albingroen•1h ago•1 comments

A few design decisions for a new chat platform

https://sporks.space/2026/02/10/a-few-design-decisions-for-a-new-chat-platform/
2•todsacerdoti•1h ago•0 comments

Show HN: Canon-C – a semantic C library

https://github.com/Fikoko/Canon-C
2•Fikoko•1h ago•2 comments

Ask HN: How do you maximize your luck surface area?

2•tiny-automates•1h ago•2 comments