Hacker News new | ask | show | jobs
by askvictor 3247 days ago
There is native support for threads, it's just that they don't run concurrently.
3 comments

At this point the word is so far removed from the meaning in this thread you might as well say a haberdasher supports threads.
There are valid reasons for programming with threads with only a single CPU (indeed when I learnedb thread programming in the 90s pretty much only single core cpus were available). For instance, IO blocking.
They do run in parallel, so long as all but one are running low-level library code which has released the GIL, but you can't call back into the runtime without grabbing the GIL.
While we're being pedantic, they do run concurrently (for example, dispatching a dozen concurrent HTTP requests), they just the GIL prevents most CPU work from executing in parallel.