DEV Community

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

Collapse
 
lexiebkm profile image
Alexander B.K.

I am learning both. It is nice to see they provide struct and pointer. But I feel more encouraged or challenged to learn things like traits, generics, how method is implemented, memory management via ownership in Rust.
On the other hand, I still need to learn Go because there are a few job requirements for it. When it comes to compiling, I certainly prefer Go. Also for web backend development, there are more interesting frameworks to be used such as Gin, Fiber, Iris.
As for database connection, I like that Go provides standard package that proved to be easier to use than the likes of Diesel for Rust.
Therefore, at least for me :

  • Go will not rust
  • Rust will not go

Btw, I am also still learning (relearning) both Java and C/C++.