The rust language is designed to prevent entire classes of bugs which are common in other languages, so in theory rust code should be less buggy and more “correct” for the same amount of effort.
I’ve been trying to add features to the site by modifying lemmy and holy cow I completely forgot just how difficult Rust is, especially with hardly any documentation. It’s taking me hours to do something that would take 20 minutes in Kotlin or 5 in Ruby. You get a lot of safety but it does come at a cost.
I’m still enjoying it though, but it is making my head spin.
The rust language is designed to prevent entire classes of bugs which are common in other languages, so in theory rust code should be less buggy and more “correct” for the same amount of effort.
I love Rust. Although I agree with everything else, I would definitely not say “same amount of effort”.
I’ve been trying to add features to the site by modifying lemmy and holy cow I completely forgot just how difficult Rust is, especially with hardly any documentation. It’s taking me hours to do something that would take 20 minutes in Kotlin or 5 in Ruby. You get a lot of safety but it does come at a cost.
I’m still enjoying it though, but it is making my head spin.