2 ms·
You could add Valgrind and static analysis to your C. (You'd have to do something like this to C++, too.)
by eru 12y ago
You could add Valgrind and static analysis to your C. (You'd have to do something like this to C++, too.)
- pjmlp 12y agoValgrind is bandage sadly only available to GNU/Linux developers with lots of RAM to spare. Not fully available, if at all, when other systems need to be targeted. Fully agree with static analysis. My point is that at least with C++ you get the help of stronger type checking, RAII and automatic memory management via the available collections. But of course, the C compatibility is both an advantage in terms of helped adoption, but also a weight in terms of being able to write secure code.
- eru 12y agoAgreed, the C compatibility and piling off features on top is a serious legacy.