3 ms·
> Where can someone (i.e., in my case a software engineer who's working with Kotlin but has used C++ in his past) read more about modern approaches to writing e
by enriquto 7y ago
> Where can someone (i.e., in my case a software engineer who's working with Kotlin but has used C++ in his past) read more about modern approaches to writing embedded software for such systems?
The JPL coding guidelines for C [1] are an amusing, first-hand read about this stuff. Not sure if you would qualify them as "modern approaches".
[1] https://en.wikipedia.org/wiki/The_Power_of_10:_Rules_for_Developing_Safety-Critical_Code https://en.wikipedia.org/wiki/The_Power_of_10:_Rules_for_Dev...
- ibrault 7y agoI can testify first-hand that the "functions in a single page" and "avoid the pre-processor" rules are not followed very closely haha
- Cyph0n 7y ago> A minimum of two runtime assertions per function. I am guessing the idea is to catch runtime errors in the test phase, and assertions are disabled for the production build.