Rustacean Station

C2Rust with Stephen Crane

Freitag, 16. Dezember 2022 · 56 min

MP3

Shownotes

Allen Wyma talks with Stephen Crane (immunant.com/authors/stephen-crane), CTO of Immunant (immunant.com), who is working on C2Rust (github.com/immunant/c2rust), a library that transpiles C99-compliant C code into unsafe Rust.

Contributing to Rustacean Station

Rustacean Station is a community project; get in touch with us if you’d like to suggest an idea for an episode or offer your services as a host or audio editor!

• Twitter: @rustaceanfm (twitter.com/rustaceanfm)

• Discord: Rustacean Station (discord.gg/cHc3Gyc)

• Github: @rustacean-station (github.com/rustacean-station)

• Email: hello@rustacean-station.org

Timestamps

• [@00:00] - C2Rust Introduction

• [@01:50] - How C2Rust works and its goal as a transpiler

• [@05:49] - Transpilers vs compilers

• [@12:30] - Unstructured control flow vs structured control flow

• [@16:32] - The process of transforming C to Rust projects

• [@19:15] - Parsing C code correctly

• [@22:13] - The importance of compiler flags on interpreting C Code

• [@28:45] - C++ vs C

• [@38:50] - When you should you look at using C2Rust

• [@45:04] - The best way to run your tests in Rust

• [@48:15] - Projects that are currently using C2Rust

• [@50:29] - Improving the usability and safety of the output of rust code

• [@53:55] - Parting thoughts

Credits

Intro Theme: twitter.com/AerocityMusic

Audio Editing: Plangora (twitter.com/plangora)

Hosting Infrastructure: Jon Gjengset (twitter.com/jonhoo)

Show Notes: Plangora (twitter.com/plangora)

Hosts: Allen Wyma (twitter.com/allenwyma)

0:00 / 0:00