Hacker News new | ask | show | jobs
by kaba0 1478 days ago
How is it different than in case of every other language? Also, why not another newer language tops the list?
2 comments

Clojure is the second most loved in 2021, and it isn't like every company is rushing out to adopt it.
Rust is really hard. So while people that don’t like Javascript still continue to use it, but people that don’t like Rust are likely to drop it like a brick.
Rust is too painful for hobby projects, IMO. Over the years, I've worked in C, C++, Go, Perl, Python, PHP, Java, Scala, JS, Tcl, ... others I've forgotten, most professionally and well as for personal projects.
I've used Rust for a hobby project, it was more painful before, but they have fixed a lot of the churn issues. The ecosystem is more or less stable right now, compared to before
Matter of taste.

I find Rust perfect for hobby projects because:

1. Squashing bugs that show up after the code successfully compiles (or, in Python's case, appears to work) is a big drain on motivation.

2. The ecosystem's focus on API stability means that, once it works the way I want, the costs of ensuring "it built/ran yesterday, so it should build/run today too" will be minimized.

3. I don't have to write as many unit tests to feel I can trust it with my data.

TL;DR: Once you're on the same wavelength as the compiler, Rust is great for projects where your motivation is purely intrinsic.

(Well, that and the compiler has been constantly improving. Things especially got much better after non-lexical lifetimes landed.)