3 ms·
The Scala compiler is excruciatingly slow for me. I frequently rely on polytypic programming techniques to prove (with a small "p") that my code is correct. T
by harveywi 11y ago
The Scala compiler is excruciatingly slow for me. I frequently rely on polytypic programming techniques to prove (with a small "p") that my code is correct. The compiler simply can't keep up with me.
The end result is that my state of flow is continually interrupted, or at least under assault. Bobbling my head to trance music while implicits are resolved is the only antidote that I know of.
- merb 11y agoDo you really need so many implicits? I actually learned that they will do more harm than good. I try to avoid them, where ever I can. And actually the playframework doesn't take so long to compile, to make sbt publishLocal after a clean takes no longer than 5 minutes (travis needs 40-50 minutes not sure why) for me, which is actually really fast. I mean running every tests every time takes a while, but I think that people should start incremential compilation / test if they want a fast workflow.
- gclaramunt 11y agoAlthough I agree that scala compiler is complex and can be slow, isn't your slowness expected, given you're calculating things at compile time?