M
Modular2d ago
NEEKO

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
Robert
Robert2d ago
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
Heyitsmeguys
Heyitsmeguys2d ago
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.
Robert
Robert2d ago
@Heyitsmeguys is MLIR essentially a layer in the stack? Really cool stuff
Heyitsmeguys
Heyitsmeguys22h ago
It's a compiler framework, like LLVM
Want results from more Discord servers?
Add your server