tandem rng tandem-rs GitHub

tandem-rs

Rust implementation of Tandem8x32. The crate tandem-rng produces the stream of the specification bit for bit, with SIMD fills on CPUs, rayon fills, and a wgpu fill on GPUs.

Install

tandem-rng = { git = "https://github.com/tandem-rng/tandem-rs" }
# features: std and simd-intrinsics (default), rayon, serde, wgpu

Rust 1.89, edition 2024. The crate is no_std without the default std feature.

AI assistance

This port was written with the help of large language models under human direction. The design and the specification are human work, as is much of the Julia implementation. The code is tested bit for bit against every vector of the specification and against long stream dumps from the Julia implementation, and every value must match. The output does not depend on who or what wrote the code.