Hacker News new | ask | show | jobs
by lapser 1465 days ago
What would be involved to create a Electron and/or Node alternative with an engine like this?
2 comments

If 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-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/

Electron 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.