3 ms·
Squoosh already had wasm files built, all i had to just import and create a common API. For now wasm can be compiled from C,C++, Rust and Go, so mostly compile
by akmittal 5y ago
Squoosh already had wasm files built, all i had to just import and create a common API.
For now wasm can be compiled from C,C++, Rust and Go, so mostly compiled languages. https://emscripten.org/ https://emscripten.org/ can help compile C,C++, Rust and Go has native support to compile. There is also a Typescript like language which compile to wasm(assembly script)
Python or most dynamic languages are too difficult to compile to wasm.
- zamber 5y agoYou could consider publishing it on GitHub and pinging squoosh guys: https://github.com/GoogleChromeLabs/squoosh/issues/1084 https://github.com/GoogleChromeLabs/squoosh/issues/1084