Hacker News new | ask | show | jobs
by c-smile 3666 days ago
"Regarding Electron, I am writing an application on it, but it is too god damn heavy in terms of memory, disk space and boot time,"

Try Sciter HTML/CSS engine then (http://sciter.com). It is a monolitic DLL (4-8 Mb) without external dependencies. Works on Win/Lin/OSX and even on Raspberry Pi 2 - http://sciter.com/sciter-on-raspberry-pi-2/

1 comments

Thanks for the suggestion, I didn't knew about this before! So I've tried it, the lib is small (~9MB on OS X), it renders pretty fast and has python bindings which is quite great.

However it lacks in some areas, such as the scrolling which is quite bad, and it does not render the SVG files that I'd need it to render (tiny SVG spec, but lots of defs and rotations). I'm still going to look better into it since I can use Cairo and CairoSVG to convert my SVGs to PNGs, but I still do not know how well it renders some css rules, fonts, etc..