Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

Rustacean Station

Rustacean Station artwork

Migrating C to Rust with Jonas Kruckenberg

Oct 30, 202630 minAudio
ShareXLinkedInFacebookWhatsAppEmail

Allen Wyma talks with Jonas Kruckenberg from Mainmatter about migrating production C and C++ codebases to Rust and the C to Rust Migration Book. They discuss incremental migration, refactoring legacy code, designing safe FFI boundaries, and testing undefined behavior. 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 Discord: Rustacean Station Github: @rustacean-station Email: hello@rustacean-station.org Timestamps [@00:00] - Intro [@00:10] - Welcome and introducing Jonas Kruckenberg [@01:52] - From JavaScript and Tauri to Rust, k23, and Mainmatter [@04:41] - Incremental migration versus a complete rewrite [@07:51] - The C to Rust Migration Book [@13:11] - Why starting with leaf modules can fail [@15:31] - Refactoring C before rewriting it in Rust [@17:26] - Building safe Rust interfaces over C linked lists [@22:06] - Undefined behavior and legacy FFI code [@23:29] - Porting strcmp calls with null pointers [@25:24] - Testing tools, assertions, and the FFI trust boundary [@27:39] - Finding the book and getting in touch [@28:25] - Memory safety and the future of Rust Referenced resources The C to Rust Migration Book Tauri k23 Credits Intro Theme: Aerocity Audio Editing: Plangora Hosting Infrastructure: Jon Gjengset Show Notes: Plangora Hosts: Allen Wyma

Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

Hosts and Guests

Nobody is credited on this episode yet.

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. Embedded Software with Rust with David Cabanis

    Nov 22, 20261 hr 8 minAudio

    Allen Wyma talks with David Cabanis, author of Embedded Software with Rust, about bare-metal Rust, peripheral ownership, no_std applications, and moving existing C firmware toward Rust. Contributing to Rustacean Station...

    Credit the people on this episode

  2. Hopp with Costa Alexoglou and Iason Paraskevopoulos

    Feb 27, 202643 minAudio

    Allen Wyma talks with Costa Alexoglou and Iason Paraskevopoulos, creators of Hopp, a tool that enables remote pair programming sessions. Hopp is built with Tauri and Rust, and is open source. Contributing to Rustacean...

    Credit the people on this episode

  3. What's New in the Rust 2024 Edition

    Jan 23, 20261 hr 14 minAudio

    Jon and Ben discuss the highlights of the Rust 2024 Edition. 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...

    Credit the people on this episode

  4. What's New in Rust 1.85 through 1.87

    Jan 22, 20261 hr 14 minAudio

    Jon and Ben discuss the highlights of the 1.85 through 1.88 releases of 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...

    Credit the people on this episode

  5. What's New in Rust 1.88 through 1.90

    Jan 22, 20261 hr 7 minAudio

    Jon and Ben discuss the highlights of the 1.88 through 1.90 releases of 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...

    Credit the people on this episode