News for hackers. Stuff that matters.
Re:Diminishing returns of static typing by blub on Tuesday October 03, 2017 @03:29AM (#15390778)
You managed to pick the two things where Rust is actually not improving on C++, because it's both more annoying and less usable compared to C++.

There's a reason the expression "fighting the borrow checker" was coined.

You're confusing your own biases and preferences for facts.

Re:Diminishing returns of static typing by Tade0 on Tuesday October 03, 2017 @05:13AM (#15391151)
I find this whole "fighting the borrow checker" thing a tad inflated. I personally don't "fight" it anymore, because it's a simple rule to anyone who's familiar with pointer arithmetic.

Also the compiler usually tells you what is it exactly that you screwed up this time and how to get out of this mess, which cannot be said about C++.

Re:Diminishing returns of static typing by bad_user on Tuesday October 03, 2017 @11:18AM (#15392960)
In absence of a garbage collector, what people don't get is that it's really easy to screw up by creating race conditions or memory leaks.

If fighting the borrow checker is annoying, that's because you don't get memory safety otherwise.

The vast majority of vulnerabilities in the wild are created because of sloppy usage of C / C++, which is basically unavoidable in absence of expensive static analyzers that become as annoying as Rust, while not being as good.