Re:Relive: 50 years of C, the good, the bad and the ugly
by AstixAndBelix on Friday December 30, 2022 @09:05AM
(#34185074)
We can replace COBOL with a Java backend to keep the enterprise feeling going, but what would C's replacement be in this case?
[ Parent
| on HN ]
Re:Relive: 50 years of C, the good, the bad and the ugly
by pjmlp on Friday December 30, 2022 @10:36AM
(#34185943)
C++ for starters, would already be an improvment, provided string, array and vector classes with bounds checking, get used instead of raw C pointers.
Alongside RAII for resource management.
Re:Relive: 50 years of C, the good, the bad and the ugly
by youarethejoke on Friday December 30, 2022 @11:50AM
(#34186808)
For most embedded stuff those are just extra hassle and not worth it. C and its raw pointers and are really all you need most of the time. The need to have some discipline and expertise to produce solid code with confidence is not a bad thing in the embedded domain. If the code truly is critical you need to dive deep into verification techniques anyway.
Re:Relive: 50 years of C, the good, the bad and the ugly
by pjmlp on Friday December 30, 2022 @05:06PM
(#34190653)
Sure we all know that the S in IoT stands for security.