Re:Checked C
by gpderetta on Tuesday June 14, 2016 @11:00AM
(#11902402)
switching to c++ can also be done in an incremental fashion.
[ Parent
| on HN ]
Yes, but not quite as trivially as:
Enable extension
Add `checked` to array declarations. (for the simplest
case they've implemented).
Converting to C++ also means making sure you have `extern "C"` in your function declarations to get around C++'s name mangling when calling C libraries. Among other, potential, source level changes. Or, similarly, making sure your C (now C++) library can be called correctly by C projects that depended on it.I'm not sold on this project as we haven't seen any results of course, but the approach is simpler than switching to C++.