Y
Hacker News
new
|
ask
|
show
|
jobs
by
skavi
116 days ago
I'd assume Mojo does more complex transformations at the MLIR level than Rust does at its MIR level.
1 comments
afdbcreid
116 days ago
First, 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".
link
skavi
116 days ago
MLIR 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.
link
But even if yes, MLIR is part of the LLVM project, so it's technically still "just an LLVM wrapper".