Talk:CalmoSoft primes: Difference between revisions

Content added Content deleted
(Reply)
(Replied to Tigerofdarkness.)
Line 27: Line 27:
::::You are right - I've added a fixed version. - the sum is now 72618848632313, which agrees with the Phix sample.
::::You are right - I've added a fixed version. - the sum is now 72618848632313, which agrees with the Phix sample.
::::Sadly takes somewhat longer than the Wren sample - does the Wren interpreter us a JIT compiler ? --[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 13:26, 9 April 2023 (UTC)
::::Sadly takes somewhat longer than the Wren sample - does the Wren interpreter us a JIT compiler ? --[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 13:26, 9 April 2023 (UTC)

:::::No, there's a single pass compiler which parses the Wren source directly to bytecode (no intermediate AST) which the VM then interprets. A number of devices are used to make Wren faster though I can't see JIT compilation happening as it would make the VM too complicated. --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 14:03, 9 April 2023 (UTC)