5 ms·
For me Go is amazing, is my first language where I don't need a virtual machine or interpreter to compile to machine code, C++ is OK but not for day to day web.
by kown223 9y ago
For me Go is amazing, is my first language where I don't need a virtual machine or interpreter to compile to machine code, C++ is OK but not for day to day web.
Changing something then having to wait 40 seconds for java to recompile drive me crazy, also same for tests. Yes would love to have a package system, but is coming.
- MrBuddyCasino 9y agoJava has some flaws, but slow compilation is not one of them. Incremental compilers are available and pretty much eliminate pauses.
- kown223 9y agoI did worked with spring boot and intelijava, and I timed for a decent size project it was over 40 seconds, but I believe a lot of it was Intelijava compiling, anyway, in go is instant.
- pjmlp 9y agoInteliJ doesn't have a built-in incremental compiler like Eclipse does.
- dilap 9y agoReally? I've recently been recruited to pitch in on a Java project, they're using maven, and the compiles sure aren't incremental. What should we be using instead?
- therealdrag0 9y agoEclipse or IntelliJ IDEs will compile while you code (like C#). Depends on the project setup and dependencies. But I've found that this works for most development until I need to produce an artifact. Then I run maven which does a lot more than just compile code and usually is longer than 40s.
- dilap 9y agoYeah, having to run a whole IDE just to get incremental compilation is pretty annoying tho. Perhaps I should just bite the Java bullet and try to use IntelliJ.
- christophilus 9y agoGradle? https://gradle.org/gradle-vs-maven-performance/ https://gradle.org/gradle-vs-maven-performance/
- peoplewindow 9y agoYou don't normally use Maven to compile every change when doing Java projects. Your IDE will incrementally compile what's needed based on importing the Maven config. You use Maven for tasks like packaging, linting, building JavaDocs etc.