The size is about 30MB, how much smaller would this get? Even a 50% shrink would be rather big.
The size is about 30MB, how much smaller would this get? Even a 50% shrink would be rather big.
In any case, I wouldn't exactly recommend building a blog using Qt this way. If you want to try building websites with QML, qmlweb is much better suited. I rather expect Qt+NaCl/Emscripten to be useful for larger browser applications, like 3D graphics software, games, scientific simulators, and so on.
There is a static size overhead of up to a few hundred kbytes for C/C++ runtime code which needs to be included in the asm.js file, and which normally lives in system dlls when running as native code, but this can be optimized by trying to minimize the use of C++ (e.g. iostreams introduce quite terrible bloat, better to just use printf). A lot of work has gone into emscripten to optimize the output size, also very recently (e.g. a linker pass which scans the code for duplicate functions and removes them, which sometimes helps for code which makes heavy use of templates).
It still bothers me that things are getting so big :D
So don't bother, just wait for it :-)
Having started programming on an Apple 2+ (64kb ram), I know what I'm talking about :-)