I wonder if the JVM as an initial target might be interesting given how mature and robust their JIT is.
I wonder if the JVM as an initial target might be interesting given how mature and robust their JIT is.
Rust is in the process of building out the cranelift backend. Cranelift was originally built to be a JIT compiler. The hope is that this can become the debug build compiler.
We almost definitely need to build a JIT in the future to avoid this problem.
For dev builds, I see JIT compilation as a better deal than debug builds because it's capable of eventually reaching peak performance. For performance sensitive stuff like games, it really matters to keep a nice feedback loop without making the game unusable by turning off all optimizations.
AOT static binaries are valuable for deployments.
No idea how expensive it would be to develop for an existing language like Rust though.
So if enough people care for Rust, it is also possible.