I'd want to believe that compiler engineers really put effort into compilers performance, but I just don't buy it.
LLVM, GCC, MSVC, etc, etc all of them touch C/C++ and are slow as hell
For compilers written in other languages I'd say that still LLVM is the bottleneck
>It avoids the cost of automatic memory management and provides low-level control.
What "low-level control" do you need? It is not firmware development.
Btw: Microsoft rewrote their C# compiler from C++ to C#.
In any case, it wouldn't make sense from having a bootstraped compiler point of view.
It's really easy to accidentally write code that walks off a performance cliff on unexpected input, but that's likely to get hacked around if someone reports it as slow compilers do annoy people.
JITs are just some part of what's under the general "compilers" term
You could write a compiler for Pascal in Python or another very slow language and it would be faster than a Rust or C++ compiler written in Rust or C++. That is because those languages have designs that make compilation algorithmically slow, while Pascal was designed to be fast to compile.
It becomes visible when you build a large project: you notice that when you face 100k LOCs, efficiency of every compiler's part starts to matter, and RAM usage may grow to uncomfortable levels if your compiler does not care enough.
People like fast compile times and people either like to use (or are forced to use) languages that are inherently slow to compile. That's exactly why compiler performance is absolutely critical.
With such requirements, I think a point that is fair to make is that Rust acts as a great middle-ground. It avoids the cost of automatic memory management and provides low-level control while also having a more powerful type system and a more "functional" style.
Brushing off the actual efficiency of the produced binary seems like a huge oversight when dealing with a compiler.