Technology
rust2c
C2Rust is the high-efficiency transpiler that automatically migrates C99-compliant codebases to functionally equivalent, though initially unsafe, Rust.
This is C2Rust: the essential tool for migrating legacy C code to a safer Rust environment. Developed by Galois and Immunant, the core `c2rust transpile` utility converts C99 code into semantically identical Rust, primarily using `unsafe` blocks to maintain functionality. The primary objective is to automate the costly first step of migration, providing a functional Rust codebase that passes original test suites. The broader C2Rust project includes a refactoring component and cross-checking tools: this allows development teams to incrementally lift the auto-translated code into safe, idiomatic Rust, effectively eliminating memory corruption vulnerabilities at scale.
Related technologies
Recent Talks & Demos
Showing 1-1 of 1