gpt4 book ai didi

raku - Raku是否具有全局解释器锁(GIL)?

转载 作者:行者123 更新时间:2023-12-04 01:03:44 24 4
gpt4 key购买 nike

Wikipedia文章Global interpreter lock指示Raku具有全局解释器锁。

这与Curtis Poe's responseAre any companies planning to use Perl 6?矛盾。

我怀疑Wikipedia的文章是错误的-但也许比这更复杂。有人可以解释吗?

最佳答案

通过一些谷歌搜索,我发现一些其他证据表明Perl 6确实没有GIL:

正如Perl的创建者本人在an interview中所述:


[...]对于已经很精通的开发人员,他们将看到Perl 6解决了当前可用的动态语言特有的大多数问题。我们了解词法和动态作用域。我们在编译时检测到大多数错别字。我们没有全局解释器锁。


资料来源: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/


我不知道为什么,但是在Wikipedia文章中添加了Perl 6 two weeks ago,也许还需要还原。

关于raku - Raku是否具有全局解释器锁(GIL)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36972569/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com