4 ms·
> The architectural tl;dr is that Electron is used as a user interface layer, with a Rust binary handling everything else. Interesting, but the major complaint
by alfonsodev 9y ago
> The architectural tl;dr is that Electron is used as a user interface layer, with a Rust binary handling everything else.
Interesting, but the major complaint about electron that usually pops in HN is about memory consumption.
Is it that avoided in this case?
- tarruda 9y agoIf the app uses no Javascript UI frameworks, and completely maintains all UI/DOM state in Rust code, it might be possible to significantly reduce memory usage when compared to typical Javascript apps. Keep in mind that "electron-quick-start" (basically an empty Electron app) uses 40 MiB on Linux, so anything with a slightly complex UI would probably not use less than 50 MiB, regardless of the "backend language".
- AnIdiotOnTheNet 9y agoTo put this in perspective, all of Windows 95 fit in about 50MiB on disk and ran in something like 8MB.