r/programming • • Aug 25 '26

EVE Online: The Move to Python 3 Begins!

https://www.eveonline.com/news/view/the-move-to-python-3-begins
802 Upvotes

290 comments sorted by

View all comments

Show parent comment

56

u/zzkj Aug 25 '26

I apologise for being lazy but which release brought the new GC?

92

u/output_broadcast Aug 25 '26

3.14 but it has since been removed due to high memory consumption.

83

u/skjall Aug 25 '26

It's an opt-in flag that's so bad 3.15 is removing it, provided we're talking about the same thing. It will be back, but it certainly needed longer in the oven.

38

u/output_broadcast Aug 25 '26 edited Aug 25 '26

I must've misread it then. I thought 3.14.5 was the one that removed it.

51

u/thomas_m_k Aug 25 '26

You are correct. But it's of course also removed from 3.15.

33

u/AndreasVesalius Aug 25 '26

I used to remove garbage collection

I mean, I still do. But I also used to

10

u/ChezMere Aug 25 '26

So... are they upgrading to Python 3.14.4 despite the issues with it then?

28

u/WJMazepas Aug 25 '26

The issues are high memory comsumption and people are working to improve this for a future 3.16 release IIRC

They can start working on 3.14, use it knowing about the high memory and then upgrade to 3.16 for lower memory usage

4

u/burtmacklin15 Aug 25 '26

Is that because newer versions of Python 3 generally don't necessarily ruin the syntax of code written under older versions of Python 3?

Like newer releases are mainly for improving performance, adding features, and increasing efficiency, right?

3

u/tecedu Aug 25 '26

Kinda, newer versions prefer not to break things but things that you werent doing in older versions become non preferrable like things like typing or T-strings.

And also the move to free threaded has basically made 60% of the libraries incompatible, but since they are starting from 3.14 it wouldnt matter much.

Plus nowadays with py03 and rust, you can write libraries in rust and just import in python

1

u/RogiervandenBerg Sep 03 '26

An update of 2 minor versions should not bring too many issues with it

16

u/EC36339 Aug 25 '26

Maybe it wasn't actually collecting garbage.

Might explain why it was faster.

Just trying to help here.

1

u/zzkj Aug 25 '26

Thanks!

12

u/EC36339 Aug 25 '26

Wasn't the problem that Stackless was supposed to solve the GIL?

Or is Stackless about coroutines, which you can do in vanilla Python, in a clumsy way, with yield... (a generator is basically a coroutine for poor people)

EDIT: Sorry, I forgot this is r/programming, not r/eve.

10

u/Brian Aug 25 '26

Generators can implement full coroutines, ever since they were extended back in python 2.5 to support sending values in as well as just generating. Indeed, that's basically how python's async is implemented: an async function is just a coroutine yielding awaitable objects back to the loop.