this post was submitted on 10 Aug 2024
24 points (100.0% liked)

Python

148 readers
1 users here now

A community for discussing the Python programming language.

https://www.python.org/

founded 1 year ago
MODERATORS
 

Python will get true threading support with the removal of the GIL (Global Interpreter Lock) in 3.13 (now available in the beta as an experimental option).

The GIL has long crippled Python's threading capabilities, but will be getting true parallelism with the implementation of PEP 703.

What are you gonna do with real threads? ๐Ÿค”

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 3 months ago

Yeah, there is overhead. It's not so critical for Python, because I am using it for scripting and prototyping, and when I need performance, I rewrite critical code parts in C++.