Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati...
by norswap on Friday March 05, 2021 @11:27PM
(#26365205)
Is there a story for interop with other languages? I understand the UI probably has to be defined in JS, but what about transparently making request to a local server written in another language (bonus point if it can somehow be made less observable than that, i.e. not consuming a localhost port).
[ Parent
| on HN ]
Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati...
by akiselev on Saturday March 06, 2021 @05:13AM
(#26366462)
The NodeJS NAPI support binary modules written in any language that can build dynamic libraries against the C FFI. There's still a little overhead marshaling between Javascript and the guest language but it's small compared to the overhead of HTTP or WASM.