News for hackers. Stuff that matters.
Re:Goodbye C++, Hello C by MaxBarraclough on Saturday June 26, 2021 @05:30AM (#27640447)
> You can write safe C, if you are careful

In practice this pretty much cannot be done unless you use a formal verification framework, which almost no one does. Even the most well-resourced projects written in C tend to have trouble with low-level bugs. Same goes for C++. Both the Linux kernel and Chromium have plenty of these issues.

Re:Goodbye C++, Hello C by giomasce on Saturday June 26, 2021 @08:16AM (#27641221)
My comment seems to have sparked a lot of reaction about safety, but that wasn't the main point. The main point (and the one OP talks about) was about conciseness, and I can't really see how C can be considered a concise language.
Re:Goodbye C++, Hello C by MaxBarraclough on Saturday June 26, 2021 @08:40AM (#27641344)
Agreed. C is more concise than assembly, but it's highly verbose compared to most modern languages. C++ can sometimes be a good deal more concise.