Re:Why I’m Learning Perl 6
by askvictor on Wednesday July 26, 2017 @08:45AM
(#14855697)
There is native support for threads, it's just that they don't run concurrently.
[ Parent
| on HN ]
Re:Why I’m Learning Perl 6
by nothrabannosir on Wednesday July 26, 2017 @09:53AM
(#14856171)
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.
Re:Why I’m Learning Perl 6
by dragonwriter on Wednesday July 26, 2017 @12:46PM
(#14857836)
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.