3 ms·
What would be involved to create a Electron and/or Node alternative with an engine like this?
by lapser 4y ago
What would be involved to create a Electron and/or Node alternative with an engine like this?
- steve918 4y agoElectron is kind of a non starter because the hard part isn't the JS interpreter it's the renderer. Node alternative? Fairly trivial, but then you're missing NPM, and pretty much everything else that makes Node not a toy language.
- codermike 4y agoIf by "like this" you mean with snapshotting (e.g. if you prefer snapshotting to bundling https://coder-mike.com/blog/2020/05/15/snapshotting-vs-bundling/ https://coder-mike.com/blog/2020/05/15/snapshotting-vs-bundl...), then node doesn't support it because V8 doesn't (yet) support it, but it might be coming! If by "like this" you mean runs on small devices, maybe check out https://www.neonious-iot.com/lowjs/ https://www.neonious-iot.com/lowjs/