News for hackers. Stuff that matters.
Re:Show HN: Gogosseract, a Go Lib for CGo-Free Tesseract OCR... by richieartoul on Saturday November 04, 2023 @10:00PM (#38147282)
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…
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.