News for hackers. Stuff that matters.
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.
Re:Relive: 50 years of C, the good, the bad and the ugly by timbit42 on Sunday January 01, 2023 @12:15PM (#34208243)
Rust has already begun to replace C in the embedded space.