4 ms·
QuickJS is a really, really interesting engine because it's only ~200KB. Fits a lot of cases where you want to add scripting ability but without bulking out siz
by untog 6y ago
QuickJS is a really, really interesting engine because it's only ~200KB. Fits a lot of cases where you want to add scripting ability but without bulking out size unnecessarily.
Unfortunately because it lacks stuff like JIT it'll never rival the likes of V8 in performance. But in terms of bang for buck it's unbeatable.
- Scarbutt 6y agoLua has some serious competition now.
- fiddlerwoaroof 6y agoI sort of wonder if making browser JS engines slower would improve the web: fast JS engines enable complex JS apps but it’s far from clear that these apps are better for UX, especially compared to improving the built-in functionality of HTML
- moonchild 6y ago> in terms of bang for buck it's unbeatable Luajit packs a similar punch, and actually has performance comparable with v8. Plenty of things with performance and size similar to quickjs, though; regular lua, micropython, chibi scheme, s7 scheme...lots of great options.
- untog 6y agoFor sure. But JS is JS, and far more ubiquitous than Lua. So QuickJS still has a place.