DEV Community

loading...

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

Collapse
thatshubham profile image
Shubham • Edited

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

Collapse
leob profile image
leob

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