code-translation

Tag

Cards List
#code-translation

Cpp2Rust: Automatic Translation of C++ to Safe Rust

Lobsters Hottest · 2026-07-10 Cached

Cpp2Rust is an open-source tool that automatically translates C++ code to safe Rust using clang's AST and a runtime library, enabling safe memory-safe conversion with support for both safe and unsafe output modes.

0 favorites 0 likes
#code-translation

Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation

arXiv cs.CL · 2026-06-17 Cached

This paper introduces SwiftTrans, a framework that addresses the overlooked issue of runtime efficiency in LLM-based code translation, achieving consistent improvements in both correctness and efficiency across benchmarks.

0 favorites 0 likes
#code-translation

Improving Code Translation with Syntax-Guided and Semantic-aware Preference Optimization

arXiv cs.AI · 2026-05-14 Cached

This paper proposes CTO, a method that improves code translation by combining syntax-guided and semantic-aware preference optimization through contrastive learning and direct preference optimization, achieving significant improvements over existing baselines in C++, Java, and Python translations.

0 favorites 0 likes
← Back to home

Submit Feedback