[Vm-dev] CMake configurations for Cocoa Cog/Stack VM

Eliot Miranda eliot.miranda at gmail.com
Fri Mar 18 16:46:47 UTC 2011


On Fri, Mar 18, 2011 at 6:02 AM, John McIntosh <
johnmci at smalltalkconsulting.com> wrote:

>
> Bert, yes the Stack VM does run on IOS, if you hunt back in the forum
> I think I even did a bit of benchmarking to understand the
> differences.
> However getting there requires the integration of changes to
> incorporate the latest get memory model, and the changes for passing
> up touch events.
> Also buried as a todo likely is yet more understanding of the time
> task as pounding that thread 1000 a second is unfriendly to the
> battery and the phone's "slow" cpu...
>

And unnecessary.  100Hz is probably fast enough.  If deriving the time of
day is cheap there's also no need for the heartbeat thread to compute the
time.  Then the heartbeat can probably be reduced to 20Hz to 50Hz since if
not updating the time its function is only to ensure the Vm checks for i/o
at regular intervals.


>
> On Fri, Mar 18, 2011 at 4:23 AM, Bert Freudenberg <bert at freudenbergs.de>
> wrote:
> >
> >
> > On 18.03.2011, at 12:19, Esteban Lorenzano wrote:
> >
> > Hi,
> > For now, is just for macs. StackVM *should* run for iOS devices too, but
> I still didn't prepare the right configuration (there are different external
> sources). Also, I don't know if the migration from interpretervm to stackvm
> was finished... that's something I will know once starting the configuration
> :)
> > but I think next month it should be ready...
> > Cheers,
> > Esteban
> >
> > Yay! :)
> > - Bert -
> >
> >
> > El 18/03/2011, a las 1:17a.m., Casey Ransberger escribió:
> >
> > Awesome! Glad to see the Cocoa stuff liberated from Xcode.
> > Out of curiosity, by "Cocoa" do you mean both Mac and iOS, or just Mac? I
> *ache* for a StackVM on my iPad!
> > I know they share most of the code, but I haven't been able to
> successfully build a StackVM on the mobile OS yet, so I figured I'd ask.
> >
> > On Mar 17, 2011, at 8:01 PM, Esteban Lorenzano <estebanlm at gmail.com>
> wrote:
> >
> > Hi,
> > I changed CMake configurations for Cocoa builds. Now it should build
> both, Cog and Stack VMs using cmake and make (not needing xcode at all). Of
> course, Cocoa Cog VM is still crashing... but that's another story.
> > We can now use hudson to build them :)
> > Cheers,
> > Esteban
> > pd: this builds still needs my sources
> http://gitorious.org/~estebanlm/cogvm/cog-osx, tomorrow I will go to
> "blessed". But for "hot fixes", I prefer hudson builds running using my
> repository... and maybe the VM releases (with new version number) compiled
> using "blessed" versions.
> >
> >
> >
> >
> >
>
>
>
> --
> ===========================================================================
> John M. McIntosh <johnmci at smalltalkconsulting.com>
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> ===========================================================================
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20110318/59d2aad4/attachment.htm


More information about the Vm-dev mailing list