Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

C2Rust: Migrating Legacy Code to Rust - RustConf 2018

Rust via YouTube

Overview

Explore a comprehensive conference talk from RustConf 2018 that delves into C2Rust, a set of tools designed to facilitate the migration of legacy code to Rust. Learn about the three key components: a transpiler that generates structurally equivalent Rust code from C, a dynamic analysis tool for comparing C and Rust code execution, and a refactoring tool to help idiomize transpiled output. Discover how these tools aim to automate many manual steps in the C to Rust migration process, while focusing on detecting discrepancies during gradual code rewriting. Gain insights into the project's goals, limitations, and practical applications through demonstrations, code examples, and additional resources. Understand the potential impact of C2Rust on modernizing existing systems code and improving safety in software development.

Syllabus

Intro
Legal Disclaimer
Introduction
Team
Why C2Rust
Why Rust
The Flow
Goals
C2Rust
Invoke the compiler
Limitations
Web Demo
Docker Vagrant
Build Translator
Transpiler
Rust Output
CrossCheck Tool
CrossCheck Example
CrossCheck Options
Crosschecking
Logbased Crosschecking
Pie in the Sky
Work with us
Github

Taught by

Rust

Reviews

Start your review of C2Rust: Migrating Legacy Code to Rust - RustConf 2018

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.