I don't quite understand the overall concept of MLIR
Are all the standard Mojo types, as in those found in Python, going to be MLIR? As I understand it, they're optimized behind the scenes but universal on the screens. Or is this for more complex or specialized types?
4 Replies
I look at it as a layer in the background that does most of the heavy lifting to make our screens work. It is a really complex domain-specific area in computing from what little I've learned about it. You get into assembly language, compilers, instruction set architectures. Then you get to the hardware side of things. Its a lot lol
All of the built-in types are defined using MLIR, even Bool and Int. Library writers can also define their own types using MLIR, no matter how simple or complex.
@Heyitsmeguys is MLIR essentially a layer in the stack? Really cool stuff
It's a compiler framework, like LLVM