3 ms·
Because Rust throws out the GC which means that you have to deal with complexities of lifetime management. (I don't agree that sum types should be added to Go,
by ziml77 5y ago
Because Rust throws out the GC which means that you have to deal with complexities of lifetime management.
(I don't agree that sum types should be added to Go, as much as I dislike the language as it is)
- BenFrantzDale 5y agoAs someone coming from C++ I don’t comprehend this complaint. How do you even do anything in a language without deterministic destructors? All my experiences with garbage collection have been painful. RAII is so much easier to use.
- azth 5y agoFor resource management, Java/C# have try-with-resources/using statements. Python has `with`, golang has "defer". GC addresses other issues like memory sharing, cyclic data structures, etc.