3 ms·
MISRA C (https://en.wikipedia.org/wiki/MISRA_C https://en.wikipedia.org/wiki/MISRA_C) is a stripped-down version of C that is used in critical applications.
by thesuperbigfrog 6y ago
MISRA C (https://en.wikipedia.org/wiki/MISRA_C https://en.wikipedia.org/wiki/MISRA_C) is a stripped-down version of C that is used in critical applications.
- als0 6y agoMISRA C doesn't include a borrow checker, so it won't stop many memory safety issues. It's just a set of guidelines to discourage you from writing nasty or ambiguous C.
- thesuperbigfrog 6y agoYes. MISRA C might be a good candidate to add a borrow checker. I am not terribly familiar with the MISRA C rules, so I am not sure how much borrowing / move semantics is permitted under MISRA C.