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

You are viewing a single thread.
View all comments View context
59 points
*

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 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 easier 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).

The amount of Python libraries that are actually written in C is huge and Python makes no attempts to suggest it’s more performant than something like C - why do you think Python bindings even exist?

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

permalink
report
parent
reply
-61 points
Deleted by creator
permalink
report
parent
reply
23 points

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.

permalink
report
parent
reply
-52 points
Deleted by creator
permalink
report
parent
reply
15 points

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.

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply
6 points

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?

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply
1 point

That’s rich coming from you when your first message was written by ChatGPT.

permalink
report
parent
reply
5 points

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.

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply

Technology

!technology@lemmy.world

Create post

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


Community stats

  • 18K

    Monthly active users

  • 11K

    Posts

  • 505K

    Comments