4 ms·
> However, it supports more aggressive incremental compilation than Scala 2 I'm not sure what you mean here... but Scala 2 and Dotty have the same incremental
by jvican 8y ago
> However, it supports more aggressive incremental compilation than Scala 2
I'm not sure what you mean here... but Scala 2 and Dotty have the same incremental compiler, and their independent bridges feature overall the same quality (which is high and heavily battle tested, for those interested).
- Cyph0n 8y agoI'm not sure if you noticed, but you are replying to the designer of Scala.
- JiminHsieh 8y agoI think jvican noticed this. jvican is the engineer from Scala Center which is supported by EPFL. Edit: typo
- Cyph0n 8y agoOh, my bad then haha!
- modersky 8y agoIt has to do with what kind of dependencies the incremental compiler wrapper (e.g. zinc) can extract from the baseline compiler (e.g nsc or dotc). The Scala 3 compiler dotc handles that itself, which has the potential to achieve better accuracy. But I am not sure how much it matters in practice. We'll find out.
- jvican 8y ago> which has the potential to achieve better accuracy The quality of the used names extraction affects accuracy, but not compile speed. I must say, Dotty and Scala are extracting about the same amount of dependencies, with some corner cases being covered better in Dotty (for example, changes in constant values). I don't see a way Dotty can become a faster incremental compiler that doesn't involve adding the incrementality in the compiler.