DEV Community

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

Collapse
 
kwinz profile image
Name • Edited

They are not competitors. They are almost opposite of each other.

Go is a simplified, garbage collected language. Because of its simplicity it is suitable for beginner programmers. And for security critical applications.
Also it allows you to quickly write services and stuff like FUSE filesystem code.
It might be a step up for Python programmers that are looking for a faster language.

Rust competes with C++. It is basically a C++ that get's the defaults right. I brings many influences from languages like Haskell. It has a steep learning curve. It spends a lot of effort on getting manual memory management right (borrow checker). It is almost the complete opposite of golang.

Collapse
 
lexiebkm profile image
Alexander B.K.

Yeah... I see Rust is like a modern C++, although it is not OOP by traditional definition. Whereas Go is like a modern C; the fact that Ken Thompson is one of the trio who created Go may validate my viewpoint.