Comment by ywvcbk
3 hours ago
The overhead added by Electron is hardly that significant at this point, you can still use it to write significantly more efficient apps
3 hours ago
The overhead added by Electron is hardly that significant at this point, you can still use it to write significantly more efficient apps
The overhead of an entire browser engine isn’t significant compared to a native app?
No, compared to everything else in those apps. i.e. if they are writing extremely bloated Electron apps why would the native version be less slow and bloated? I mean Electron's overhead is mostly fixed (it's still a lot but its possible to keep memory usage we below 1 GB or even 500 BB even for more complex applications).
A native app that compiles to machine language and uses shared system libraries is by definition going to take less memory and resources than code + web browser +Javascript VM + memory to keep JITd byte code.
Write a “Hello World” in C++ that pops up a dialog box compared to writing the same as an Electron app.
4 replies →