Rustify: Towards Repository-Level C to Safer Rust via Workflow-Guided Multi-Agent Transpiler
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 18:49 UTC · 975605dc6414 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,25 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "tjZHVvgmZt"- }- ],- "title": "Rustify: Towards Repository-Level C to Safer Rust via Workflow-Guided Multi-Agent Transpiler",- "authors": [- "Chen Wang",- "Yujun Huang",- "Peng Li",- "Lina Gong",- "Fei Wu"- ],- "abstract": "Translating C to Rust at the repository level presents unique challenges because of complex dependencies and the differences between C's manual memory model and Rust's strict ownership rules.\nExisting approaches often overlook repository-wide dependencies and contextual structure, resulting in impractical and potentially unsafe Rust code.\nWe propose Rustify, a workflow-guided architecture for repository-level C-to-Rust translation. \nRustify decomposes the translation process into modular and role-specific stages, aligned with the structure of source repositories rather than dynamic plan-and-act strategies. These stages address the structural challenges of repository-level C-to-Rust translation, such as determining translation units and resolving cross-file dependencies, with each stage assigned to a dedicated LLM-powered agent.\nBy orchestrating these agents through a structured workflow, Rustify systematically manages repository-wide translation while maintaining semantic equivalence and memory safety.The framework further integrates compiler feedback through tree search–based iterative repair and leverages a dynamic experience base to guide future translations.\nExperiments show that Rustify consistently produces fully memory-safe Rust code, reducing unsafe code by up to 99% compared to prior approaches. It successfully compiles eight out of nine repositories, raises the test pass rate from 10.5% in the baseline to 86.4%, and achieves high-quality, idiomatic Rust translation with CodeBLEU scores reaching 0.76.\nA replication repository is available at https://github.com/rustify712/Rustify.",- "year": 2026,- "venue": "ICLR 2026 submission",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "82333799-0f00-4351-99d8-d9384196e7c6"}
paper.json added
+++ b/paper.json@@ -0,0 +1,15 @@+{+ "title": "Rustify: Towards Repository-Level C to Safer Rust via Workflow-Guided Multi-Agent Transpiler",+ "authors": [+ "Chen Wang",+ "Yujun Huang",+ "Peng Li",+ "Lina Gong",+ "Fei Wu"+ ],+ "abstract": "Translating C to Rust at the repository level presents unique challenges because of complex dependencies and the differences between C's manual memory model and Rust's strict ownership rules.\nExisting approaches often overlook repository-wide dependencies and contextual structure, resulting in impractical and potentially unsafe Rust code.\nWe propose Rustify, a workflow-guided architecture for repository-level C-to-Rust translation. \nRustify decomposes the translation process into modular and role-specific stages, aligned with the structure of source repositories rather than dynamic plan-and-act strategies. These stages address the structural challenges of repository-level C-to-Rust translation, such as determining translation units and resolving cross-file dependencies, with each stage assigned to a dedicated LLM-powered agent.\nBy orchestrating these agents through a structured workflow, Rustify systematically manages repository-wide translation while maintaining semantic equivalence and memory safety.The framework further integrates compiler feedback through tree search–based iterative repair and leverages a dynamic experience base to guide future translations.\nExperiments show that Rustify consistently produces fully memory-safe Rust code, reducing unsafe code by up to 99% compared to prior approaches. It successfully compiles eight out of nine repositories, raises the test pass rate from 10.5% in the baseline to 86.4%, and achieves high-quality, idiomatic Rust translation with CodeBLEU scores reaching 0.76.\nA replication repository is available at https://github.com/rustify712/Rustify.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}