5 ms·
So it's not embedding node, it's embedding an interface that connects to a remote node instance
by LukeB_UK 11y ago
So it's not embedding node, it's embedding an interface that connects to a remote node instance
- tolmasky 11y agoSorry for the confusion, not sure what a "true embed of node" on a webpage would be. "Replicating node" certainly wouldn't be either, I suppose the only thing that would be truly embedding node is compiling the node binary with emscripten or NaCL? If that's what you were thinking then no, we are allowing you to embed "node source code examples" into a webpage that users can run.
- deleted 11y ago[deleted]
- delinka 11y agoTo me, "embedded" would not rely on a remote backend.
- boucher 11y agoWe're using the word "embed" in what I feel like is a pretty generically understood web term of "take this external thing and embed it in your page". The actual thing you are embedding is a version of our app, Tonic, which yes interfaces remotely with Node.js. I think this title is the best way of getting the idea across in a few words though.
- findjashua 11y agoa "true embed" would be something like Electron, that's running a node instance on the client, and can work independently without any interaction with a server.
- k__ 11y agoMy first thought was that it compiles node (+native modules) with emscripten to asm.js and lets me run everything in the browser
- ericfrederich 11y agoYes, it is confusing. Title should have been "interface with remote node.js from any website"
- chc 11y agoThat's less clear. That sounds like it's just an API rather than allowing you to put Node code on your page and have it run.
- LoSboccacc 11y agosomething is amiss here: don't you already get a javascript runtime free with every browser already?