|
|
|
|
|
by sryie
1487 days ago
|
|
"some time" is the entry barrier I was referring to and increases the cost of onboarding and adoption. However, rust also incurs a non-negligible ongoing productivity cost for its complexity. Rust can provide some guarantees but it still won't protect you from logic errors or a "clever" coworker. In comparison, zig is simple and at the end of the day readability is my best defense against bugs/errors. There was an interesting comparison (and discussion) of zig vs rust safety a few months ago:
https://news.ycombinator.com/item?id=26537693 I find myself agreeing with pron and others in that discussion when they say no one really wants to use a safe language. What they want are correct programs. What remains to be seen is how easy it is to write correct programs in each and the values people place on the deltas between the two languages. |
|
This isn't really consistent with my experience. Compared to writing other languages with varying levels of strictness (C, Python, Go to name a few), Rust's compiler saves me a lot of time writing tests and finding bugs.
It doesn't save me the work of fixing them, but in my experience, bugs that are hard to find and easy to fix drastically outnumber bugs that are easy to find and hard to fix.
That said, I haven't tried Zig. It's on my radar, but just haven't had a new project to start lately.