3 ms·
Yes, I'm really happy that GCC optimize that code away. Most of us don't care about security issue too much when using C/C++. We do use it for performance, and
by manawy 11y ago
Yes, I'm really happy that GCC optimize that code away.
Most of us don't care about security issue too much when using C/C++. We do use it for performance, and use it mostly locally.
GCC is a very versatile code. It's ok that it makes secure code difficult to write because it's not what most of us is doing. Not being completely secure is ok, not being optimized is not.
- copsarebastards 11y agoYeah, I'd go so far as to argue that if you need security, you probably shouldn't be writing C.
- angersock 11y agoWhat you and a lot of other people are missing, cheerful in your use of other languages, is that your runtimes and native extensions usually depend on insecure C code.
- copsarebastards 11y agoI'm not missing that; you're making an assumption.