News for hackers. Stuff that matters.
Re:Friendship ended with the garbage collector by echelon on Friday August 27, 2021 @11:59AM (#28329452)
I'm laughing, because Rust solves all of this and is a simple and easy language to learn. No GC, ref counts when you want or need them, and manual memory management that is a breeze and proven at compile time. I hate even saying this because I get the feeling it scares away newbies that think these concepts are hard.

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.

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.)

Re:Friendship ended with the garbage collector by pjmlp on Saturday August 28, 2021 @10:06AM (#28338171)
What about using C++ in LLVM to support rustc?