Login  Register

Re: new Cog VMs available

Posted by S Krish on Feb 07, 2011; 11:24am
URL: https://forum.world.st/new-Cog-VMs-available-tp3263525p3263955.html

StackToRegisterMappingCogit maps values to machine registers when generating code,
while stack-based one uses stack for everything.

Guess that is what is meant.. 

Register based vms like Parrot will offer more info... As to motivation for this mapping



On Feb 7, 2011, at 2:53 PM, Igor Stasenko <[hidden email]> wrote:

On 7 February 2011 09:12, Francois Stephany <[hidden email]> wrote:
Hi Eliot,

Probably a stupid question but what's the difference between
SimpleStackBasedCogit and c?

SimpleStackBasedCogit maps values to machine registers when generating code,
while stack-based one uses stack for everything.

    new Cog VMs are available, SimpleStackBasedCogit @
http://www.mirandabanda.org/files/Cog/VM/VM.r2359/ and
StackToRegisterMappingCogit @
http://www.mirandabanda.org/files/Cog/VM/VM.r2361.  I think the new code
generator is ready for prime time now.  I fixed a number of bugs over
the past three weeks and we're now using the StackToRegisterMappingCogit
internally at Teleplace.






--
Best regards,
Igor Stasenko AKA sig.