menu
techminis

A naukri.com initiative

google-web-stories
Home

>

ML News

>

CRUST-Benc...
source image

Arxiv

2d

read

201

img
dot

Image Credit: Arxiv

CRUST-Bench: A Comprehensive Benchmark for C-to-safe-Rust Transpilation

  • CRUST-Bench is a dataset created for evaluating the transpilation of C code into safe Rust by providing 100 C repositories with Rust interfaces and test cases.
  • The dataset includes interfaces in safe Rust to ensure adherence to idiomatic, memory-safe Rust patterns, and test cases to enforce functional correctness.
  • Evaluation of state-of-the-art large language models on CRUST-Bench reveals that generating safe and idiomatic Rust remains a challenging task for current methods.
  • Improvements on CRUST-Bench are crucial for enhancing transpilation systems that can handle complex scenarios and facilitate the migration of legacy C codebases into memory-safe languages like Rust.

Read Full Article

like

12 Likes

For uninterrupted reading, download the app