3 ms·
This is awesome and one of the things I’m really excited about with WASM, and specifically Wazero. The Wazero team is top notch. Now someone just needs to do th
by richieartoul 3y ago
This is awesome and one of the things I’m really excited about with WASM, and specifically Wazero. The Wazero team is top notch. Now someone just needs to do this with zstd and make it fast…
- mappu 3y agoThere's a pure-go zstd at https://github.com/klauspost/compress https://github.com/klauspost/compress - it's likely faster than running the upstream zstd under Wazero.
- anuraaga 3y agoJust for reference I did give it a try https://github.com/wasilibs/go-zstd https://github.com/wasilibs/go-zstd Mostly since I hadn't found `compress` supports zstd. Wazero performed reasonably well against the cgo library but was indeed much slower than this proper pure go port.