3 ms·
I can't upvote this enough. I started to play with Rust a few months ago and I especially like their compile-time checks of the code. I don't see why C compiler
by yitchelle 10y ago
I can't upvote this enough. I started to play with Rust a few months ago and I especially like their compile-time checks of the code. I don't see why C compiler vendors can't do the same thing. Imagine if folks like GreenHills or WindRiver adopt such a practice in their compiler. It would revolutionise their industry. IAR has MISRA-C checks in their compilers but that is not enough.
- jotux 10y agoThere's already an industry providing static analyzers for C (Coverity, Klocwork, Polyspace, etc). If you're doing mission-critical C you're probably using these already.
- yitchelle 10y agoI do, but I wish it was built in, like rustc.
- pcwalton 10y agoBecause the C language is fundamentally hostile to Rust's safety features.
- choosername 10y agowhat about fail quick fail often
- choosername 10y agowhat about fail quick fail often