baltasarq at gmail.com
Fri Dec 9 18:00:44 UTC 2011
Hi, there !
> > The existing VM is big and scary, but works and is in a small set of
> > powerful cross platform VMs.
The Self VM is great in the sense that it works through a JITter. However, this great thing is also its main weak point: it is difficult to port it to new platforms, since it involves both deep knowledge on the target platform and on the Self VM itself.
My two cents: I think it would be better, less ambitious, and thus finishable to write an interpreter. Yep, that would make Self a little bit less appealing, but on the other hand it could be usable in other platforms.
The jitter is still could still be an option for some platforms. I don't really know how the jitter works in the Self VM, but it could be redesigned to work as in the Java VM: to identify hotspots, and in the presence of a jitter for the platform it is running on top of, compile the code. Maybe this is simply what David Ungar meant by tidying the VM up, don't know. Anyway, there must exist the posibility of running the code just by interpreting it, for those platforms there is not a jitter available.
Baltasar (baltasarq at gmail.com http://baltasarq.info/)
More information about the Self-interest