5 ms·
I fail to see how this is any resource-lighter than Electron. It still uses a browser. It might or it might not be Chrome, but it's still a browser, so it will
by alexandernst 8y ago
I fail to see how this is any resource-lighter than Electron. It still uses a browser. It might or it might not be Chrome, but it's still a browser, so it will certainly use, give or take, the same amount of resources the average browser takes.
The only thing I do see as an advantage is the reduced size in the distributable. But, imho, size really doesn't matter these days.
- imustbeevil 8y agoWhat application renders HTML/CSS/JS using less resources than a browser?
- opan 8y agoA document reader, perhaps. Something like zathura/mupdf that can read epub files. I think epubs use html/css for formatting. I could be a bit wrong here.
- shakna 8y agoYes/no. Epub 3.x does support a substantial subset of HTML5. However, there are only a small number of core media types that can come with an expectation of working. Atop of that, most styling can be expected to be ignored. The CSS-section of the spec [0] lays out most CSS fits the spec, with a few exceptions, and a few additions, but that most readers won't make use of them. That is absolutely the case. Most of the speed from an ereader over a browser comes from these parts: + You can safely ignore most CSS, or all CSS and just use Author-Defined CSS profiles. + You can safely ignore any of the script tags you encounter, though they are part of the spec. + You don't need to support every media-type out there. + Most documents won't be HTML - they'll be the well-defined XHTML, meaning you need less cascading rules to transform the document into something well-formed. [0] http://www.idpf.org/epub/31/spec/epub-contentdocs.html#sec-css http://www.idpf.org/epub/31/spec/epub-contentdocs.html#sec-c...
- johnisgood 8y agoWould something like libRocket work? Sadly it is not under active development anymore.
- deleted 8y ago[deleted]