Zum Inhalt springen

Migrating C to Rust with Jonas Kruckenberg

30.10.2026 · 30 Min.

Shownotes

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!

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 Credits

Intro Theme: Aerocity

Audio Editing: Plangora

Hosting Infrastructure: Jon Gjengset

Show Notes: Plangora

Hosts: Allen Wyma

Alle Folgen von Rustacean Station

Einstellungen

Darstellung

Sprache

Bestimmt, welche Sender dir auf der Startseite zuerst gezeigt werden.

Verlauf

Zuletzt gehörte Sender und Folgen und deine letzten Suchen liegen nur in diesem Browser.

Hinweise

Ein kurzer Hinweis, wenn ein Podcast, dem du folgst, eine neue Folge hat. Einzelne Podcasts stellst du über die Glocke auf ihrer Seite ab.

Konto

Favoriten speichern – in der App und auf der Website.

Tastenkürzel

/
Suche öffnen
Leertaste
Abspielen oder anhalten
← →
Im Player: 15 s zurück, 30 s vor (Folgen) · im Regal: nächste Kachel
↑ ↓
Im Regal: Ziel innerhalb der Kachel
Pos1 / Ende
Im Regal: erste bzw. letzte Kachel
Esc
Fenster oder Menü schließen
?
Diese Übersicht
Läuft gerade

Zur Senderseite

Als Nächstes

    Folgen mit „Als Nächstes“ vormerken – sie laufen nach der aktuellen Folge.