Hacker News new | ask | show | jobs
by yogorenapan 797 days ago
CGO being slow is unavoidable. It’s external to Go and (afaik) has to be rebuilt every time
1 comments

It 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!