3 ms·
I personally have no issue with C++ being used for compilers, but to each their own.
by staticassertion 4y ago
I personally have no issue with C++ being used for compilers, but to each their own.
- pjmlp 4y agoDepends on how one stands in regards to secure code. I love C++, but secure like the ALGOL linage it will never be, no matter how many fixes we throw at it, because that C copy-paste compatibility layer is never going to be thrown away.
- staticassertion 4y agoI'm quite fond of secure code but attackers don't really exploit memory unsafety in compilers as they're not often in a position to or, if they are, there are much simpler ways to execute code.
- pjmlp 4y agoExcept compilers aren't used in isolation, if one writes the compiler toolchain in C++, chances are other system critical components are also written in C++, if nothing else for the comfort of single language use. Security must be applied end to end, and not pontual.