RustRepoTrans: Repository-level Code Translation Benchmark Targeting Rust
Not on the map. Why?
Abstract (arXiv)
Recent advancements in large language models (LLMs) have demonstrated impressive capabilities in code translation, typically evaluated using benchmarks like CodeTransOcean and RepoTransBench. However, dependency-free benchmarks fail to capture real-world complexities by focusing primarily on simple function-level translations and overlooking repository-level context (e.g., dependencies). Full-repository translation benchmarks significantly exceed the current capabilities of existing models, resulting in performance bottlenecks that fail to provide actionable insights for guiding model development. Furthermore, existing benchmarks do not account for the scenario of incrementally translating new or modified modules from the source to the target language, which demands careful handling of repository-level contexts such as dependencies, cross-module references, and architectural divergence. Moreover, LLMs' effectiveness in translating to newer, low-resource languages like Rust remains largely underexplored. To address these gaps, we introduce RustRepoTrans, the first repository-level context code translation benchmark targeting incremental translation, comprising 375 tasks translating into Rust from C, Java, and Python. Using this benchmark, we evaluate seven representative LLMs, analyzing their errors to assess limitations in complex translation scenarios. Among them, DeepSeek-R1 performs best with 51.5% Pass@1, excelling in both basic functionality and additional translation abilities, such as noise robustness and syntactical difference identification. However, even DeepSeek-R1 experiences a 22.2% performance drop (Pass@1 from 73.7% to 51.5%) when handling repository-level context compared to previous benchmarks without such context.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). First posted on arXiv 21 Nov 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 2; 2026: 4.
6 papers.
- 2025EffiReasonTrans: RL-Optimized Reasoning for Code Translationcited by 5
- 2025MatchFixAgent: Language-Agnostic Autonomous Repository-Level Code Translation Validation and Repaircited by 4
- 2026Documentation-Guided Agentic Codebase Migration from C to Rustcited by 0
- 2026Converted, Not Equivalent: Benchmarking Codebase Conversion via Observational Equivalencecited by 0
- 2026Translator vs. Challenger: Adversarial Agentic Learning for C-to-Rust Translationcited by 0
- 2026ORCA: Evaluating LLMs on Data Science Code Translationcited by 0
- 2026ORCA: Evaluating LLMs on Data Science Code Translation25 Sep 2026
- 2026Translator vs. Challenger: Adversarial Agentic Learning for C-to-Rust Translation14 Sep 2026
- 2026Converted, Not Equivalent: Benchmarking Codebase Conversion via Observational Equivalence27 May 2026
- 2026Documentation-Guided Agentic Codebase Migration from C to Rust14 May 2026
- 2025EffiReasonTrans: RL-Optimized Reasoning for Code Translation21 Oct 2025
- 2025MatchFixAgent: Language-Agnostic Autonomous Repository-Level Code Translation Validation and Repair19 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2026Fine-Tuning Qwen3-27B for C-to-Rust Code Translation: A Three-Stage Curriculum of Pretraining, Debugging-Aware SFT, and Task-Specific SFT
- 2025RustEvo^2: An Evolving Benchmark for API Evolution in LLM-based Rust Code Generation
- 2026Towards Reliable C-to-Rust Translation with Rule-Guided Reasoning and Reinforcement Learning
- 2025MRG-Bench: Evaluating and Exploring the Requirements of Context for Repository-Level Code Generation
- 2026ORBIT: Guided Agentic Orchestration for Autonomous C-to-Rust Transpilation
- 2025TransLibEval: Demystify Large Language Models' Capability in Third-party Library-targeted Code Translation
- 2026Mostly Automatic Translation of Language Interpreters from C to Safe Rust ↗
- 2026LLM4C2Rust: Large Language Models for Automated Memory-Safe Code Transpilation ↗