Has anyone tried compiling the Pharo VM into JS using Emscripten?
I just saw this implementation of SQLite as a JS system, via Emscripten, and I was curious whether something similar would be even vaguely possible for the VM. Cheers Andy á§
Hi Andy, If I understand your question, you want to remake Dan Ingall's lively kernel ? :) http://lively-web.org/welcome.html Cheers, Alain Le 14/11/2014 22:31, Andy Burnett a écrit :
I just saw this implementation of SQLite as a JS system, via Emscripten, and I was curious whether something similar would be even vaguely possible for the VM.
Cheers Andy á§
"Hi Andy, If I understand your question, you want to remake Dan Ingall's lively kernel ? :) http://lively-web.org/welcome.html Cheers, Alain" no these are two separate things. Compiling PharoVM with Emscripten would be that you would still have the PharoVM but now running on top of a browser since it will be pure javascript. While lively Kernel is not related to Smalltalk at all, its just a gui on top of javascript meant to be used as a javascript library. What Andy wants is something similar to SqueakJS but for Pharo. Would be great to have something like that, but I fear this would be a quite challenging project by itself since you would need to worry about things like graphics and even handling inside the browser. Maybe someone could take SqueakJS as a template and work on that. On Sat, Nov 15, 2014 at 1:09 AM, Alain Rastoul <alf.mmm.cat@gmail.com> wrote:
Le 14/11/2014 22:31, Andy Burnett a écrit :
I just saw this implementation of SQLite as a JS system, via Emscripten, and I was curious whether something similar would be even vaguely possible for the VM.
Cheers Andy á§
Yes about the implementation you are right, but I was more talking about the idea and the fact that Dan Ingall is one of the smalltalk creators (see also my other answer about his potato vm). I agree it would be really cool :) Le 15/11/2014 09:38, kilon alios a écrit :
"Hi Andy,
If I understand your question, you want to remake Dan Ingall's lively kernel ? :) http://lively-web.org/welcome.__html <http://lively-web.org/welcome.html>
Cheers, Alain"
no these are two separate things. Compiling PharoVM with Emscripten would be that you would still have the PharoVM but now running on top of a browser since it will be pure javascript. While lively Kernel is not related to Smalltalk at all, its just a gui on top of javascript meant to be used as a javascript library.
What Andy wants is something similar to SqueakJS but for Pharo. Would be great to have something like that, but I fear this would be a quite challenging project by itself since you would need to worry about things like graphics and even handling inside the browser. Maybe someone could take SqueakJS as a template and work on that.
On Sat, Nov 15, 2014 at 1:09 AM, Alain Rastoul <alf.mmm.cat@gmail.com <mailto:alf.mmm.cat@gmail.com>> wrote:
Le 14/11/2014 22:31, Andy Burnett a écrit :
I just saw this implementation of SQLite as a JS system, via Emscripten, and I was curious whether something similar would be even vaguely possible for the VM.
Cheers Andy á§
no This is if this is possible to run the vm over V8 Stef On 15/11/14 00:09, Alain Rastoul wrote:
Hi Andy,
If I understand your question, you want to remake Dan Ingall's lively kernel ? :) http://lively-web.org/welcome.html
Cheers, Alain
Le 14/11/2014 22:31, Andy Burnett a écrit :
I just saw this implementation of SQLite as a JS system, via Emscripten, and I was curious whether something similar would be even vaguely possible for the VM.
Cheers Andy á§
participants (4)
-
Alain Rastoul -
Andy Burnett -
kilon alios -
stepharo