News for hackers. Stuff that matters.
Re:Show HN: Gogosseract, a Go Lib for CGo-Free Tesseract OCR... by mappu on Sunday November 05, 2023 @01:20AM (#38148817)
There's a pure-go zstd at https://github.com/klauspost/compress - it's likely faster than running the upstream zstd under Wazero.
Re:Show HN: Gogosseract, a Go Lib for CGo-Free Tesseract OCR... by anuraaga on Sunday November 05, 2023 @10:47PM (#38158626)
Just for reference I did give it a try

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.