@darius reference implementation in Rust and Bedsprings