top | item 15039290

Twitter announces Reasonable Scala compiler with the focus on compilation speed

13 points| eugene_burmako | 8 years ago |github.com

2 comments

order

AheadOfTime295|8 years 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...