News for hackers. Stuff that matters.
Re:Modern C by mytailorisrich on Friday September 04, 2020 @09:17AM (#24374638)
For best practices you're probably better served by looking at standards and guidelines specific for embedded systems. For example MISRA C. There is also the JPL C Coding Standards, which are based on MISRA and are freely available.
Re:Modern C by ianhowson on Friday September 04, 2020 @12:17PM (#24376301)
MISRA and the JPL standards are required reading if you're doing safety-critical work.

They tend to warp the structure of your software and prevent usage of many useful language features.

If you're not doing safety work, the Linux kernel is a great example of 'nice' modern C.