Raku 有全局解释器锁(GIL)吗?
Does Raku have a global interpreter lock (GIL)?
维基百科文章Global interpreter lock表明Raku有全局解释器锁。
这与Curtis Poe's response to Are any companies planning to use Perl 6?相矛盾。
我怀疑维基百科的文章是错误的 - 但也许它比那更复杂。有人可以解释一下吗?
通过谷歌搜索,我发现了一些额外的证据表明 Perl 6 确实没有 GIL:
正如 Perl 的创造者本人在 an interview 中所说:
[...] For developers who are already sophisticated, they'll see that most of the problems endemic to the currently available dynamic languages are solved in Perl 6. We understand lexical and dynamic scoping. We detect most typos at compile time. We don't have a global interpreter lock.
来源:Perl creator Larry Wall: Rethought version 6 due this year
更多证据:
- https://news.ycombinator.com/item?id=10640765
- https://www.reddit.com/r/perl6/comments/3goq1a/not_having_gil_truly_multithreading/
- https://www.reddit.com/r/perl/comments/337h4c/should_i_also_learn_perl6_knowing_ruby_and_python/
我不知道为什么,但是维基百科文章中添加 Perl 6 已经完成 two weeks ago,也许它需要恢复。
维基百科文章Global interpreter lock表明Raku有全局解释器锁。
这与Curtis Poe's response to Are any companies planning to use Perl 6?相矛盾。
我怀疑维基百科的文章是错误的 - 但也许它比那更复杂。有人可以解释一下吗?
通过谷歌搜索,我发现了一些额外的证据表明 Perl 6 确实没有 GIL:
正如 Perl 的创造者本人在 an interview 中所说:
[...] For developers who are already sophisticated, they'll see that most of the problems endemic to the currently available dynamic languages are solved in Perl 6. We understand lexical and dynamic scoping. We detect most typos at compile time. We don't have a global interpreter lock.
来源:Perl creator Larry Wall: Rethought version 6 due this year
更多证据:
- https://news.ycombinator.com/item?id=10640765
- https://www.reddit.com/r/perl6/comments/3goq1a/not_having_gil_truly_multithreading/
- https://www.reddit.com/r/perl/comments/337h4c/should_i_also_learn_perl6_knowing_ruby_and_python/
我不知道为什么,但是维基百科文章中添加 Perl 6 已经完成 two weeks ago,也许它需要恢复。