4 ms·
I believe it's mostly just a direct jab at C++. Almost every other language has fast or fast enough compilation speeds.
by dimitrios1 3y ago
I believe it's mostly just a direct jab at C++. Almost every other language has fast or fast enough compilation speeds.
- intelVISA 3y agoRust sends its regards.
- rockwotj 3y agoSo does kotlin
- andrekandre 3y agoswift too...
- streakfix 3y agoJavascript too
- junon 3y agoEveryone says this but I've yet for it to ever actually be a problem.
- earthling8118 3y agoThat's because it isn't unless you have a very exceptional case or maybe you make a mega-crate. I was rocking a severely outdated processor and it was slightly annoying, but not that bad at all. And once the dependencies are built it was a non-issue. With a more modern CPU the times are miniscule.
- junon 3y agoRight that's been my experience too. The initial build of dependencies takes a bit but that's never a problem for me personally.
- anonymoushn 3y agoAny language that uses an LLVM backend is dog slow.
- plugin-baby 3y agoScala can be very slow. I’ve also worked on Java / Spring Boot projects that seem to take 10s of seconds to compile, and even longer to start up. And TypeScript too. I suspect the latter two have simple options which could improve things significantly, but I haven’t dug in.
- marginalia_nu 3y agoJava is very much what you make of it. Spring Boot tends to pull in everything and the kitchen sink, and the atrocious build and start times are a fairly logical consequence. Vanilla Java can be very quick to start and build, especially if you do incremental builds. In my search engine project which is ~50kloc I have incremental builds that can be as fast as 1-2 seconds including running all pertinent tests[1], and the start time for the stuff that doesn't like populate an 12 Gb hashmap in memory upon start-up is also single digit seconds. [1] A clean rebuild is 37 seconds; 108 seconds with a full suite of tests. That's fairly tolerable IMO. I've horror stories of Java builds that have had compile times anywhere between 15 and 45 minutes.
- rvense 3y agoThe Typescript/Angular project I dayjob on sometimes takes minutes to compile, depending on whatever optimization settings the last Angular update has changed/messed up. (The compilation also frequently spins out of control until it OOMs.)
- easton 3y agoHah. We have shared build boxes at work, which are EC2s that are too small to share anyway, and if two Angular builds run on the same box at once then its guaranteed that the machine is going to die. It's very interesting how things start to fail strangely when the machine is out of RAM.
- winrid 3y agoC++ actually has pretty competitive compilation speeds, barring metaprogramming, up to a point.