| ▲ | tnelsond4 2 days ago | |||||||
You can also get really small file sizes by ignoring frameworks and porting unsupported codecs to wasm. I ported jbig2 (17kb uncompressed) and codec2 (60kb uncompressed) to wasm which enables me to use really small image and audio files in my web app. I also made a custom read only database and search engine with built-in zstd decompressor (39kb uncompressed). It probably wouldn't run on a psp though. I like optimizing and making things small. I want to use neural audio codecs for even better compression but the model sizes and compute complexity are major hurdles and muddy the vision. | ||||||||
| ▲ | mrpf1ster a day ago | parent [-] | |||||||
I hope the image and audio bandwidth savings are more than the cost of having to send down the codec JS payload - might be worth it for a web app with a lot of image/audio loading | ||||||||
| ||||||||