Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Yeah, I'd go so far as to argue that if you need security, you probably shouldn't be writing C.


What 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.


I'm not missing that; you're making an assumption.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: