Hacker News new | ask | show | jobs
by AheadOfTime295 3227 days ago
Re: compilation speed, a story with happy end: Achieving 3.2x Faster Scala Compile Time

Diagnostics:

- A method takes an implicit parameter to be filled in by the compiler

- the Scala compiler synthesizes an argument for that parameter using macros

- instead of using an existing value in the implicit scope

Conclusion: that's why a small source file took so long to typecheck.

Details at https://jobs.zalando.com/tech/blog/achieving-3.2x-faster-sca...