1. 17

The most exciting part of this release is the new MIR backend becoming the default.

MIR, or “mid-level intermediate representation” is an intermediate representation between high-level AST and low-level LLVM IR. Benefits of MIR include:

  • Faster compilation time (incremental compilation)
  • Faster execution time (a new MIR-based optimization pass)
  • More precise type checking (more sophisticated and flexible borrow-checking)
  • Simpler implementation (MIR has a core set of powerful primitives)
  1.