4 ms·
It does have a JavaScript VM, just slower (QuickJS as compared to electron's V8).
by The_Colonel 4y ago
It does have a JavaScript VM, just slower (QuickJS as compared to electron's V8).
- EGreg 4y agoSo what's "Quick" about it? Would having a slower JS engine be outweighed by some other savings? Honestly, the biggest one is memory... Electron is the biggest memory hog I've ever seen, ONE application slows my 16GB macbook to a crawl and it starts swapping to HD. How to stop that?
- cyber_kinetist 4y agoIt's "Quick" in the sense that it's a bytecode interpreter instead of a heavyweight JIT, so much faster startup times (although overall compute performance is much slower). And the library is much smaller than more heavyweight engines like V8, so good for reducing overall app size. Recently Facebook had to implement a whole new non-JIT Javascript engine just for the purpose of optimizing startup times for React Native apps (https://github.com/facebook/hermes https://github.com/facebook/hermes). If you consider how even Facebook had to ditch the V8 JIT for their purpose it's totally understandable why Sciter chose QuickJS as their new Javascript engine.
- The_Colonel 4y agoIf it's ONE application why do you jump to the conclusion it has to be electron's as opposed to the actual application's fault? Electron has some baseline overhead (~100 MB RAM IIRC), but otherwise it's not difficult to write well behaving applications with it.
- ale42 4y agoAn Electon app simply uses much more memory than a native one, there's no way around that...