tag:blogger.com,1999:blog-834134852788085492.post852114976709948315..comments2024-03-02T07:59:30.808+01:00Comments on RealTime Data Compression: Writing safer C codeCyanhttp://www.blogger.com/profile/02905407922640810117noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-834134852788085492.post-40846095010742869322019-01-20T03:29:42.919+01:002019-01-20T03:29:42.919+01:00Languages are merely syntax and semantics, though ...Languages are merely syntax and semantics, though colloquially people tend to mean the "ecosystem" that exists with those. In that later sense, a language can be specifically interpreted or compiled. In the former sense, however, a language is not compiled or interpreted it is merely a mathematical object.Matthew Maycockhttps://www.blogger.com/profile/03124835895649793677noreply@blogger.comtag:blogger.com,1999:blog-834134852788085492.post-64621410869266443072019-01-19T22:20:02.568+01:002019-01-19T22:20:02.568+01:00MISRA C (and the SEI CERT C Standard) isn't a ...MISRA C (and the SEI CERT C Standard) isn't a good fit for a lot of people. There are a lot of restrictions which don't make sense for many applications, and a lot of rules which are overly specific.<br /><br />It's also worth noting that MISRA isn't free, and a lot of people won't have access to it.<br /><br />AFAIK Google's coding standards are about C++ not C, and writing secure C is *very* different from writing secure modern C++.<br /><br />It seems like what Yann is trying to do is provide some information on higher-level techniques which I'd classify more as tools than rules. I haven't seen very much of that.<br /><br />There are lots of places he can go with this that aren't even remotely covered by stuff like MISRA or CERT, and the first post (about using the type system) falls into that category.Evan Nemersonhttps://www.blogger.com/profile/09255272642147518519noreply@blogger.comtag:blogger.com,1999:blog-834134852788085492.post-73574802894087212552019-01-19T20:20:33.366+01:002019-01-19T20:20:33.366+01:00The problem I have here, asI do with a lot of web ...The problem I have here, asI do with a lot of web content is that this is re-inventing the wheel. There are already very very good 'safety' standards for coding, inC and C++. Take Misra C, Google's coding standards, various C++ 'best practices' from the Committee. Why are you creating even more, most likely narrower content. You would be better spent interpreting these various standards into something relevant to your topic of data compresion.Mike007https://www.blogger.com/profile/09439544542390598752noreply@blogger.com