maybe we could use ai to optimise compilers somehow.
rustc is enforcing a strong and expressive type system, checking for ownership, generating code from macros, etc. It will always be an order of magnitude slower than C/C++ compiler, kind-of by design.
Coming from a C++ background, I don't find Rust compile times to be that bad for comparable sized projects in C++.
Additionally rely on dynamic libraries during debug builds.
Standard ML, Idris, ..., F#, Haskell and OCaml have interpreters, and REPLs, in addition to the full blown AOT compilation.
Naturally Rust can also have those, however they aren't here today.