4 ms·
And today, I was reading that facebook's mobile messenger has 18000 classes, and is about a 100mb, this doesn't take into account other dependencies it has on t
by segmondy 11y ago
And today, I was reading that facebook's mobile messenger has 18000 classes, and is about a 100mb, this doesn't take into account other dependencies it has on the OS. These demos are 100% standalone, no external libraries. Progress is a funny thing.
- mbilker 11y agoThe only other dependencies would be assets and OS included libraries. All of the code executed is part of the binary or it is remote JS.
- lawl 11y agoNo, assets are included in the byte count of these demos! Not sure what you mean by RemoteJS though. You aren't allowed to load more JS code from the web.
- nomercy400 11y agoDifferent use case. Facebook is a communications application, with user inputs and networking, focused on getting the information to you as fast as possible for the best user experience, and being always working 24/7. This is a one-off deterministic demo, without inputs or networking. Still, a 1k demo like this is impressive. And 18000 classes is too much for a messenger. But you can't compare them.
- mrich 11y agoThis is a Javascript demo. So let's not discount the browser, Javascript engine, JIT, 3d acceleration libs, sound libs, and everything used from the OS that is involved here. Still it is a great effort. Your argument fits better to a machine like the C64, where demos are really going directly to the hardware and the OS is basically inactive.
- Dylan16807 11y agoWell most of the things you named are inactive. It's using a very tiny bit of external 3d code, and external decompression, but almost everything else out of browser, javascript, libs, and OS is passthrough. The javascript engine exists but does not serve to make it smaller; the code is simple loops and subroutines that would probably be better as native code.