EVE Online: The Move to Python 3 Begins!

Simon Willison's Weblog Simon Willison's Weblog

https://www.eveonline.com/news/view/the-move-to-python-3-begins">EVE Online: The Move to Python 3 Begins!


EVE Online has been one of the most interesting case studies in Python at scale for over twenty years now.


They've been running on https://github.com/stackless-dev/stackless/wiki/">Stackless Python since their launch in 2003, and their last major upgrade was 16 years ago, to Stackless Python 2.7 https://www.eveonline.com/news/view/stackless-python-2.7">in 2010.


They've upgrade to Python 3 will start using the https://python-future.org/futurize.html">futurize script against 2.4 million lines of code, followed by careful manual review of the ~20,000 places where Python 2 and 3 behavior differ - for example 1 / 2 is 0 in Python 2 but is 0.5 in Python 3.


There's nothing in this announcement about how they plan to replace Stackless, but at their conference last year they presented https://youtu.be/-x299qHLQs0">Scheduling in Carbon: Leaving Stackless Python Behind describing how they replaced Stackless in the Carbon engine for their more recent game EVE Frontier, using their (now open source) https://github.com/carbonengine/scheduler">carbonengine/scheduler library.

Via https://lobste.rs/s/e1oalq/move_python_3_begins">Lobster.rs




Tags: https://simonwillison.net/tags/eve-online">eve-online, https://simonwillison.net/tags/migrations">migrations, https://simonwillison.net/tags/python">python, https://simonwillison.net/tags/python3">python3, https://simonwillison.net/tags/stackless">stackless

Read full article at Simon Willison's Weblog →