Research map / Large language models / Agents, code and math
SACTOR: LLM-Driven Correct and Idiomatic C to Rust Translation with Static Analysis and FFI-Based Verification
Tianyang Zhou, Ziyi Zhang, Haowen Lin, Somesh Jha, Mihai Christodorescu, Kirill Levchenko, Varun Chandrasekaran
University of Illinois, Urbana Champaign · University of Wisconsin - Madison · Google
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add the idiomatic refinement step after unidiomatic translation (ablation) | SACTOR · CRust-Bench (per sample) | unsafe fraction / unsafe-free rate: unsafe fraction 97.86% -> 0%; unsafe-free 0% -> 100% | Improved |
| idiomatic step instead of unidiomatic step (ablation) | SACTOR · CRust-Bench | average lint alerts per function: 2.96 -> 0.28 | Improved |
| idiomatic step lowers success rate compared with unidiomatic step (ablation) | SACTOR · CRust-Bench | per-sample function success rate (%): 85.15 -> 51.85 | Hurt |
| use GPT-5 instead of GPT-4o | SACTOR · libogg | idiomatic function success rate (%): 53 -> 78 | Improved |
| use DeepSeek-R1 instead of non-reasoning models on harder dataset | SACTOR · TransCoder-IR vs CodeNet | success rate (%): DeepSeek-R1 94/93 on TransCoder-IR vs GPT-4o 84/80 | Improved |
| use SACTOR's unidiomatic output instead of C2Rust, Crown or C2SaferRust | C-to-Rust translation · TransCoder-IR and CodeNet | Clippy issues | Improved |
| use DeepSeek-R1 instead of GPT-4o | SACTOR · TransCoder-IR | average tokens: 2651.21 -> 17895.52 | Hurt |
| Vert versus SACTOR success rate | SACTOR · TransCoder-IR | success rate | Hurt |
Open problems this paper states
- “Soft-equivalence checks rely on existing end-to-end tests, so shallow coverage can miss subtle semantic errors.” → Correctness is judged by tests that may be shallow, flaky or unavailable. (an open problem in software engineering agents)
Open problems in software engineering agents
Do coding-agent results hold beyond Python, small benchmarks and LLM judges?
- Tested on Python or a few languages, so other languages are untested. · 20 papers state it
- Benchmarks are small, with only 100 to a few hundred tasks. · 14 papers state it
- Scores depend on an LLM judge that may not match human judgment. · 11 papers state it
Closest papers by meaning
- Raw Pointer Rewriting with LLMs for Translating C to Safer Rust (ACL 2026 · similarity 0.89)
- Verified Code Transpilation with LLMs (NeurIPS 2024 · similarity 0.86)
- Automated Proof Generation for Rust Code via Self-Evolution (ICLR 2025 · similarity 0.86)
- Synthetic Programming Elicitation for Text-to-Code in Very Low-Resource Programming and Formal Languages (NeurIPS 2024 · similarity 0.86)
- CodeRosetta: Pushing the Boundaries of Unsupervised Code Translation for Parallel Programming (NeurIPS 2024 · similarity 0.85)
- AlphaVerus: Bootstrapping Formally Verified Code Generation through Self-Improving Translation and Treefinement (ICML 2025 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.