Re: Teleplace Cog VMs are now available
Posted by Levente Uzonyi-2 on Jun 21, 2010; 12:46pm
URL: https://forum.world.st/Teleplace-Cog-VMs-are-now-available-tp2261896p2262564.html
On Sun, 20 Jun 2010, Eliot Miranda wrote:
> Hi All,
>
>
> it gives me great pleasure to announce that the Teleplace Cog VMs are now
> available. Huge thanks to all at Teleplace who have given me the
This is fantastic, thanks.
<snip>
> attempt to port it, e.g. to ARM, PowerPC and x86-64. The Cogit (excuse the
> pun) is so named because it is both an interpreter and a JIT, choosing not
> to generate machine code for large methods, interpreting them instead, the
> default policy being not to JIT methods with more than 60 literals.
I think it would be better to use an adaptive policy later. Something
like: all methods will be inlined if they are evaluated enough times. Say
a method with 10 literals will be inlined if it's evaluated 100 times. A
method with 100 literals will need 10000 runs, etc. (note: i just made up
the numbers).
Levente