Abstract
In this first webinar, we’ll talk with Pietro Lorefice about rewriting a small component from C to Rust. We’ll particularly address the issues of the old implementation and the advantages of the new one.
We’ll reveal how we rewrote it in Rust after a few days of looking for a strange bug in a C code of about 2000 lines, which required some “imagination” with the compiler options. All in one afternoon. Lastly, we’ll see how we solved the problem, gained ergonomics in writing tests, and also saved a certain percentage of CPU load by doing it like this.