[Vm-dev] Reviving the Android VM

Ben Coman btc at openinworld.com
Mon Jun 26 13:19:27 UTC 2017


On Sat, Jun 17, 2017 at 3:48 AM, Michael Rueger <lists at andience.co.nz>
wrote:

>
> Hi all,
>
> long time no see :-)
>
> Recently I spent a bit of time trying to piece together an Android VM
> using the up to date versions of AndroidStudio, SDK and NDK. Once things
> are building and running, I was planning to fold everything back into the
> proper build process.
>
> Current (somewhat messy) state of things here
> https://github.com/mrueger42/st-android
>
> It has been quite a long time since I looked at building VMs, so forgive
> me if I'm just being stupid here...
>
> I was able to get the original port from Andreas to build and run, but it
> is a very outdated version. Still nice to have it as a piece of history, I
> think (AndroidVM in the above repo).
>
> Some puzzle pieces later I have something running that is based on recent
> CogSpur opensmalltalk code and bits and pieces I found. Unfortunately
> CogSpur doesn't seem to play well with the setjmp/longjmp used in the code
> (CogDroid in the above repo).
>
> Plus, the VM is running on the UI thread, not something that is viewed
> well on mobile. Actually it makes Android just kill the app if you block
> the UI thread for too long.
>

Maybe of interest is Ronnie's work towards an embeddable VM...
http://forum.world.st/Removing-most-of-the-windowing-code-td4924496.html

cheers -ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20170626/f32155d9/attachment.html>


More information about the Vm-dev mailing list