Skip to content

Lost Performance: Analyzing and Fixing C-to-Rust Translation Regressions

Save

In brief

  1. 20 C projects translated to Rust show slowdowns up to 62% on 12 of 19 operations.
  2. Nine recurring causes explain losses: residual work, missed optimizations, and lingering C patterns.
  3. An LLM tool automatically identifies and fixes 40 of 41 operations, 18 of which outperform the original C.

A study finds Rust projects translated from C suffer significant performance losses, up to 62%. Nine recurring causes are identified, and an LLM-based tool proposes targeted optimizations to fix them.

This summary gives you the essentials. The full article, its figures and quotes are on cs.AI updates on arXiv.org.

Read the original article

AI-generated summary of the source, checked by rules. Report an error

Cookies and privacy

BrefAI only uses strictly necessary storage (language, theme, this choice). With your consent, we also measure traffic anonymously, without cookies, to improve the site. Learn more