Théo Pomies
Théo Pomies
MModular
Created by Théo Pomies on 12/8/2023 in #questions
Can I have a struct hold a pointer to an another Self instance?
When I try doing that I get this issue: https://github.com/modularml/mojo/issues/1402 I'd love to do Day8 cleanly with a Tree but I fear I won't be able to if nobody has a work around this
1 replies
MModular
Created by Théo Pomies on 12/7/2023 in #questions
Will the special methods slowly transition to traits?
Will the special methods slowly get replaced by traits to allow for static analysis, optimizations, more safety, parameterized functions discriminating by traits etc. ? e.g. std::ops Traits like Add for __add__, Mul... in Rust ?
10 replies
MModular
Created by Théo Pomies on 12/6/2023 in #questions
will mojo include an all in one tool like cargo
Will it be easy to create, publish, import / list dependencies like with cargo for Rust or will it be a bit more cumbersome like Python or C++ ? Is it planned in the roadmap or not ?
7 replies