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

TechNews

4136 readers
1 users here now

Aggregated tech news.

founded 1 year ago
MODERATORS
 

[ comments | sourced from HackerNews ]

you are viewing a single comment's thread
view the rest of the comments
[–] [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] 2 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago

Thanks for the link, that's a great read.