Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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?



If 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".


To put this in perspective, all of Windows 95 fit in about 50MiB on disk and ran in something like 8MB.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: