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•1y 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•1y 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?

Why can't anyone build a decent deployment platform for plain HTML?

https://foliodrop.app
1•jaxxchen•1m ago•1 comments

Japanese government wants to cut sales tax but cash registers say no

https://www.theguardian.com/world/2026/may/26/japan-pm-sanae-takaichi-pledged-sales-tax-cut-syste...
1•jplrssn•2m ago•0 comments

Frontier Model Training Methodologies

https://djdumpling.github.io/2026/01/31/frontier_training.html
1•xdotli•5m ago•1 comments

Microsoft to Publishers: Don't Block the AI Bots

https://www.adexchanger.com/publishers/microsoft-to-publishers-dont-block-the-ai-bots/
1•SVI•6m ago•0 comments

Zero-knowledge encryption may not stop password theft if servers are hacked

https://techxplore.com/news/2026-02-knowledge-encryption-password-theft-servers.html
1•Ember_Wipe•7m ago•0 comments

AI Making Work Easy for Data Analysts and Founders

https://anallyst.app/
1•Sechele•10m ago•0 comments

Why codex /goal fails on complex workflows: compaction amnesia and context rot

1•shaurya-sethi•11m ago•0 comments

AI Gurus Are Charging Wall Street Banks $25,000 a Day

https://www.bloomberg.com/news/features/2026-05-25/the-ai-trainers-charging-25-000-a-day-to-push-...
2•helsinkiandrew•11m ago•1 comments

Outlines – Structured LLM Outputs

https://dottxt-ai.github.io/outlines/latest/
1•modinfo•12m ago•0 comments

Joi AI is hiring masturbation consultants to test "Daily Guided Masturbation"

https://twitter.com/joi___ai/status/2056518876243149258
1•rjzzleep•14m ago•0 comments

Galaxiana – Dedicate a star in a living 3D galaxy

https://galaxiana.com
1•neribar•18m ago•0 comments

Desktop Monitoring and Notifications for CISA KEV

https://github.com/quantumcore/kev_monitor
1•tt560•21m ago•0 comments

ThriftAttention: Selective Mixed Precision for Long-Context FP4 Attention

https://arxiv.org/abs/2605.23081
2•joesharratt29•22m ago•1 comments

Ferrari Reveals $640k EV Co-Designed by Jony Ive

https://www.macrumors.com/2026/05/25/ferrari-luce-jony-ive-photos/
1•mgh2•24m ago•0 comments

Stealth Firefox that passes every bot detection test

https://github.com/feder-cr/invisible_playwright
1•federcr•24m ago•0 comments

Webwright: A terminal is all you need for web agents

https://microsoft.github.io/Webwright/
2•sorenbs•26m ago•0 comments

Standard WiFi can identify individuals with near-perfect accuracy

https://www.digitaljournal.com/tech-science/privacy-any-wi-fi-can-now-identify-you-with-near-perf...
3•jackson-mcd•26m ago•0 comments

The Pressure

https://daniel.haxx.se/blog/2026/05/26/the-pressure/
2•adunk•27m ago•0 comments

Jazz legend Sonny Rollins dies aged 95

https://www.bbc.co.uk/news/articles/c1e224dwz18o
1•2dvisio•29m ago•0 comments

Show HN: Burn, K8s cost CLI that pulls actual spot prices per instance type

https://github.com/tanrikuluozlem/burn
1•OzlemT•29m ago•0 comments

Accelerating Copy_if Using SIMD

https://loonatick-src.github.io/posts/vectorized-copy-if-analysis/
1•chkmr•30m ago•0 comments

Users have created a tool to fix firmware issues with the Audeze Maxwell 1

https://github.com/kats1123/maxwell-balance-and-firmware-tool
1•ilitirit•33m ago•0 comments

What ClickUp's mass layoff tells us about the future of work

https://techcrunch.com/2026/05/25/what-clickups-mass-layoff-tells-us-about-the-future-of-work/
3•01-_-•33m ago•1 comments

America's schools face a backlash on digital devices

https://apnews.com/article/school-screen-time-technology-edtech-07958fb159c7cfbceb7bfdb37b2bb726
4•01-_-•34m ago•0 comments

Multi-Agent LLM Orchestration with Docker Compose and MCP

https://github.com/PacktPublishing/Operational-AI-with-Docker
1•harsh_manvar•37m ago•0 comments

Show HN: skills-for-humanity – 171 structured reasoning skills for Claude Code

https://github.com/human-avatar/skills-for-humanity
3•finnworks•46m ago•0 comments

A Portentous Reunion

https://bcantrill.dtrace.org/2026/05/25/a-portentous-reunion/
1•cafkafk•47m ago•0 comments

Ask HN: Some Sensible Alternative to Openrouter?

1•EbNar•50m ago•3 comments

How to Make Python 3 Print() Output UTF-8 to stdout

https://www.pythontutorials.net/blog/how-to-make-python-3-print-utf8/
1•ankitg12•50m ago•0 comments

Ask HN: Is anyone working at least 4 hours daily on an Apple Vision Pro?

32•widenrun•55m ago•10 comments