3 ms·
CGO being slow is unavoidable. It’s external to Go and (afaik) has to be rebuilt every time
by yogorenapan 3y ago
CGO being slow is unavoidable. It’s external to Go and (afaik) has to be rebuilt every time
- ajwillia_ms 3y agoIt doesn’t have to be rebuilt every time. The incremental parts are missing when compared to the Go compiler, but when coding a GUI app with Go you’re not modifying the C packages behind the scenes so they won’t need recompiled. This means one rather slow compile to start and then it’s back to super fast!