Yes, that's right.
Dan Ingall also did the Potato VM a rewrite of the Squeak vm in java
that looked very much like the VM interpreter C source file,
interpreting each byte code in a loop and switch statement, and it ran
surprisingly well (a little bit smooth but surprising).
Different too but interesting to mention.
So about your idea, with some additional work around the plugins, and in
the image, why not ? Sounds like an interesting idea.
Do you plan to make a POC?
Le 15/11/2014 01:21, Andy Burnett a écrit :
Alain wrote
<<<
Hi Andy,
If I understand your question, you want to remake Dan Ingall's lively
kernel ?
Hi Alain,
Although I am really impressed with Dan's work, Emscripten seems to be very
different.
In theory - and my knowledge in this is very limited - it might allow the VM C
files to be transpiled into a very tight subset of JS. On the face of it, this
is a crazy idea, but they have achieved amazing performance with things like
the QT library. This made me wonder whether a Js version of pharo is possible.
Just Idle conjecturing in. Friday night :-)