3 ms·
A small binary size is at least useful when running code in web browsers via WASM. Granted, 2 KByte would be way below diminishing returns, but even a couple of
by flohofwoe 3y ago
A small binary size is at least useful when running code in web browsers via WASM. Granted, 2 KByte would be way below diminishing returns, but even a couple of hundred KBytes is rare with high level languages like C# which usually require a big runtime.
Even "we care about binary size at all" would be a major step forward for most "professional" applications.
- mlhpdx 3y agoI’m using some of these techniques to minimize the size of my executables for use with a AWS Lambda and on embedded Linux projects.
- Snow_Falls 3y agoThe problem with video games and binary sizes is that the assets (3d models, audio, etc) take far more space than the binaries. And its much harder to compress then while still getting good loading times and high quality.
- flohofwoe 3y agoThat's a bit of a separate problem since assets can be downloaded as needed in the background while the game is already running, but to even start the game, the first thing that's required is the WASM asset blob so that should be small.
- Snow_Falls 3y agoAh that is true, I forgot that you could stream assets via web in a browser. But, surely if you can stream the large assets quickly enough for a decent experience (even with caching) then the initial blob size isn't going to take too long to download in the first place?