6 ms·
I'd assume Mojo does more complex transformations at the MLIR level than Rust does at its MIR level.
by skavi 1mo ago
I'd assume Mojo does more complex transformations at the MLIR level than Rust does at its MIR level.
- afdbcreid 1mo agoFirst, I'm not sure. Rust has MIR optimizations and also other transformations. But even if yes, MLIR is part of the LLVM project, so it's technically still "just an LLVM wrapper".
- skavi 1mo agoMLIR is more a library for building a compiler than a compiler itself IIUC. LLVM can be thought of similarly, but IMO, it's more self contained.