Hacker News new | ask | show | jobs
by jillesvangurp 1372 days ago
Except performance. Saying this as a daily intellij user. I still miss incremental compilation speeds for Java that were in the order of milliseconds rather than the 5-10 seconds (minimum, if you are lucky).

I love Kotlin but compiler speed is not one of its strengths. And with the round trip via Gradle, it just is guaranteed to take multiple seconds to process even a 1 character change in a unit test when you run one.

Eclipse used to be awesome for this with Java:

- error state of your project would update in real time while you were typing. Introduce a problem, the project goes red immidiately. Fix the problem, the red goes away immediately.

- Edit, run, type, edit run type, etc. without noticable delay. Intellij never had this.

The reason for this was a deeply integrated incremental compiler. It could even tolerate compilation errors and still allow you to run parts of your code. There are not many IDEs out there for any language that can do that. IBM did that 20 years ago with Eclipse and it's a feature I miss a lot.

4 comments

you just beautifully summarised why i still use Eclipse today :-)

Once you get used to it, instant incremental compile >> everything else ...

Same here, much prefer Eclipse to IntelliJ. Super fast and provides instant feedback on everything you do with the incremental compilation. And the workspace is amazingly powerful as a concept.
I used to bash Eclipse (Netbeans fanboy :) ), then IntelliJ came into the picture without Javadoc completion out of the box (fixed nowdays), required explicit invocation of inspections, ten finger chords, no incremental compilation, no support for JNI development, indexing non stop,... and I re-learned how great Eclipse actually happens to be.
Incredible how often you hear the same about MSVC++6 or one of the Delphi's, up to 7.
There's a secret to kotlin compiler speed, and that's learning scala first ;)

And yes, the eclipse way of live embedded compilation to a classloader nested in the IDE process was awesome in more than one way. Probably an inheritance from its Smalltalk roots?

Some time ago I heard of a website dedicated to hating eclipse ide, but google can't find it. By any chance do you know what it is? Sorry if this comment sounds like gaslighting, I'm just curious.
Are you by any chance running windows?
Mac. It's not an OS thing. And no, it's not a virus scanner or something silly like that. I've seen the behavior replicated on lots of machines; including laptops belonging to other people that claimed it was my setup that was the problem. You set it up right, you get about 2-3 orders of magnitude difference in performance between Intellij and Eclipse. It's just that people get used to it and actually seem to think five seconds is pretty fast. Trust me, I've heard all the excuses over the years. When you've seen 50ms, 5 seconds is an eternity.