M
Modular•8mo 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•8mo ago
We need MLIR bindings for Mojo
ModularBot
ModularBot•8mo ago
Congrats @fib0, you just advanced to level 1!
gryznar
gryznar•8mo ago
This is going to be implemented in future?
Melody Daniel
Melody Daniel•8mo ago
Indeed. I've been wondering if we'll get that. Can self host Mojo without it.
gabrieldemarmiesse
gabrieldemarmiesse•8mo 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
gryznar•8mo 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