|
|
|
|
|
by pjmlp
3332 days ago
|
|
Thanks for telling your Aonix experience. I would just argue that un these domains 'Classical C' isn't used, given the constraints regarding language features, using stuff like MISRA-C and similar. Fully agree with Ada comment, even better if using SPARK. In any case, many military seem more focused on being easy to hire recruits that already know how to program than training them, hence the ramping up of Java adoption. |
|
You're right about Misra C. Even with Ada you'll end up banning dynamic memory allocation and some stack-exploding stuff, but you still have alternatives like storage pools ('looks-like-dynamic' memory allocation) and Controlled types, and at least you get a stack for structured data types and not just for primitive types...