Understanding Immortal Objects in Python 3.12: A Deep Dive into Python Internals

abhi9u@lemmy.world to Technology@lemmy.world – 128 points –
Understanding Immortal Objects in Python 3.12: A Deep Dive into Python Internals
codeconfessions.substack.com

A detailed examination of Python 3.12's internal changes featuring the concept of 'immortal' objects, for performance enhancements

14

You are viewing a single comment

!Breaking News: Python Sets New Record in Slowness Competition! Participants in awe of how Python lags behind C++, Java, C#, Ruby, Go and PHP in the race to the finish line. Stay tuned as we watch Python take its leisurely stroll in the world of programming speed!!!

Participants in awe of how Python lags behind C++, Java, C#, Ruby, Go and PHP

Comparing Python to compiled languages is like C++ is pretty unreasonable.

You will appreciate this news then since it's an optimization that'll make it faster.

It's python, it's supposed to be slow.

Assembly runs the hardware, c kernel runs the assembly, c++ runs the libraries on the kernel, python runs rhe c++, the human runs the python.

Used to write all my uis in c++, but the turnaround time for python is just incredible, write the business logic there, if it turns out you're using it to much lower it to c++.