3

[ comments | sourced from HackerNews ]

top 3 comments
sorted by: hot top controversial new old
[-] schmieroslav@discuss.tchncs.de 1 points 1 year ago

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?

[-] maggio@discuss.tchncs.de 2 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

[-] schmieroslav@discuss.tchncs.de 1 points 1 year ago

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

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

TechNews

4123 readers
1 users here now

Aggregated tech news.

founded 1 year ago
MODERATORS