3 ms·
Essential reading: https://blog.regehr.org/archives/213 https://blog.regehr.org/archives/213 http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.
by fhars 7y ago
Essential reading:
https://blog.regehr.org/archives/213 https://blog.regehr.org/archives/213
http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html?m=1 http://blog.llvm.org/2011/05/what-every-c-programmer-should-...
- jstimpfle 7y agoomg no. Stop obsessing about this dragon. I'm not sure I've ever met it in my life (you know, other than segfaults from NULL dereferences which are UB too).
- saagarjha 7y agoHow much C have you written, and how much has gone through a high-performance optimizing compiler?
- jstimpfle 7y agoI don't know. Quite a bit - maybe written 300K lines and deleted > 200K lines. Most of it was compiled by gcc -O2 and/or MSVC. I've never relied on vectorization or used a lot of intrinsics, though.