Would it be possible to translate the Rust code into C++ and thus basically get the Rust safety in C++?