10 ms·
it is actually suprisingly fast
by schpaencoder 5y ago
it is actually suprisingly fast
- johnisgood 5y agoThe demos are very slow for me. I dunno if I can somehow display it but it feels like ~10 FPS.
- TheErikOnBike 5y agoDid you try different browsers? The speed is very reasonable for me (considering the amount of BitBlt). I use SqueakJS to develop business software (using only Smalltalk). In these applications I am running SqueakJS headless and create a GUI using WebComponents (created through Smalltalk classes). This also runs very fast (tested on Firefox, Chrome and Safari).
- jiriro 5y agoCould you elaborate how this works – Headless SqueakJS plus WebComponents GUI?
- TheErikOnBike 5y agoInstead of having a Smalltalk image which contains the typical GUI (Morphic or otherwise being BitBlt on a HTML Canvas) I run a Smalltalk image which has a number of Classes representing WebComponents. These classes have a small interface with Javascript (implemented as primitive calls in case you are familiar, similar to other SqueakJS plugins). When instantiating such a WebComponent, it will also instantiate a DOM element (the WebComponent). Events in the browser are wrapped in Smalltalk event classes and will be given to an event handler process (Smalltalk process) which will do the relevant work. So for example drag and drop is implemented fully in Smalltalk. The Smalltalk image I run to have this Web UI (and run only a Web UI, no business logic in the browser) is very small. It is only a little over 200Kb. My code is free to use. See https://github.com/ErikOnBike/CodeParadise https://github.com/ErikOnBike/CodeParadise I need to add some more documentation and more demos. I have been very busy with developing software and have been lacking a bit in giving some love to those. Edit: An explanation and demo can be found here: https://vimeo.com/457353130 https://vimeo.com/457353130
- jiriro 5y agoInteresting. At 54:55 Tim Rowledge mentions Distributed Smalltalk by Chris Mala (not sure about the name). Is there any information about this? I could not find anything what seemed relevant or recent.
- timrowledge 5y agoThat would be "Chris Muller". Chris wrote, amongst other things, the Magma database and the Maui user interface stuff. Take a look at http://www.squeaksource.com/@QWhy5xpjQLo5Sty4/rBdVcxgb http://www.squeaksource.com/@QWhy5xpjQLo5Sty4/rBdVcxgb for the Magma code and http://www.squeaksource.com/@QWhy5xpjQLo5Sty4/yM0obItA http://www.squeaksource.com/@QWhy5xpjQLo5Sty4/yM0obItA for the client-server stuff. You might also be interested in the image spawning capabilities in Dave Lewis' OSProcess project; very fast forking of running images with their own work to do etc. See http://www.squeaksource.com/@QWhy5xpjQLo5Sty4/uLwQvnlU http://www.squeaksource.com/@QWhy5xpjQLo5Sty4/uLwQvnlU
- johnisgood 5y agoNope, tested it on Vivaldi only. I may give Firefox and Chromium a try, too.