5 ms·
So I've written a few things in Rust, none in Go, but I've looked through Go's syntax. Everything that can be written in Go can be written in Rust. However, Go
by Cshelton 11y ago
So I've written a few things in Rust, none in Go, but I've looked through Go's syntax.
Everything that can be written in Go can be written in Rust. However, Go would be much more simpler for things, ie. right now, a web server.
On the other end, some critical performance things or microprocessors, etc., written in Rust cannot be written in Go.
They each have a purpose, and while there is some overlap, the purpose is very different. Go is geared more towards developer simplicity. Inevitably, Go will be a more popular language because of the simplicity. Similar to Ruby and Python. I also see Rust becoming a much more mature language that will take many C and c++ programmers over the next few years. It takes time, 1.0 was only released 7 weeks ago.
In the end, I see both of these languages growing more and sticking around for awhile. Especially with large corporate backings (Google, Mozilla) and growing communities.
I think I will probably learn both eventually.