|
|
|
|
|
by justsomeuser
1888 days ago
|
|
Rust is more complex than Go, but when you are dealing with the inherent complexity in a problem, sometimes Rust can allow you to make the decision to take a larger chunk of that complexity and handle it at compile time (instead of at runtime with a crash->debug->fix feedback loop). So you get sometimes stressful and frustrating writing sessions, coupled with more confidence in the runtime correctness. Also the more expressive type system can allow you to more closely match the domain, which helps when you add new features in the future as you can rule out certain invalid states or interactions. I often feel you need to know the right conventions to write correct Go programs, where as Rust will just tell you you cannot run it. I would get things done faster in Go for sure, but the compiled artifact would likely have more issues during runtime. |
|