ResearchResearch paperEfficiency & Inference1 source · Oct 16, 2026

Where Does the Performance Go? Understanding and Recovering Performance Regressions in C-to-Rust Translation

Rust is increasingly adopted as a memory-safe successor to C, and transpilers such as \crust{} can migrate entire C projects while preserving their behavior.

Key points

  • Preserving behavior, however, does not guarantee preserving performance.
  • We study this gap on 20 real-world C projects and their \crust{} translations.
  • By comparing execution-cost profiles, optimized LLVM IR, and compiler optimization remarks across each C--Rust pair, we trace these slowdowns to nine recurring performance issues, spanning residual runtime work, missed compiler optimizations, and C-style source patterns, and derive an optimization direction for each.
  • We then present \ourtool{}, an LLM-based approach that encodes these issues as reusable optimization rules to recover the performance of translated Rust. \ourtool{} profiles each project to locate hot functions and matches them against rule-specific patterns.

Sources (1)

Extractive summary: sentences quoted from the sources.

Before this

  1. Oct 16, 2026Scaling Indic Pretraining: 2.8 Trillion Tokens and an Open Data Generation Pipeline
  2. Oct 16, 2026OR-License: Evaluating LLM Agents as Real-World Operations Research Practitioners
  3. Oct 15, 2026SAFETYEDIT: Sparse Internal Targets with Prompt-Wide Control for LLM Jailbreak Backdoors
  4. Oct 15, 2026Granite Switch 4.1: Chat, Decisions, and Speech from One Endpoint
  5. Oct 15, 2026NVIDIA Nemotron 3.5 Super VL Powers Specialized Agents with Multimodal Reasoning
  6. Oct 15, 2026GlobeBench: Evaluating Text-Based World Model Capabilities for Scalable Environment Simulations

Related