Allow marking a module "available for parallel compilation", and compile all of the scala sources in parallel #3474
kaepaokaawela
started this conversation in
Ideas
Replies: 1 comment 13 replies
-
There currently isn't such a way, but maybe one could be developed. @bishabosha did some work on parallelizing compilation in Scala 3, and there's some prior work with Hydra in Scala 2, but Mill doesn't have anything built in. We use the same compilation toolchain as the rest of the Scala ecosystem |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my work project, I have a lot of modules that I've structured like the following:
xxx-interface
andxxx-impl
.The implementation module contains a lot of code that are simply implementations of the interface, and as such, between the files inside
xxx-impl
, there are no dependencies. Naturally the implementation module has much more code and is slower to compile.If there is a way to mark a module as "parallel compilation", such that each and one of those files are invisible to each other so we can compile all of them in parallel, it would be a game changer for me.
Beta Was this translation helpful? Give feedback.
All reactions