EVE Online: The Move to Python 3 Begins!

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

EVE Online's migration from Python 2 to Python 3 offers a rare, detailed playbook for teams maintaining enormous legacy codebases.

Read this as

EVE Online, a sci-fi game launched in 2003, is finally upgrading its server software from Python 2, an old version of the Python programming language, to the modern Python 3. Its last major upgrade happened 16 years ago, in 2010. The team will use an automated tool called futurize to convert 2.4 million lines of code, then manually review roughly 20,000 spots where the two versions behave differently. No completion date is given.

CCP Games has begun moving EVE Online, one of the largest long-running Python codebases in production, from Stackless Python 2.7 to Python 3. The work targets 2.4 million lines and about 20,000 known behavior differences requiring manual review, so this is a multi-year risk and cost commitment, not a quick fix. The announcement omits any timeline or how Stackless itself will be replaced.

EVE Online has run on Stackless Python since 2003, last upgrading to Stackless Python 2.7 in 2010. The Python 3 migration starts with the futurize script across 2.4 million lines, followed by manual review of ~20,000 Python 2/3 behavioral differences (e.g. 1 / 2 returns 0 vs 0.5). No plan for replacing Stackless is announced, though last year's conference talk described the open source carbonengine/scheduler library that replaced Stackless in EVE Frontier's Carbon engine.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

EVE Online Stackless Python Python 3 futurize EVE Frontier Carbon

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading