4 ms·
Web browsers use modern C++ and still have security issues. It's a step forward, but not a panacea.
by steveklabnik 11y ago
Web browsers use modern C++ and still have security issues. It's a step forward, but not a panacea.
- abiox 11y agoto what extent? i imagine the codebases are quite...mature. and gigantic.
- pcwalton 11y agoEverywhere. We have been using smart pointers for a long time. Modern C++ doesn't add any memory safety protection beyond that which was already available with custom smart pointers in earlier versions of C++. In fact, I think modern C++ is less safe than earlier versions, due to new classes of potential bugs like use-after-move and the ease with which closed-over variable references in lambdas can become dangling.