Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Interesting to hear that. DOD no longer requires ADA, so many projects that did use it have converted to C++. There were even people brought in to do automated Ada-> C++ conversion a number of years ago.


With the creation of the MISRA C standards for JSF these memory safety issues have largely been accounted for in the MISRA standards review process.


MISRA C definitely makes many improvements in this area. However, writing decent Ada code is so much easier than writing C code that conforms to MISRA ( or JSF ) standards.

There's a pretty good comparison here: https://learn.adacore.com/courses/SPARK_for_the_MISRA_C_Deve...


> ... C ....

> ... these memory safety issues have largely been accounted for ...

Hahaha. Hahahahahaha.


Instead of laughing like a child maybe provide a defendable argument?

Once again largely, C is a language not the compiler providing its implementation.


Yep. UB means that your program could crash, but it also means it's valid for the compiler to print out a warning and do the right thing, or error, or anything.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: