News for hackers. Stuff that matters.
Re:Why Rust Is the Future by duck_bacon on Saturday December 18, 2021 @02:30PM (#29607734)
This will be a much weaker argument after the Go 1.18 release with generics. Should have argued performance.

> Rust vs Go: advantages

> Go lacks expressiveness. Rust has a flexible and expressive system that allows for defining new container types that can hold different types of elements, generics, traits, algebraic data types. Go gives you less control over both resources and memory.

Re:Why Rust Is the Future by rob74 on Saturday December 18, 2021 @02:41PM (#29607841)
And it sounds pretty biased too. Sure, in Go (and other garbage-collected languages) you have less control over resources and memory, but you know what? Sometimes you don't want to worry about resources and memory! And, for most real-world applications, the small performance hit caused by not having this total control is more than acceptable...
Re:Why Rust Is the Future by friedman23 on Saturday December 18, 2021 @02:35PM (#29607787)
If you think generics are going to solve the problem with expressiveness in Go you are sadly mistaken. How do you declare a type that is either type A or type B? Something as basic as that is impossible in Go.