DMTN-349
Experimenting with Porting a Large C Library to Rust using Coding Agents#
Abstract
With the rapid rise in abilities of Large Language Model Coding Agents such as Codex and Claude Code over the course of 2026, it became apparent that some software tasks which had seemed impossible to implement were now possible to contemplate. In this document I will discuss one such task involving the conversion of a 250,000 lines of a C library that has been in development for 30 years to Rust. The motivation for choosing Rust is the much stronger memory management model and additional type safety inherent in the language, coupled with the more modern tooling infrastructure available and the potential to support technologies such as WebAssembly.
The main outcome from this work is that your success in porting any code to a different language using agents depends entirely on the test coverage of your original source code.
Add content here#
See the Documenteer documentation for tips on how to write and configure your new technote.