Hello, Portage can use ccache and sccache to speed up builds, but some languages (like Go and Nim) support caches out-of-the-box. It's not fair that we can't use them.
I'd like to start discussion on this topic. What should be the preferred method of handling build caches? I think adding more stuff to Portage is a bad idea, and caches should be handled by corresponding "${lang}-utils" eclasses. It can be as simple as checking some variable, passing necessary flags and placing a couple of 'addwrite' calls for sandbox. Of course, such feature needs to be strictly opt-in.