4 ms·
The reason why Flame is [20MB] is because it includes many different libraries, such as for compression (zlib, libbz2, ppmd) and database manipulation (sqlite3)
by haberman 14y ago
The reason why Flame is [20MB] is because it includes many different libraries, such as for compression (zlib, libbz2, ppmd) and database manipulation (sqlite3), together with a LUA virtual machine.
SQLite is 500kB, Lua is 150kb, zlib is 80kB, libbz2 is 60kB. Together this comes to less than 1MB, not 20MB. You would need an awful lot of libraries like this to get anywhere close to 20MB.
- timdorr 14y agoThey're likely skipping over a ton of libraries for brevity's sake. It captures data from audio, video, bluetooth, and other sources. A full BT stack is going to be pretty sizable. If there's any compression being done on that audio or video, that could also add to the bulk.
- runjake 14y agoI don't get the point of your comment. Are you saying you doubt it's 20MB? Or that it doesn't include a lot of libraries? What point are you trying to make exactly?
- fusiongyro 14y agoHe's pointing out that the explanation for the size given in the article isn't adequate because the facts don't bear it out.
- haberman 14y agoExactly. I particularly wanted to mention that it's entirely possible to ship software that uses libraries like this but isn't 20MB large. But maybe there are a lot more libraries included than are mentioned here (as another poster suggested).