News for hackers. Stuff that matters.
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.)