Modern C++ shall follow the C++ Core Guidelines
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines
historical context / excursion: in the 90s, there was JSF/MISRA, with stuff like:
JSF/MISRA AV Rule 208: C++ exceptions shall not be used (i..e. throw, catch and try shall not be used.)
Rationale: Tool support is no adequate at this time.
JSF/MISRA AV Rule 206: Allocation/deallocation from/to the free store (heap) shall not occur after initialization.
Rationale: releated allocation (new/malloc) and dallocation (delete/free) from free store/heap cam result in free store/heap fragmentation and hence non-deterministic delays in free store/heap access.
for a fun intro, see:
https://www.youtube.com/watch?v=Gv4sDL9Ljww
https://github.com/LaurieWired
https://www.linkedin.com/in/laurie-kirk/
Modern C++ shall follow the C++ Core Guidelines
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines
historical context / excursion: in the 90s, there was JSF/MISRA, with stuff like:
JSF/MISRA AV Rule 208: C++ exceptions shall not be used (i..e. throw, catch and try shall not be used.)
Rationale: Tool support is no adequate at this time.
JSF/MISRA AV Rule 206: Allocation/deallocation from/to the free store (heap) shall not occur after initialization.
Rationale: releated allocation (new/malloc) and dallocation (delete/free) from free store/heap cam result in free store/heap fragmentation and hence non-deterministic delays in free store/heap access.
for a fun intro, see:
https://www.youtube.com/watch?v=Gv4sDL9Ljww
https://github.com/LaurieWired
https://www.linkedin.com/in/laurie-kirk/