3 ms·
Do you think that most Python developers can write safe C code? I doubt it but I have no data on it either.
by fauigerzigerk 14y ago
Do you think that most Python developers can write safe C code? I doubt it but I have no data on it either.
- nilliams 14y agoA fairly moot point. Do you think most C developers can write safe C code? The 2 I've encountered in my short career basically have no idea what they're doing (which I suspect is partly why they stuck with C instead of exploring alternative languages).
- fauigerzigerk 14y agoIf that were the case it would make the situation even worse. It means the whole "write performance critical parts in C" argument is bogus.
- nostrademons 14y agoTo answer your original question - no, but there's less C code than the equivalent C-only program, so you're still better off. Or if your argument is that C is a security nightmare (which you won't find much argument from me on), replace C/CPython with Java/Jython.
- pcwalton 14y agoYou could write performance critical parts in a safer language, though, such as Rust (disclaimer: I work on Rust). C isn't the only option here.