> Am 22.06.2017 um 17:53 schrieb Ben Coman <b...@openinworld.com>: > > > > On Thu, Jun 22, 2017 at 9:38 PM, andrew glynn <aglyn...@outlook.com > <mailto:aglyn...@outlook.com>> wrote: > I was wondering: > > a) I'm assuming PharoJS would be much like Amber but inside the Pharo VM. > > I'm only slightly familiar with PharoJS, but I believe its quite different... > https://www.youtube.com/watch?v=XWd2mCQPZUU > <https://www.youtube.com/watch?v=XWd2mCQPZUU> > It is. Amber bootstraps a complete smalltalk system in javascript. Even the IDE is done that way so you have everything in the browser. It is a nice idea but suffers from the lack of development around the IDE. So the tools while being impressive are not pure fun to work with. That is the point PharoJS does better. It works with pharo connects to a web browser or node.js instance. It takes smalltalk code and transpiles them to javascript removing the need to have the complete smalltalk environment with the generated javascript. PharoJS uses a socket connection between the browser and the pharo image so you can inject and inspect things on the page. The code gets transpiled and transmitted whenver something changes. IMHO PharoJS lacks a definition of a browser DOM so you can develop nicer. But it is quite impressive though.
Norbert