The Great Refactor initiative’s purpose is to convert 100 million lines of critical open-source code into the Rust programming language. Completion of this ambitious project is currently targeted for the year 2030. Spearheaded by Herbie Bradley, a Ph.D. student at the University of Cambridge, this ambitious project seeks to enhance software reliability and security. The U.S. government is expected to support this endeavor by establishing a “Focused Research Organization” with a proposed investment of $100 million.
The new capital projects program started in 2024. The goal is to use some of these new generative AI tools, along with existing code analysis and other technologies, to automate the code translation process to Rust. It’s Rust’s strong design that is powering this conversion. It achieves performance comparable to mature languages such as C and C++, with additional memory safety. Today’s estimates indicate that memory-safety vulnerabilities account for ~70 percent of all software vulnerabilities. This statistic alone speaks to the critical need to adopt better coding practices, to say the least.
Project Overview and Objectives
The Great Refactor is a great place to start for tackling these harmful software vulnerabilities. The goal of the project is to migrate popular open-source libraries to Rust. They say this step would prevent thousands of cyberattacks and protect the nation’s economy from more than $1.5 billion in potential cumulative losses. This effort comes at an especially opportune moment, as malicious cyber activity increasingly threatens software systems across the globe.
Taking the time to think things through is crucial during the conversion process, says Herbie Bradley. In general, he recommended that you be more conservative with the conversion. He suggested that you let AI assist you, but be careful in how you do so. This underscores the danger of blindly using AI tools to automate code translation. For even the most complex AI systems, including generative AIs, producing inaccurate outputs isn’t an anomaly.
The project’s timeline is encouraging. Should just a related team of less than 50 security engineers, AI researchers, and administrators be tasked with that endeavor, enormous progress could be made in just three to five years. The team will focus on the most impactful open-source libraries. Yet, these libraries are the basis for a host of applications and services.
The Role of AI in Code Translation
Having AI seamlessly integrated into the coding process is a fundamentally different era to how we’ve traditionally approached software development. Recent developments of generative AI coding tools have yielded promising outcomes. These tools are able to consistently translate programs fewer than 1,000 lines of code with little guidance. It was estimated that under supervision, programs of no more than 5,000 lines would be translatable.
Even with all these advancements, experts are warning that AI shouldn’t be relied on for coding too much. Jessica Ji, a senior research analyst at Georgetown University’s Center for Security and Emerging Technology, elaborates on this concern: “Assuming everything goes well with the AI translation, the resulting Rust code will need to be maintained and monitored somehow.” She notes that there are far fewer experts in Rust, right now, compared to C and C++. This deficiency will only add to the difficulty of maintaining the translated code going forward.
Despite these successes, Bradley is aware of the limitations of AI. He stresses that we’ll never have a foolproof way to guarantee AI won’t hijack a search for purple shoes with a bunch of other stuff, or else just refuse to understand that that’s the task. That doesn’t mean AI can’t help a lot with translation, it just means human oversight is still going to be needed to guarantee quality code.
Challenges and Future Considerations
As bright as the prospects of the Great Refactor shine, it’s important to acknowledge some hurdles that may lay ahead. Guiding Principles AI tool for translating code may introduce complex maintenance challenges, Josh Triplett. He points out that even the most complex code is usually easier for people to understand and modify with the manual practice of code translation. This introduction poses significant questions regarding the long-term sustainability of AI-generated code and sets the stage for how such technology will shape future software development practices.
Dan Wallach, another computer security expert, stresses the importance of conventional software analysis techniques in addition to new AI techniques. AI is very promising, but we have decades and decades of research into writing software to analyze other software. This outlook highlights the value of blending tried-and-true methods with new cutting-edge technology for best results.
The Great Refactor is a deep dive into one of coding’s hottest trends. The 11-week program blends classical computer science principles with the most innovative AI abilities. Wallach wants to be clear that the ultimate aim of TRACTOR isn’t to just find the best combination. That’s his goal – to distill the most important classical computer science ideas to bear on the new AI frontier, in the most exciting ways. This exploratory nature indicates that there is still a lot to learn about the best ways to marry these two domains.

