Anyone curious about rust (maybe after seeing the significant increase in speed with firefox quantum, or hearing that it will be the replacement for C/C++...!)?
As an experiment I've started converting the python module pi3d to rust. I'm trying to keep the structure of the code as much in step as possible so the differences are clear. Generally a surprising amount can be transferred over by swapping colons for curly brackets and putting semicolons at the ends of lines. lists become Vec<..> and dicts HashMap<.., ..>. The hardest aspect is not being able to create objects willy-nilly and rely on the garbage collector to tidy up at the end of the day - but that's one of the selling points of rust.
If anybody wants to see the code, or even better wants to help convert it, the original is at github.com/tipam/pi3d with demos at github.com/pi3d/pi3d_demos and the rust is at github.com/paddywwoof/rust_pi3d
I will start to add more documentation and bloglike narrative of the process.
link to youtube video