4 ms·
It's hard to make that performant. As a reference, here is a browser-adapted version of the https://cuis.st/ https://cuis.st/ Smalltalk environment, which does
by onetom 3y ago
It's hard to make that performant.
As a reference, here is a browser-adapted version of the https://cuis.st/ https://cuis.st/ Smalltalk environment, which does its own rendering onto a canvas:
https://github.com/nmingotti/The-Cuis-CookBook/wiki/Run-Cuis-in-the-Web-Browser.-%28SqueakJS%29 https://github.com/nmingotti/The-Cuis-CookBook/wiki/Run-Cuis...
- MatthiasPortzel 3y agoIt’s not performant if you’re using JavaScript APIs. But it’s also possible to write to a canvas with WebGL, which is hardware accelerated and is much faster than jQuery. I believe (although I can’t find a source for it now), that xterm.js used this strategy.