3 ms·
This reminds me of the story about the elephant in the room. The article, like most rust articles (in my perception), attacks the 'memory unsafety' issue, and
by stargrazer 8y ago
This reminds me of the story about the elephant in the room.
The article, like most rust articles (in my perception), attacks the 'memory unsafety' issue, and therefore 'everything needs to be converted to rust'.
But ... does rust have the multi-paradigm programming mechanisms which are available in C++?
The article also ignores the issue that the recent releases of C++ are including programming methods for reducing/eliminating the memory issues: RAII, for instance, is a fundamental mechanism for ensuring memory is released at the correct time. Range operators work to eliminate the indexing issues.
'with great power comes great responsibility'. does rust offer the programming tools available in C++? templating, meta-programming, functional coding, procedural programming, object oriented constructs, ....
So, I think the title '.... and Developers Don't Want to Deal with It' is incorrect and click baity. C++ is in active development and evolution, and constructs are coming into place which help to alleviate the issues mentioned in the article.
- steveklabnik 8y ago> does rust have the multi-paradigm programming mechanisms which are available in C++? Some, but not all. Or some that work differently. The one thing that's truly missing is objects. Our metaprogramming is slightly more limited, but also more advanced, in different ways. That will catch up. We're not adding objects, though.