4 ms·
> A team can learn and start using Golang in a week True, but why should we be optimizing for the first week experience? Your career lasts 40 years. > Golang
by School-Cotton 2y ago
> A team can learn and start using Golang in a week
True, but why should we be optimizing for the first week experience? Your career lasts 40 years.
> Golang has even better memory safety guarantees than Rust
That is not true. What specific example did you have in mind? As an example of something Rust can enforce that Go can’t is not mutating something that’s shared between threads without acquiring the proper lock.
> Furthermore its compiled statically and more suitable for distribution and horizontal scaling.
Rust can be statically linked just like Go can. Not sure what else you think makes it less suitable for distribution and horizontal scaling. There are certainly lots of companies distributing Rust programs and horizontally scaling them so this seems empirically false.
> I am learning Rust myself and I just don’t understand why it’s being pushed so hard.
Because it has a lot of nice features that make a lot of people like it - memory safety without GC, prevention of data races, algebraic data types, etc. No other mainstream compiled languages has this set of features. There’s no conspiracy to “push” Rust. The push is organic. People just like it.
- jdefr89 2y agoThere is Zig and a couple others. Rust borrows those features from functional languages they aren’t new innovations by any means..
- School-Cotton 2y agoZig isn't really mainstream and I don't know of any functional languages without a garbage collector.