If that's what you're looking for, you can use Swift. The latest release has memory safety by default, just like Rust.
If that's what you're looking for, you can use Swift. The latest release has memory safety by default, just like Rust.
Unless you are writing formal proofs nothing is completely safe, GC languages had found a sweet spot until increased concurrency started uncovering thread safety problems. Rust seems to have found a sweet spot that is usable despite the grumbling. It could probably be made a bit easier. The compiler already knows when something needs to be send or synch, and it could just do that invisibly, but that would lead people to code in a way that had lots of locking which is slow and generates deadlocks too often. This way the wordiness of shared mutable state steers you towards avoiding it except when a functional design pattern wouldn't be performant. If you have to use mutex a lot in rust stop fighting the borrow checker and listen to what it is saying.
They have not in the past 10 years.
[1] https://github.com/thomasmueller/bau-lang/blob/main/doc/perf...