logo

Boffins carve up C so code can be converted to Rust

ID: 49109fe5-6e82-549f-a5a4-54d8fc3a1a09

STIX ID: report--49109fe5-6e82-549f-a5a4-54d8fc3a1a09

Feed Name: The Register (Security)

Date Published: 2025-01-03

Date Updated: 2026-04-26

Author: Thomas Claburn

...
...

Researchers from Inria and Microsoft present a formalized, semi-automated approach to compile a constrained subset of C ("Mini-C") into memory-safe Rust using the KaRaMeL framework, avoiding unsafe Rust by prohibiting hard-to-translate C features and requiring minimal refactoring; validated on HACL* and EverParse, the method maintained performance while adding safety checks (e.g., fat pointers and bounds checks), and the generated Rust code is already adopted via libcrux in projects like Mozilla NSS and OpenSSH to improve memory safety.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.