4 ms·
And your users will certainly enjoy all the security issues your code will have.
by Nullabillity 10y ago
And your users will certainly enjoy all the security issues your code will have.
- comex 10y agoNot the person you replied to, but I'm actually quite conflicted on this count. I enjoy C, both aesthetically and for its performance, yet I care a lot about security, so I feel obligated to avoid C for anything important. I'm a big fan of Rust, but it's nowhere near replicating what I like about C.
- z3t4 10y agoSomeone with say 10-20 years of experience in a language will write a more secure program then someone just started in any language ... And even if you program in a "safe" language, you still make bugs, and all those bugs passed the compiler/parser, so your language obviously didn't help you there. There are a lot of code written in C in the wild, witch means there are also a lot of bad code.
- Nullabillity 10y agoThere are business logic bugs, and there are memory corruption bugs. One of those leads to RCEs a lot more often than the other. One of those is a lot easier for the compiler to prevent than the other.
- Sanddancer 10y agoYes, but there are ways to prevent most memory corruption bugs, even, if you're using an OS with a non-terrible malloc implementation. The gnu malloc that most people know is a terrible antiquity that should have been replaced decades ago -- mallocs like OpenBSD's make a lot of memory corruption bugs a lot harder to exploit.
- qwertyuiop924 10y agoBut not harder to have exist in the first place.
- module0000 10y agoSomeone who capably sets out to write their web application back-end in C most likely is aware of any security issues. If they exist in the finished product, their presence is going to be due to laziness, not ignorance.
- lilyball 10y agoGiven the fact that virtually every significant piece of C software has some sort of vulnerability in it, this comment is demonstrably false.
- module0000 10y ago> virtually every significant piece of C software has some sort of vulnerability in it The GNU 'echo' program is pretty significant, in the sense it's installed widely, and used widely. What sort of vulnerability exists?
- x3ro 10y agovirtually, adverb [ as submodifier ] nearly; almost: the disease destroyed virtually all the vineyards in Orange County | the college became virtually bankrupt.
- deleted 10y ago[deleted]
- lilyball 10y agoYou don't get points for internet pedantry. Especially when it should be obvious that you're choosing to use a definition of "significant" that doesn't match what I was using in my comment.