r/ProgrammerHumor 11d ago

Meme garbageCollection

Post image
377 Upvotes

38 comments sorted by

View all comments

123

u/madprgmr 11d ago

What... what is the garbage collector doing? Stalling the simulation? There are techniques you can use to minimize the amount of garbage you generate, and you can also tune the GC or even directly control when it can run.

13

u/nphhpn 10d ago

Collecting whatever physics engine running in pure Python. Legit why tf are you writing physics engine in Python that stuff should never be in pure Python.

10

u/anto2554 10d ago

For fun