News for hackers. Stuff that matters.
Re:Criticizing the Rust Language, and Why C/C++ Will Never D... by naasking on Friday August 05, 2016 @10:55AM (#12232765)
It's interesting that his own points argue against his own conclusion. For instance, "I can't but remind you for one more time that the source of troubles is usually in humans, not technology", doesn't jive with the conclusion that C/C++ are here to stay, nor does it agree with his point that he was annoyed with the restrictions Rust placed on him.

If humans are the problem, then a language that restricts these problematic human urges in a way that maximizes safety and extensibility is an important solution. C/C++ does only one of these, and not very well either. Any solution that strikes a better balance will replace C/C++ eventually, and I think Rust is on the right track.

Re:Criticizing the Rust Language, and Why C/C++ Will Never D... by rkangel on Friday August 05, 2016 @11:05AM (#12232848)
I was going to make that exact point. Language design philosophy has shifted. It used to be a question of giving programmers all the tools and trusting them to do it right.

History (the list of CVEs if nothing else) has shown that even the best and most well-intentioned programmers will shoot themselves in the foot on occasion if handed a gun.

Modern language design has shifted to prioritise preventing such footguns, while retaining as much programmer power as possible.

Humans are the source of troubles, and so we give them tools that help them not make mistakes. That's what will actually get Rust adopted (if that actually happens): companies will weigh off the extra productivity (fewer bugs) against the cost of switching.

Re:Criticizing the Rust Language, and Why C/C++ Will Never D... by saosebastiao on Friday August 05, 2016 @11:29AM (#12233050)
I totally agree, simply because all tools have learning curves. It is one thing to learn a language, but it is another entirely to learn a language + debugger + profiler + static analyzer + IDE + build system + package manager + test framework + test runner, etc.. (Just typing this is giving me Node/javascript anxiety...)

Rust has done an amazing job packing almost all of that into rustc + cargo, and while there is a learning curve it is nothing like the learning curve necessary to produce code of similar quality in C/C++.