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•7mo 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•7mo 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?

Rapida – an open-source, self-hosted voice AI orchestration platform

https://github.com/rapidaai/voice-ai
1•p_srivastav•1m ago•1 comments

Children with cancer scammed out of millions fundraised for their treatment

https://www.bbc.com/news/articles/ckgz318y8elo
1•1659447091•4m ago•0 comments

Show HN: Atlas – AI YouTube Dubbing and Enhancement

https://chromewebstore.google.com/detail/atlas-ai-youtube-dubbing/ggkjmkjofkcbaobpohgciabgaocebefc
1•gagarwal123•5m ago•1 comments

Crises the world can't ignore in 2026 – The IRC

https://www.rescue.org/article/top-10-crises-world-cant-ignore-2026
1•janandonly•5m ago•0 comments

Stickerbox - AI sticker printer for kids

https://stickerbox.com/
1•cloudking•8m ago•0 comments

Volkswagen to End Production at German Plant, a First in Company History

https://www.nytimes.com/2025/12/16/business/volkswagen-dresden-factory-closed.html
1•erickhill•9m ago•0 comments

Fraud allegations fly as Vancouver startup UpMeals descends into bankruptcy

https://www.ctvnews.ca/vancouver/article/fraud-allegations-fly-as-vancouver-startup-upmeals-desce...
1•foofoo55•10m ago•0 comments

Bonsai: A Voxel Engine, from scratch

https://github.com/scallyw4g/bonsai
1•jesse__•15m ago•0 comments

The Hottest Toy of the Year Is Made by a Tech Startup You've Never Heard Of

https://www.wsj.com/business/entrepreneurship/nex-playground-toy-game-console-holiday-shopping-af...
1•jerezzprime•17m ago•0 comments

Free AI Dictionary Tools

https://aijet.cc
1•osek•18m ago•0 comments

SQLite for VMs: embeddable AI agent sandboxing

https://github.com/boxlite-labs/boxlite
1•dorianzheng•19m ago•0 comments

And Your Little Dog, Too

https://www.newyorker.com/magazine/2025/12/15/and-your-little-dog-too
1•petethomas•21m ago•0 comments

Enhancing LLMs with LoRA – Standardized Recipes for Capability Enhancement

https://huggingface.co/blog/codelion/ellora-lora-recipes
2•codelion•25m ago•0 comments

A former tech executive killed his mother. Family says ChatGPT made her a target

https://www.washingtonpost.com/technology/2025/12/11/chatgpt-murder-suicide-soelberg-lawsuit/
1•1vuio0pswjnm7•28m ago•0 comments

She blew the whistle at Meta. Then her career fell apart

https://www.washingtonpost.com/technology/2025/12/15/big-tech-whistleblowers-speak-out/
2•1vuio0pswjnm7•31m ago•0 comments

Top AI-Tech Startup Ideas for 2026

1•shilpasanny•33m ago•0 comments

How to Write a 21st Century Proof (2011) [pdf]

https://lamport.azurewebsites.net/pubs/proof.pdf
2•User23•35m ago•0 comments

Neil Postman, Informing Ourselves to Death

https://web.archive.org/web/20031029211844/http://www.frostbytes.com/~jimf/informing.html
2•cal_dent•36m ago•1 comments

Live from re:Invent it's Stack Overflow

https://stackoverflow.blog/2025/12/16/live-from-re-invent-it-s-stack-overflow/
1•quapster•38m ago•0 comments

3D Environments from Single Images

https://www.spaitial.ai/
1•yodon•41m ago•0 comments

Show HN: A Claude Code plugin that auto-export plans for multi-model workflows

https://github.com/kenryu42/claude-code-plan-export
1•kenryu•41m ago•0 comments

AI-Augmented Memory for Groups

1•vishal-ds•44m ago•0 comments

Modalz Modalz Modalz

https://modalzmodalzmodalz.com/
3•iamwil•54m ago•0 comments

Netflix Live Origin

https://netflixtechblog.com/netflix-live-origin-41f1b0ad5371
1•mfrw•56m ago•0 comments

Substack forces users to download app to read content

https://twitter.com/gergelyorosz/status/1999241496005066755
4•lleims•56m ago•0 comments

Show HN: The App SEO Pros Are Quietly Switching To

https://www.gitpage.site
1•ambitiouz•57m ago•0 comments

What is more important than working hard?

https://himanshusinghbisht.substack.com/p/what-is-more-important-than-working
1•gilfoyle_7•57m ago•0 comments

Nvidia aquires SchedMD – developer of Slurm HPC scheduling software

https://www.heise.de/en/news/Nvidia-acquires-open-source-provider-SchedMD-11115881.html
2•samuell•57m ago•0 comments

Chinese Name Generator

https://chinesenamehub.com/
1•zidana•59m ago•0 comments

A Simple Recommendation System

https://angelocortez.com/blog/recsys
2•telecomhacker•1h ago•0 comments