4 ms·
Since it's presented as a "tiny" runtime, I'd like a size comparaison between this and Node in the readme. Same thing with the use cases (learning projects or "
by Zababa 5y ago
Since it's presented as a "tiny" runtime, I'd like a size comparaison between this and Node in the readme. Same thing with the use cases (learning projects or "just for fun" are very valid use cases!).
- oso2k 5y agoQuickJS [0] quotes a 210KiB binary. [0] https://bellard.org/quickjs/ https://bellard.org/quickjs/
- Zababa 5y agoReplying to myself, on Pop!_OS I get a final tjs build of 1.8 Mo. My Node weighs 71 M for comparaison.
- edflsafoiewq 5y agoWhy is node so large?
- c-smile 5y agoIn fact 1.8 Mb is quite a lot for QuickJS. My Sciter engine that includes as QuickJS as HTML/CSS engines is about 6 Mb. My port of QuickJS [1] that also includes persistent storage (think of MongoDB built into JS) is 736 Kb on Windows. [1] https://github.com/c-smile/quickjspp https://github.com/c-smile/quickjspp
- Zababa 5y agoThe project also includes wasm3 for WASM, curl and libuv. That's probably what's taking space.