4 ms·
Rust is just doing its job here, but it's PITA that Rust is extremely bad at letting people to write inefficiently secure code concisely (i.e. scripting languag
by esjeon 3y ago
Rust is just doing its job here, but it's PITA that Rust is extremely bad at letting people to write inefficiently secure code concisely (i.e. scripting languages like Python). It wants you to go all-in from the day 1.
- baq 3y agoIt's kinda the point, though. Runtime GC as in Python allows you to handle these problems during... runtime (which means you won't encounter some of them at all when learning - which is good!). Rust explicitly attempts to handle them at compile time, so the surface area of potential problems you might run into during runtime is much bigger. Rust with GC is somewhat like ocaml with ...; instead of let ... in.