News for hackers. Stuff that matters.
Re:Ask HN: Will Rust ever become a mainstream systems progra... by eropple on Monday April 10, 2017 @03:17PM (#14081677)
I don't disagree with you in that well-written code should make invalid memory accesses rare. And I don't disagree that, if you write good C++ (and I've stumped around here for C++ because I really didn't learn it until C++11 and have never had an environment where I didn't have the tools to write good C++), they are. But I feel, and pretty strongly, that Rust makes it a lot harder to write bad code in general. Memory protection is just one of the ways this is true.

I replied to you mostly because "you're a bad programmer if you need protection against invalid memory accesses" is rampant nonsense. Everyone needs that protection. It is at best a question of whether you need other things more. (Few people do.)

Re:Ask HN: Will Rust ever become a mainstream systems progra... by stmfd on Monday April 10, 2017 @03:26PM (#14081742)
I agree, that was rather brash. They're not bad programmers. I tried to clarify that in my previous comment.

I think C++'s biggest failing is how large and convoluted it is but, in relation to the thread's question, how many beginner C++ programmers are gonna jump straight into systems programming? I sure hope the answer is 0.

I just see too many people quoting the list on Rust's homepage verbatim when I ask them about why a skilled C++ developer should pick up Rust.

Re:Ask HN: Will Rust ever become a mainstream systems progra... by to3m on Monday April 10, 2017 @03:30PM (#14081791)
But they're good features, mftb. I have to say that as an experienced (some might even say skilled) C++ developer I would go for pretty much all of them.