Why You Should Learn Rust Lang

Rust is good but I'd rather use Golang for most applications. I feel like it's usually more productive and easier to collaborate with other developers, although Rust is what I'd choose when I'm coding something very performance intensive such as a game server.
 
Rust is good but I'd rather use Golang for most applications. I feel like it's usually more productive and easier to collaborate with other developers, although Rust is what I'd choose when I'm coding something very performance intensive such as a game server.

Both Golang and Rust have problems.
Golang is simple to get up and coding in, but as you advance to more sophisticated problems you'll find the language falls short or has some esoteric workaround. Easy to start but hard to advance to sophisticated problems.
Rust, on the other hand, is the complete opposite. Rust is very difficult to get up and coding in, but once you master its numerous memory pointers/references/abstractions you'll be presented with a language that supports many high level abstractions. Hard to start but easy to advance to sophisticated problems.
 
Both Golang and Rust have problems.
Golang is simple to get up and coding in, but as you advance to more sophisticated problems you'll find the language falls short or has some esoteric workaround. Easy to start but hard to advance to sophisticated problems.
Rust, on the other hand, is the complete opposite. Rust is very difficult to get up and coding in, but once you master its numerous memory pointers/references/abstractions you'll be presented with a language that supports many high level abstractions. Hard to start but easy to advance to sophisticated problems.
yes, my primary reason for learning rust was webassembly. Webassembly is going to change online gaming
 
yes, my primary reason for learning rust was webassembly. Webassembly is going to change online gaming
But any language can produce webassembly. It is just a matter of producing a compiler that takes X source code+libraries and produces the byte-code.
I really don't see webassembly catching on with the masses. The masses are used to dealing with the current mess that's called web developement.
 
But any language can produce webassembly. It is just a matter of producing a compiler that takes X source code+libraries and produces the byte-code.
I really don't see webassembly catching on with the masses. The masses are used to dealing with the current mess that's called web developement.
we will see about it in future. But i think its worth learning Rust for be it web development (not stores, but for JAMStack & serverless functions), software development, systems development
 
Both Golang and Rust have problems.
Golang is simple to get up and coding in, but as you advance to more sophisticated problems you'll find the language falls short or has some esoteric workaround. Easy to start but hard to advance to sophisticated problems.
Rust, on the other hand, is the complete opposite. Rust is very difficult to get up and coding in, but once you master its numerous memory pointers/references/abstractions you'll be presented with a language that supports many high level abstractions. Hard to start but easy to advance to sophisticated problems.
I agree that Rust is more capable than Golang (better performance, although there hasn't been something that limited me from coding what I need yet), as is C++. I just find it more productive to use Golang as it's fast to get started and there are a lot more Golang developers (therefore open source projects), plus a lot of jobs.
 
I agree that Rust is more capable than Golang (better performance, although there hasn't been something that limited me from coding what I need yet), as is C++. I just find it more productive to use Golang as it's fast to get started and there are a lot more Golang developers (therefore open source projects), plus a lot of jobs.
It has nothing to do with performance. It has everything to do with high level abstractions. Golang was designed to not include a whole host of high level abstractions so it would be easy to get started in...

Look I'm not saying GoLang is a bad language because it isn't. GoLang is a small language with inconsistent features that lack some high level abstractions. In a nutshell, if you use GoLang for what it was designed for then you'll probably have no complaints, if you use try to use GoLang for what it wasn't designed for... be prepared for absolute misery.
 
Back
Top