A port of a silly project to Rust from C