3 ms·
We can replace COBOL with a Java backend to keep the enterprise feeling going, but what would C's replacement be in this case?
by AstixAndBelix 4y ago
We can replace COBOL with a Java backend to keep the enterprise feeling going, but what would C's replacement be in this case?
- pjmlp 4y agoC++ 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.
- youarethejoke 4y agoFor 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.
- timbit42 4y agoRust is already replacing C and C++. Ada is too. As the importance of safety increases, more safe languages will appear that can replace C and C++.