4 ms·
I think the author is strictly talking about C and C++. Python is famously pessimal in all possible ways.
by gpderetta 11mo ago
I think the author is strictly talking about C and C++. Python is famously pessimal in all possible ways.
- Scubabear68 11mo agoDigging around, OK that makes sense. But even in the context of C and C++, there are often more ways the compiler can't help you than ways it can. The most common are on function calls involving array operations and pointers, but a lot of it has to do with the C/C++ header and linker setup as well. C and C++ authors should not blithely assume the compiler is doing an awesome job, and in my experience, they don't.
- gpderetta 11mo ago> C and C++ authors should not blithely assume the compiler is doing an awesome job Agree. And I'm sure the author agrees as well. That's why compiler-explorer exists in the first place.