this post was submitted on 24 Apr 2025
64 points (94.4% liked)

Python

7067 readers
14 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

πŸ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 11 points 1 week ago* (last edited 1 week ago) (10 children)

I don't know about others ... but I'm not using Python for execution speed.

Typically the biggest problem in a program is not 100 million calls of len(x) == 0. If it was, the interpreter could just translate that expression during parsing.

[–] Reptorian 1 points 1 week ago (1 children)

This. I rarely boot up Python for the tasks I need to do, and if they are, they are one of the following:

  • Assistant code for other coding language
  • Throwaway script
  • Prototype before using a faster language
[–] logging_strict 2 points 1 week ago

Assuming an equivalent package is produced, what's the maintenance cost (factoring in coder availability) difference between the Python vs faster language implementations?

^^ therein lies the rub

Reminds of the expression, premature optimization is the root of all evil

if not swimming in funding, might be a darwinic move to choose the faster language and have to code everything yourself from scratch

load more comments (8 replies)