this post was submitted on 28 Jul 2023
1 points (100.0% liked)

TechNews

4143 readers
1 users here now

Aggregated tech news.

founded 1 year ago
MODERATORS
 

[ comments | sourced from HackerNews ]

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 1 points 1 year ago (1 children)

I don't quite grasp the immediate consequences of this - does this mean that I can use threads instead of subpeocesses if I want to parallelize my program beyond one core?

[โ€“] [email protected] 1 points 1 year ago

I also don't know much about this subject, but I found this introduction quite helpful: What Is the Python Global Interpreter Lock (GIL)?

Further down it does mention that currently you would use multiple processes (each one having its ownn GIL) to do this, but I guess this would allow you to use threads instead, if I understand it correctly