|
|
|
|
|
by francisl
1868 days ago
|
|
Also electron require multiple node backend services which each eat memory like crazy (based on electron app I use). Have one, real Multithreaded +, more efficient backend, will reduce memory and offer better performance. Wails is also an alternative that does just that. Shared Web UI engine + Go compiled backend. |
|
AFAIK Electron requires 1 Node instance (you can disable it for renderer processes and you can have 0 WebWorkers or only WebWorkers with Node.js disabled) which consumes like ~50MB or something like that, which probably accounts for stuff other than Node.js too, if the app you are using require multiple Node processes that use huge amounts of memory they are just badly written.
> Have one, real Multithreaded +, more efficient backend, will reduce memory and offer better performance.
You can't just share Node.js across multiple apps, Tauri just doesn't bundle it at all, which is a whole different story with mostly downsides from my point of view.