Scala compilation is rather slow. Is there any hope of making this faster?
One thing that comes to my mind is the Scala equivalent of ccache: a cache where the compiler does not have to recompile some parts. I know that the type of inference makes things more complicated, but I wonder if this is possible at all. Perhaps the caching should be done at a different level (e.g. AST) or it needs to do some preprocessing.
I will be glad to see some estimates of how potentially it can be saved if such a tool exists. What problems need to be solved to create it?
source
share