Rust is getting more attractive everyday, I wonder if there is something about the language that highly influences lib authors to write quality stuff or if the community has a high ratio of experienced devs.
Rust is getting more attractive everyday, I wonder if there is something about the language that highly influences lib authors to write quality stuff or if the community has a high ratio of experienced devs.
IMO all the “fighting with the borrow checker” stuff is overblown. If you do get some complaint from the compiler, it is usually very easy to fix.
Moreover, rust is very expressive. The functional facilities coupled with combinators make the language very ergonomic to use.
I use the language for almost everything I can. If it’s something that would normally be a quick script, I will still reach for rust but not be very constrained.
If the project turns into something more it’s easy to refactor and decrease memory usage etc. Testing is kind of a “first class citizen” so that plus “compilation driven development” make it a pretty hackable tool.
My one caveat is that I'd say rust is a language best to pick up after you're already a polyglot with a few years of experience in several other languages. It uses so many ideas and concepts from several other paradigms that I think it helps an unusually great amount to have a polyglot background coming in.
I have replaced all my tooling with Rust, fwiw. Rewrote several things at work with Rust (which started this train for me lol), and now all my projects are in Rust as well.
I often say that Rusts complexity is oversold (by myself, too, at times), and it can be just as productive as Go, if used like Go. That is to say, Go is often touted as being hyper productive because it takes decisions away from you, such as Generics. You can apply the same tools to Rust, and suddenly you lack a ton of features but also reduce the possible roadblocks you might be wanting to avoid.
Personally I don't even avoid any Rust features these days, I use all of them (that I understand, at least lol.. which I think is all). I more productive than in my Go days (~5 years in Go, fwiw).
LSPs are great :)
[1]: I switched to Atom for non-Rust reasons. Boy do I miss Kakoune every day haha.
A lot of people seem to really enjoy the IntelliJ Rust plugin.
Memory management aside: compilation-time guarantees of your code is probably the best thing about the language.
Prototyping ideas is great in Rust, since it's compiler/type system are a nice pair of helping hands.
I will say, a proper first class REPL would be nice. Maybe some day.
Agree. I tried to prototype in Python, but even with great IDE support it's hard to manage constant refactoring when you're moving fast.
I write C at work: to me Rust is fun for playing with a more functional style. The type system makes refactoring easy when I mess up. The tooling is good and the answer to 'why is thing X like Y?' is rarely 'because of legacy'.