The impracticality of c & projects - Programming On Unix

Users browsing this thread: 2 Guest(s)
z3bra
Grey Hair Nixers
(02-09-2015, 10:23 AM)vypr Wrote: the programmer needs to pick up a book on making secure applications in C.

This is not as simple as that. C is a language that doesn't even try to fix runtime errors.
Out-of-boundaries arrays, random memory reads, unterminated strings, ... Some languages actually provide checks for these, and thus prevent leaks and exploits based on this (remember heartbleed?).
Sure, this would have been prevented if the devs didn't make such an error in the first place. But hey, if people didn't make any error, we wouldn't even be discussing this.
Everyone makes errors, this was true in the past, this will be true in the future. And C will always let you make such errors, while other languages don't.
If you think your application is a bit "risky", and your codebase starts to be hard to review, then C might not be the best language.


Messages In This Thread
RE: The impracticality of c & projects - by cjm - 23-08-2015, 10:42 PM
RE: The impracticality of c & projects - by z3bra - 24-08-2015, 07:38 AM
RE: The impracticality of c & projects - by venam - 24-08-2015, 08:54 AM
RE: The impracticality of c & projects - by movq - 24-08-2015, 01:37 PM
RE: The impracticality of c & projects - by z3bra - 24-08-2015, 02:32 PM
RE: The impracticality of c & projects - by apk - 24-08-2015, 07:02 PM
RE: The impracticality of c & projects - by srp - 01-09-2015, 02:02 PM
RE: The impracticality of c & projects - by srp - 02-09-2015, 10:23 AM
RE: The impracticality of c & projects - by z3bra - 02-09-2015, 12:13 PM
RE: The impracticality of c & projects - by apk - 10-09-2015, 05:18 PM
RE: The impracticality of c & projects - by srp - 10-09-2015, 08:10 PM
RE: The impracticality of c & projects - by apk - 11-09-2015, 01:06 AM
RE: The impracticality of c & projects - by dtnt - 11-09-2015, 06:20 AM
RE: The impracticality of c & projects - by z3bra - 21-09-2015, 09:03 AM
RE: The impracticality of c & projects - by cjm - 21-09-2015, 09:09 PM