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

https://lemmy.world/post/3878485

Understanding Immortal Objects in Python 3.12: A Deep Dive into Python Internals - Lemmy.world

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

Great language for machine learning and machine learning. Useless for the rest of use cases
Breaking News: Python Sets New Record in Slowness Competition! Participants in awe of how Python lags behind C++, Java, C#, Ruby, 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! 🐌😉

Python isn’t used for the problem space of speed… Try using PHP for data science visualisation. Need a library to solve a problem? Ruby probably doesn’t have it. Need to write a quick script to transform some data, better spend a more time than doing it manually as you accidentally allocate memory incorrectly in C++. Want to scrape a website for some text? Enjoy tonnes of boilerplate and 30 lines of Java vs the three lines of Python.

Python isn’t about speed, it’s not even about being the best at anything, it’s about being good enough at pretty much any task your average coder needs to pull off in as short a time as possible, all with a single language. Plus, it’s way to bounce to another language from Python should you need to (for instance it’s much easier to write a speed-critical component in Go vs the entire application stack in Go - Python has a much lower cognitive load and developers can easily extend or refactor thanks to Pythonic code).

Thinking speed is a ding on Python shows a gross lack of knowledge of Python and its purpose.

Tell me you are abusing chat gpt without telling me you are abusing chat gpt
What are you even on about? I’ve been writing code likely long before you were even born. And by your post history of drugmemes and suggesting Python scripts to people, I’m concerned you don’t know what you’re on about either.
Thank you for visiting my profile! Oh and I was born before python was created lol. Have fun using chat gpt
Incredible, DefinitelyNotBirds coming in with the unprecedented triple down! Unsatisfied with being proven wrong once and being made a fool of once, DefinitelyNotBirds is now making a fool of themselves in order to even the score. Amazing stuff, folks. Tune in for the next round of methposting and see what happens next!
One little detail you missing, I’m not wrong at all lol

Ah, I see you’ve discovered the secret loophole to being infallible: simply declare it with a “lol” at the end! 🤣

This witty retort actually brought to you by ChatGPT (I made an account just for you).

Tell me you have no idea what programming languages are used for without telling me you have no idea what programming languages are used for.

Too many negative words for chatgpt, imo. “isn’t”, “not”, etc, chatgpt is usually positive and friendly to a fault.

Maybe you could provide a prompt that would output something substantially similar to what they wrote?

I’m not not made of meat and don’t never not aww screw if I’m out of steam but you get the picture. I’m real lol.
That's rich coming from you when your first message was written by ChatGPT.

Not everyone with an attention span longer than yours is ChatGPT.

Assuming you’ve even read THIS far, that comment lacks all of the common gpt hallmarks.

Try training a deep learning model on your GPU with some other programming language.
that’s like making a snarky comment about how shovels are terrible at hitting nails
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!
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!!!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++.