The Rustacean Station Podcast

C2Rust with Stephen Crane

Posted Fri, 16 Dec 2022 16:51:00 +0000

Allen Wyma talks with Stephen Crane, CTO of Immunant, who is working on 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!

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: Aerocity

Audio Editing: Plangora

Hosting Infrastructure: Jon Gjengset

Show Notes: Plangora

Hosts: Allen Wyma