On Wed, Feb 27, 2013 at 10:03 AM, Eliot Miranda eliot.miranda@gmail.comwrote:
Hi Juan,
On Wed, Feb 27, 2013 at 8:45 AM, Juan Vuletich (mail lists) < juanlists@jvuletich.org> wrote:
Quoting "David T. Lewis" lewis@mail.msen.com:
On Wed, Feb 27, 2013 at 08:19:20AM -0300, Juan Vuletich (mail lists) wrote:
Hi Folks,
In Cuis 4.1 ( https://github.com/jvuletich/**Cuis/blob/master/** Cuis4WithLatestUpdates/Cuis4.**1-1619.zip?raw=truehttps://github.com/jvuletich/Cuis/blob/master/Cuis4WithLatestUpdates/Cuis4.1-1619.zip?raw=true) I included AndreasSystemProfiler. But sometimes it is good to use a StackVM for profiling, to avoid Cog inlining and get results that are easier to follow.
The Mac and Windows VMs referenced from squeakVM.org don't include the required primitives. The only VMs with those primitives I found are CogVMs from Eliot's site.
Thanks,
I just added a mantis issue for this:
http://bugs.squeak.org/view.**php?id=7746http://bugs.squeak.org/view.php?id=7746
Eliot, can you give me a quick pointer to the primitives in Cog that need to be added to the interpreter VM? Thanks.
Does anybody know if there are plans to add those primitives to
StackVMs?
A terminology note, this issue is for the interpreter VM. The stack VM is part of Cog, and I expect that a stack VM will already contain the necessary primitives (though I did not check).
Thanks for the correction. I understand that the interpreter VMs will have the primitives in the future. Thank you!
Let me restate, then. Does anybody know if there are recent StackVMs precompiled for major platforms? I could not find any at Eliot´s site.
I could be encouraged to build and add these to my site. But I wonder why you need them. What's wrong with the Cog VMs?
First of all, Cog doesn't do inlining; it only does good inline cacheing, including memoing whether a send is an MNU. Second, one can disable the JIT using -cogmaxlits -1 on the command line. You'll get something slower than the StackVM (because it'll be asking the jit whether methods should be jit all the time) but you should get values close to the StackVM.
Dave
Thanks,
Juan Vuletich
Cheers, Juan Vuletich
-- best, Eliot