News for hackers. Stuff that matters.
Re:Essential Electron by sktrdie on Thursday August 25, 2016 @07:46AM (#12358273)
What would be interesting to reduce the memory footprint is to split Chromium and only include stuff you actually need in your app. For instance, Chromium comes with backwards-compatibility code for websites of the 90s (that use tables and old CSS). Perhaps there can be a stripped down version that only supports HTML5. Even cooler would be to simply just include in the final package only the things you're using. So if I don't need localStorage, I don't include it in my app.
Re:Essential Electron by CGamesPlay on Thursday August 25, 2016 @11:14AM (#12359616)
I've investigated this lightly. The bulk of the weight of electron is actually in the media stuff. Dropping video support would reduce the storage footprint by around 50%.
Re:Essential Electron by Touche on Thursday August 25, 2016 @08:53AM (#12358589)
Maybe that's something a newer engine like Servo can just build in. Allow everything to be configurable in the build. Don't need float: left? Just use --no-floats.