News for hackers. Stuff that matters.
Re:Rust Is Hard, Or: The Misery of Mainstream Programming by kaba0 on Friday June 03, 2022 @06:14AM (#31606419)
How is it different than in case of every other language? Also, why not another newer language tops the list?
Re:Rust Is Hard, Or: The Misery of Mainstream Programming by pjmlp on Friday June 03, 2022 @08:42AM (#31607444)
Clojure is the second most loved in 2021, and it isn't like every company is rushing out to adopt it.
Re:Rust Is Hard, Or: The Misery of Mainstream Programming by Aeolun on Friday June 03, 2022 @08:59AM (#31607620)
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.
Re:Rust Is Hard, Or: The Misery of Mainstream Programming by icedchai on Friday June 03, 2022 @11:37AM (#31609775)
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.
Re:Rust Is Hard, Or: The Misery of Mainstream Programming by iopq on Sunday June 05, 2022 @11:14PM (#31636971)
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
Re:Rust Is Hard, Or: The Misery of Mainstream Programming by ssokolow on Tuesday June 07, 2022 @10:18PM (#31662455)
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.)