News for hackers. Stuff that matters.
Re:Does memory leak? (1995) by enriquto on Saturday February 22, 2020 @11:47AM (#22391915)
> 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_Dev...

Re:Does memory leak? (1995) by ibrault on Saturday February 22, 2020 @01:29PM (#22392472)
I can testify first-hand that the "functions in a single page" and "avoid the pre-processor" rules are not followed very closely haha
Re:Does memory leak? (1995) by Cyph0n on Saturday February 22, 2020 @01:50PM (#22392579)
> 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.