3 ms·
Chrome is not coded in anything even slightly resembling modern C++. So, no conclusions about modern C++ can be drawn from it. Except, maybe, that it takes a l
by ncmncm 5y ago
Chrome is not coded in anything even slightly resembling modern C++. So, no conclusions about modern C++ can be drawn from it.
Except, maybe, that it takes a long time to modernize old code.
- dan-robertson 5y agoI’m merely trying to respond to a comment that claims that chrome should have few memory management bugs. I don’t really have an opinion about whether it is modern. I don’t care enough about the distinction between C++ styles to know where to find evidence of the rate of memory management problems in modern C++ codebases. Perhaps I would just find that the definition of modern C++ is ‘the style of C++ where you don’t write code with memory management bugs’ (I.e. if I were to try to find an example it would not be a true Scotsman)
- ncmncm 5y agoWe all know Chrome is buggy as hell, and coded in the crabbed Google language subset. You may read in numerous places what modern C(+ code looks like. There is no need to guess.