3 ms·
Rust’s type system seems to be ideal in this respect, and is not prone to timing out, so it is likely some design issue with Swift.
by kaba0 3y ago
Rust’s type system seems to be ideal in this respect, and is not prone to timing out, so it is likely some design issue with Swift.
- danpalmer 3y agoOn the contrary, Rust's type system moves more of that effort on to the developer – there's a reason why Rust has a much steeper learning curve than Swift. The trade-off is a somewhat rare sharp edge for Swift and a much easier onboarding, vs Rusts noticeably harder onboarding and more predictable sharp edges.
- kaba0 3y agoRust is a low-level language, which requires the dev to track lifetimes as well - that’s the reason it has harder onboarding. It managing an even more complex type system without any of the disadvantages seems to make it clearly great!