Skip to content

Code modernization: follow C++ Core Guidelines #245

Description

@oberstet

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions