I think people always overestimate how quickly compilers can get better though. It does seem to take forever.
One interesting project in the JVM world right now is Graal. It rewrites the HotSpot compilers, in Java (boggle). The app starts with the compiler compiling itself. They plan to have AOT compilation as part of it to avoid this overhead at some point. But the idea is that it becomes a lot easier to implement new fancy compiler technologies and refactorings when you aren't writing it in C++.
Yeah, it starts out by interpreting itself. A few manually chosen methods are then inserted into the compile queue at the start to kick things off and speed it up, and the rest goes from there.
33
u/__Cyber_Dildonics__ Jul 05 '15
I've been hearing promises like this from Java for literally two decades, so I'll believe it when I see it.
I wonder how they will get around the array bounds checking if it is going to work the same?