A fortnight with Codex

A Linux Kernel Enablement team has to produce at least one Linux Kernel. It turns out our team needs to produce 6. The two variables are page size and distribution. We support 4K, 16K, and 64 K page sizeds for internal testing, and people need to test both Fedora and Ubuntu based builds. When I started this project, we only supported Fedora; the Ubuntu support was one of the driving factors.

This project is called Ampack. I can thank Don Becker for showing me this style of naming back at Penguin.

I spent a good portion of last year reworking our build system from a series of bash scripts into a Python based system using plumbum and a lot of system utilities. Meanwhile, my native coding interest has been shifting to Rust, as we can use it in the Linux Kernel, in Qemu, and a bunch of other places. I was also getting frustrated with the lack of type support in Python…my code could be annotated with MyPy compliant types, but the same was not true for all the libraries I wanted to use.

So, as for the past couple weeks, I have been running a long-ish coding experiment: what would it mean if I used our officially blessed codex deployment to aid the conversion to Rust, and to continue development that way.

Continue reading →