Twitter announces Reasonable Scala compiler with the focus on compilation speed (github.com) 13 points by eugene_burmako 8y ago ↗ HN
[–] virtualwhys 8y ago ↗ Releated Work[1][1] https://github.com/twitter/reasonable-scala/blob/master/rela...
[–] AheadOfTime295 8y ago ↗ Re: compilation speed, a story with happy end: Achieving 3.2x Faster Scala Compile TimeDiagnostics:- 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 scopeConclusion: 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...
2 comments
[ 3.9 ms ] story [ 19.8 ms ] thread[1] https://github.com/twitter/reasonable-scala/blob/master/rela...
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...