News for hackers. Stuff that matters.
Re:Ask HN: Is Rust worth it compared to Golang? by satvikpendem on Wednesday May 06, 2020 @07:56AM (#23089951)
The inclusion of algebraic data types, coming from someone who uses TypeScript on the frontend and functional languages on the backend, already makes Rust the best choice for me, and conversely makes Go a non-starter. Rust definitely takes longer but I've been learning it through the Book and also by doing the exercises on Exercism [0]. The exercises really help in understanding, as for example, I didn't understand borrowing too well until doing the prime number generator problem, using a sieve of Eratosthenes which can use a mutable vector of previous primes.

[0] https://exercism.io/tracks/rust

There are no comments on this comment yet.