| ▲ | theusus 6 hours ago | |||||||
> manual memory management Rust has automatic memory management. > Complexity tax Could you be more specific? | ||||||||
| ▲ | honeycrispy 5 hours ago | parent | next [-] | |||||||
The trait/type system can get pretty complex. Advanced Rust doesn't inherit like typical OOP, you build on generics with trait constraints, and that is a much more complex and unusual thing to model in the mind. Granted you get used to it. | ||||||||
| ||||||||
| ▲ | quotemstr 5 hours ago | parent | prev [-] | |||||||
> Rust has automatic memory management Sure, if you define "automatic memory management" in a bespoke way. > Could you be more specific? The lifetime system, one of the most complex and challenging parts of the Rust programming model, exists only so that Rust can combine manual memory management with memory safety. Relax the requirement to manage memory manually and you can safely delete lifetimes and end up with a much simpler language. Have you ever written a Java or Python program? | ||||||||