by sgt · 1y ago · 0 comments
Rust is still popular but it turns out the developer joy is pretty low.
I recently started to re implement the (admittedly very basic) kernel in Zig and it’s been a breath of fresh air. The language seems much better suited for the level of abstraction that Osdev lives at. Major bonus is that all the existing C code is directly useable in a zig project without any wrapper nonsense or it can be easily translated.
I think I’ll stick with dig for a bit.
I appreciate Zig and hope it succeeds. I don't dismiss the benefits of Rust like some comments though; the borrow checker or unsafe syntax may be a pain now, but so is saving money before a vacation.
Rust is one of the language I enjoy to use. The problem is you need to overcome its steep learning curve in order to enjoy it, which people tend to give up because it is too hard.
To be honest, I haven’t touched Rust in years, so it may have improved.
I never thought I'd live to see the day when someone would say this. The first 5 years of Rust were all "this is interesting for hobby projects but nobody will ever adopt this in industry".
The programming world is much larger than this small slice of the internet, though. HN has had several eras of “this is the hot new fad language and you should use it!”, going as far back as Lisp in the mid-2000s.
It will likely continue to experience this cycle until the heat death of the universe.
I mean, Rust keeps winning the "most loved" language contest on GitHub, so it seems someone likes it.
Anyway, Rust was still the "most admired" language in 2024 [2].
[1]: https://github.blog/developer-skills/programming-languages-a...
[2]: https://survey.stackoverflow.co/2024/technology#admired-and-...
What are you talking about?