Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That the language does not force you to use static analysis does not entail that it is not possible.

Where I work, most C code can not be checked in to source control until the CI bot is satisfied with the static analysis run. That's necessary because of C's separate compilation model: static anaylsis requires whole-program analysis to track aliasing.

Rust is a single tool that does (or may do, when opted-in) static analysis. It's not the first, not the only, and probably not the best. Other development environments use separate tools for separate operations. Engineering has always had its lumpers and dividers. Rust and Windows is for lumpers, C and Unix is for dividers.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: