May 12, 2026
CheatsheetPython is great, but at some point, its performance hits the wall. When this happens, we can rewrite the computationally intensive part of our code to Rust. This series shows how to confidently rewrite Python code to Rust with the power of AI.
May 12, 2026
This article is part 4 in the series that shows how to confidently rewrite Python code to Rust with the power of AI. In this part, we use property-based testing to find and fix a subtle bug that was introduced during the rewrite.
May 5, 2026
This article is part 3 in the series that shows how to confidently rewrite Python code to Rust with the power of AI. In this part, we use the tests provided in parts 1 and 2 and an AI agent to implement a Rust version of the Log parser.
April 28, 2026
This article is part 2 in the series that shows how to confidently rewrite Python code to Rust with the power of AI. In this part, we use tests from part 1 and rewrite them to a contract test pattern to ensure we'll be able to test Python and Rust implementations with the same set of tests.
April 21, 2026
Python is great, but at some point, its performance hits the wall. When this happens, we can rewrite the computationally intensive part of our code to Rust. This article is part 1 in the series that shows how to confidently rewrite Python code to Rust with the power of AI.