3 ms·
It takes tooling team and discipline to keep compile times at bay when you reach mid size projects with compiled languages (looking at you Java, C++, Rust).
by wiseowise 8mo ago
It takes tooling team and discipline to keep compile times at bay when you reach mid size projects with compiled languages (looking at you Java, C++, Rust).
- pjmlp 8mo agoLack of discipline is exactly the magic word regardig the node ecosystem mess.
- wiseowise 8mo agoMaybe? The point still stands that majority of programmers/industry is not equipped to deal with this adequately.
- christophilus 8mo agoBut, it doesn’t need to be so. Go is pretty fast to compile. So is Jai, from what I’ve seen. So was TurboPascal. Rust has a similar problem to the one Vite has been solving- Rust (and most languages) weren’t designed for compilation speed, and it’s hard to retroactively fix that. But, there’s no reason we shouldn’t have a bunch of statically typed, fast-to-compile languages.
- pjmlp 8mo agoI agree with your remark, only that Rust's current problem is tooling, not the language itself. See OCaml or Haskell, they also have interpreters and REPLs as part of their tooling. Also there should be no need to always compile crates from scratch when starting a new project. Which ironically circles back to your remark of having a similar problem.