Project for porting C to Rust gains Mozilla's backing (InfoWorld)
Project for porting C to Rust gains Mozilla's backing (InfoWorld)
Posted Nov 2, 2016 11:31 UTC (Wed) by vasvir (subscriber, #92389)In reply to: Project for porting C to Rust gains Mozilla's backing (InfoWorld) by epa
Parent article: Project for porting C to Rust gains Mozilla's backing (InfoWorld)
From Corrode's github README linked in the article:
For example, if a signed addition might overflow (which is undefined behavior in C), Corrode just translates it to Rust's + operator, which panics on overflow in debug builds.
I don't know what happens in non debug (release) builds.
