rust is a complete overengineered mess, just use c and be done with it