Earlier quoted context omitted.
An example from an experiment to benchmark Rust and Java I did recently, where I sent files from one app to another: perf was good enough without tuning, with tuning I could triple the speed and final total time on both versions was comparable. Memory was much greater for Java (even with graalvm). The Rust version didn't suffer from any memory safety issues or race conditions when sending multiple files, but I did ha…
maybe https://docs.rs/cap-std/latest/cap_std/fs/index.html would prevent that?
"../" attacks are also just way less of an issue when you shove your programs into minimal containers, which at this point is more or less standard practice.