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

> I'm not sure what it has to do with translating the code to Rust.

Formally verified C programs typically have had all their undefined behaviour already stamped out during the verification process. That makes mapping it over to Rust a lot simpler.



Translating undefined behavior is the easy part.


Maybe, but only if you know the specifics of the environment in which it is executing (i.e. which compiler/architecture-specific behaviours the code actually relies on)


Correctly written C programs don’t have undefined behaviour, so a translator can operate assuming there is none.




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

Search: