DEV Community

Discussion on: Golang or Rust, that is the question.

thatshubham profile image
Shubham • Edited on

To add to this, rust has static enforcement. This goes way beyond memory safety and includes null pointer and data race safety as well.

leob profile image

Exactly, I noticed that the compiler validates and enforces a LOT (that's also why the Rust compiler is slower than the Go compiler, it simply does more) ... if you program in a certain way in Rust and you program it "right" then you can almost be sure that it runs "right" - to a certain extent