M
Modular•11mo ago
gryznar

Rewrite Mojo in Mojo

If Mojo will mature, would it be posible / reasonable to rewrite parts of its compiler (or whole compiler) in Mojo? It could lead to greater possibilities and maintainability in long term
6 Replies
fib0
fib0•11mo ago
We need MLIR bindings for Mojo
ModularBot
ModularBot•11mo ago
Congrats @fib0, you just advanced to level 1!
gryznar
gryznarOP•11mo ago
This is going to be implemented in future?
Melody Daniel
Melody Daniel•11mo ago
Indeed. I've been wondering if we'll get that. Can self host Mojo without it.
gabrieldemarmiesse
gabrieldemarmiesse•11mo ago
I can't find it, but I remember Chris saying that one day, the mojo compiler will be re-written in mojo. I think it was in Lex's podcast. He also said just after "I can't wait for the day when I won't have to write C++ anymore" 😂
gryznar
gryznarOP•11mo ago
I hope, that this is still actual! I am curios, but it seems to me, that LLVM backend will remain untouched? This could also increase compilation speed? Mojo gives much more accessible possibilities to utilize hardware than C++
Want results from more Discord servers?
Add your server