Re:Friendship ended with the garbage collector
by zozbot234 on Friday August 27, 2021 @12:11PM
(#28329569)
Rust is certainly easier to teach and learn than some other languages (think C++) but learning it effectively still requires quite a bit of discipline. It's not really made for the bug prone cowboy-coding style that seems to be the norm in more 'dynamic' languages (Python, JavaScript, Ruby etc.) and to a lesser extent in more mainstream, 'enterprise' friendly languages like Go, Java/Scala/Kotlin, C#/VB.NET, Erlang etc.
Re:Friendship ended with the garbage collector
by echelon on Friday August 27, 2021 @12:19PM
(#28329669)
Fair point. If you want to hack something together and don't care too much for the details, Rust will slow you down.
But if you care enough to be writing tests or put lots of thought into API and schema, then maybe you're in the disciplined camp that would get a ton of benefit from switching.
If you're using C++, you should switch for any greenfield project that doesn't need to use legacy libraries. (Writing wrappers for C libraries isn't hard at all.)
I already write web services in Rust. It's no more difficult than Java or Python.
I can't wait for the ecosystem to heat up more, because it'll make it compelling to switch to Rust at work.