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•8mo 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•8mo 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: I stopped doomscrolling (built an app for it)

https://apps.apple.com/in/app/mindsnack-daily-microlearning/id6752513248
1•Strawhatoofy•6m ago•0 comments

Anthropic Made a Big Mistake

https://archaeologist.dev/artifacts/anthropic
1•codesparkle•7m ago•0 comments

Malaysia and Indonesia block X over failure to curb deepfake smut

https://www.theregister.com/2026/01/12/asia_tech_news_roundup/
1•praptak•9m ago•0 comments

IVF has led to a record number of single moms in their 40s

https://www.npr.org/2026/01/12/nx-s1-5647761/ivf-fertility-motherhood-40s-cost-donor-decision
1•cebert•10m ago•0 comments

next to of course god america I

https://poetryarchive.org/poem/next-to-of-course-god-america-i/
1•KnuthIsGod•13m ago•0 comments

What are Tithe Maps (2021)

https://mapreading.co.uk/what-are-tithe-maps/
1•thomasjb•14m ago•0 comments

Show HN: Deepdrone – Controls drones with natural language through LLMs

https://github.com/evangelosmeklis/deepdrone
1•twelvechess•14m ago•0 comments

Show HN: Tokyo Land Price AI – RAG App to Explore Tokyo Land Prices

https://tokyolandpriceai.com
1•spider-hand•15m ago•0 comments

ESA considers righting wrongs of Ariane 6 by turning it into a Franken-rocket

https://arstechnica.com/space/2026/01/esa-considers-righting-the-wrongs-of-ariane-6-by-turning-it...
1•rbanffy•16m ago•0 comments

Feature Selection: A Primer

https://ikromshi.com/2025/12/30/feature-selection-primer.html
1•ikromshi•16m ago•0 comments

Conditional Logic Builder for WP Snippets AI Is Sensational

https://wpsnippets.ai/
1•cjtoolbox•20m ago•0 comments

Advice for Individual Contributors

https://blog.staysaasy.com/p/advice-for-individual-contributors
1•geoffbp•20m ago•0 comments

Telegram AI Dating Agent

https://github.com/arlanrakh/talk-to-girlfriend-ai
1•javatuts•21m ago•0 comments

Bloomberg Like Terminal for geopolitics – Monitor what's happening in the world

https://worldmonitor.app
2•alexander2002•22m ago•0 comments

Nvidia CEO: AI doomerism has done a lot of damage and is not helpful to society

https://www.businessinsider.com/nvidia-jensen-huang-ai-doomerism-damage-investments-2026-1
2•smurda•24m ago•0 comments

Is Orion's heat shield safe? New NASA chief conducts final review

https://arstechnica.com/space/2026/01/nasa-chief-reviews-orion-heat-shield-expresses-full-confide...
2•rbanffy•25m ago•0 comments

Burroughs B21 / Convergent AWS Vintage Computer Restoration – Dr. Scott M. Baker

https://www.smbaker.com/burroughs-b21-convergent-aws-vintage-computer-restoration
2•rbanffy•27m ago•0 comments

Comparing Ways to Give Claude Code Access to a Web Browser

https://simpletechguides.com/comparisons/we-tried-different-ways-to-give-claude-code-access-to-a-...
1•sixhobbits•27m ago•0 comments

Hebbian Theory

https://en.wikipedia.org/wiki/Hebbian_theory
1•baxtr•28m ago•0 comments

Borg 2.x: Important Notes

https://borgbackup.readthedocs.io/en/master/changes.html
1•tosh•30m ago•0 comments

Show HN: Designed a tool that 'designs' app from text

https://www.uilaa.com
1•rokontech•31m ago•0 comments

Java arrived on the Internet 30 years ago

1•mariogianota•32m ago•0 comments

Sprites – Stateful Sandboxes

https://sprites.dev/
1•charlieirish•33m ago•0 comments

Azul 9.0 (Australian Cyber Security Centre)

https://australiancybersecuritycentre.github.io/azul/
1•tsujamin•34m ago•0 comments

When AI Meeting Notes Become Legal Evidence

https://zenodo.org/records/18220448
1•businessmate•35m ago•1 comments

A new horrible game – chaves nightmares

https://www.chavesnightmares.org/
1•dorsherking•35m ago•0 comments

A Unique Performance Optimization for a 3D Geometry Language

https://cprimozic.net/notes/posts/persistent-expr-memo-optimization-for-geoscript/
1•birdculture•37m ago•0 comments

Amateur sleuth earns £2M reward for exposing research fraud

https://www.thetimes.com/uk/science/article/amateur-sleuth-2m-exposing-research-fraud-jhhb8wfnn
3•doener•37m ago•2 comments

Mdview.io – clean, focused Markdown viewer with TOC, Mermaid, and LaTeX support

https://mdview.io/
1•Igor_Wiwi•39m ago•0 comments

Startup employee fired after building automated system to streamline tasks

https://economictimes.indiatimes.com/us/life/startup-employee-fired-after-building-automated-syst...
2•msolujic•44m ago•1 comments