738
submitted 3 days ago by SatyrSack@quokk.au to c/fedimemes@feddit.uk
you are viewing a single comment's thread
view the rest of the comments
[-] drmoose@lemmy.world 8 points 2 days ago

No, python can be incredibly fast for IO when scaled properly.

You generally don't run a single process or even program for serving websites. There are task queues, callbacks, microservices etc so the bottleneck is almost never the programming language itself but the tooling and Python's tooling for web is still miles ahead. Thats why big project ship more Django than Rust and all AI training is running on Python not Rust etc.

Don't get me wrong Rust is a brilliant language but Python can often be better.

Finally you can outsource high performance tasks to Rust or C from within Python rather easily these days.

[-] IndustryStandard@lemmy.world 1 points 2 days ago

I thought the biggest problem for Python would be the GIL as it cannot share memory between processes and therefore needs to do use a database or other tool to share between them. Though in hindsight most web related services probably use databases to read and write data and this do not work out of shared process memory.

[-] drmoose@lemmy.world 2 points 2 days ago

Threading from a single process is just a bad scaling strategy anyway so GIL is rarely an issue so you're right most big web stuff does indeed use a database/queue/cache layer for orchestrating multiple processes.

this post was submitted on 03 Dec 2025
738 points (100.0% liked)

Fediverse memes

2309 readers
75 users here now

Memes about the Fediverse.

Rules

General
  1. Be respectful
  2. Post on topic
  3. No bigotry or hate speech
  4. Memes should not be personal attacks towards other users
Specific
  1. We are not YPTB. If you have a problem with the way an instance or community is run, then take it up over at !yepowertrippinbastards@lemmy.dbzer0.com.

Elsewhere in the Fediverse

Other relevant communities:

founded 1 year ago
MODERATORS