You’re right, though after an initial compilation cargo does a good job caching and subsequent builds will often beat Go’s compile times.
How hard is the caching to set up, especially in a CI setting?
Cargo caches by default and you can specify the path that it stores artifacts. Most of the cache story is about what your chosen provider uses to specify build steps, etc