Recomp #01
Motivation
Over the past couple of weeks, a lot has lined up to converge on this project idea. GTA VI came out on console, and within two days people had managed some early recompilations onto PC using some Claude magic.
Alongside this, the US has experienced a record number of system outages across all of its infrastructure, showing that the current systems just aren't up to standard in the modern age. I found myself falling down both rabbit holes and, in learning what recompilation actually is, I realised that it probably has a much wider application than just playing a game on PC early at higher FPS.
Our critical infrastructure is OLD. The US air traffic control system still relies on hardware from the 80s. While AI and the new cyber threats that come with it play a factor in all of these outages, I'd be willing to bet that just migrating to more maintainable architectures might fix a whole lot of our issues.
The problem, of course, is how you migrate decades-old software without introducing new faults. So, I decided I want to try and build something that could help with this process.
At the same time, I just happened to be teaching myself Rust, and this seems like a perfectly suited project. I've recently done some work in SPARK Ada through a university module, which introduced me to formal verification. I plan to use some of the language's principles to mitigate risks associated with migration of this scale.
I'm starting small, attempting to create a static recompilation framework for PS1 games. I picked up an original copy of Crash Bandicoot 1996 this morning, but my long-term goal is to combine binary translation, reverse engineering and formal verification to allow for the safe migration of legacy systems.
I have no idea how far this project will go, but I'll be documenting the process here. I'm making a point of learning all of these concepts organically, avoiding the trap of having Codex write all of this in a week while I have no idea what's going on. If nothing else, by the time humans no longer write a line of code themselves, hopefully I'll at least know what I'm talking about. There'll be some questionable programming decisions along the way, but I think it'll be worth it.
- Jack