Re:Scala at scale at Databricks
by AzzieElbab on Friday December 10, 2021 @11:15AM
(#29511607)
Scala compilation + graalvm compilation = very long breaks :)
[ Parent
| on HN ]
Re:Scala at scale at Databricks
by scalaIsKindaMeh on Friday December 10, 2021 @06:22PM
(#29516703)
Interesting, in my experience long compile times in Scala equates with a bad code base. And invariably involves an uber object with a whole lot of implicit conversations and is imported on every other source file.
I think the pertinent part of the comment you're replying to was graalvm, not so much Scala. I was compiling a small Scala codebase that took 15 minutes to compile - most of that was not my code, it analyses the reachability of the entire classpath and compiles it to native machine code.
Re:Scala at scale at Databricks
by AzzieElbab on Saturday December 11, 2021 @01:52PM
(#29523259)
I don’t know about bad code but a lot of derivations that send compiler into proof loops usually is what is causing slowdowns. You can write the same code by hand, pick your poison. Honestly, scalac is probably still faster than typescript compiler and somehow no one complaining about ts