Microsoft Leverages LLMs to Boost Low-Level Programming Safety: Checked C and RustAssistant

2025-05-02

Researchers at Microsoft Research presented two projects leveraging Large Language Models (LLMs) to enhance low-level programming safety. One project uses LLMs to assist with Checked C, automatically adding memory safety annotations to legacy C code, improving safety and reducing the burden of manual annotation. The second, RustAssistant, uses LLMs to automatically fix Rust compilation errors, significantly lowering the learning curve for Rust. Both projects demonstrate the immense potential of LLMs in improving code safety and developer efficiency, opening new possibilities for software engineering.

Development Code Safety