News for hackers. Stuff that matters.
Re:Crazy fast build times, or when 10 seconds starts to make... by gopalv on Wednesday March 24, 2021 @03:14AM (#26564375)
As a summary, switched from scala → java, ant → make, removed GWT, Lucene, Hibernate, Velocity, Tomcat etc.

This needs a (2012) on it, but it looks like that got hugged to death already [1].

[1] - https://web.archive.org/web/20210324055256/http://dan.bodar....

Re:Crazy fast build times, or when 10 seconds starts to make... by eloisant on Wednesday March 24, 2021 @05:55AM (#26565273)
It's important to note that Scala compile time got better, both with improvements in the compiler and in the computers we're using (going from HDD to SSD was huge, and of course CPU improvements).

Still slower than Java but I think it's well worth it for the productivity gain.

Re:Crazy fast build times, or when 10 seconds starts to make... by perennus on Wednesday March 24, 2021 @08:30AM (#26566299)
My project has 17k lines of Scala code (no whitespace). I don't have a SSD. It takes 10 minutes to perform SBT Assembly from a cold start, 40 seconds afterwards. And about 1-3 seconds to compile and run locally within IDEA.
Re:Crazy fast build times, or when 10 seconds starts to make... by MrBuddyCasino on Wednesday March 24, 2021 @06:35AM (#26565483)
> Still slower than Java but I think it's well worth it for the productivity gain.

I have never seen this play out it practise. The most productive engineers I know can touch type well and know their editor/IDE inside-out, have a solid grasp of the basics and preferring not too many abstraction layers, and a workflow optimised for fast dev cycles. Sure, build your startup with Scala or Haskell - I'll bet on the Ruby / Golang / Lisp competitors.

Re:Crazy fast build times, or when 10 seconds starts to make... by jbverschoor on Wednesday March 24, 2021 @04:11AM (#26564661)
When I was still deep in the Java space, I always used hot code replace, otherwise it’s really unbearable. I also contributed a patch to hibernate to cache the compiled classes. That sometimes saved minutes per restart.