TeamPuzel
MModular
•Created by TeamPuzel on 9/15/2023 in #questions
When (if ever) can we expect arbitrary target support?
In Zig you can choose almost any target triple you need and it works, cross compilation is trivial too. Currently Mojo does not allow this, rejecting most targets - is this just a temporary limitation or is every target going to require patches to the compiler like Swift? Rust is also not that great here requiring installation of a separate toolchain for each target if I remember correctly.
1 replies
MModular
•Created by TeamPuzel on 9/12/2023 in #questions
`llvm.add` is interpreted as `llvm.addrspacecast`
This feels like it's not working correctly, considering add is documented as something else.
102 replies
MModular
•Created by TeamPuzel on 9/10/2023 in #questions
Will there be built in testing support like in Zig or Rust?
Something Rust makes very easy to set up is testing, and Zig makes this even easier by just having
test "name" { ... }
declarations. The less friction there is for good practices like this the more people tend to do it.
Would something like this be considered for mojo at some point?20 replies
MModular
•Created by TeamPuzel on 9/9/2023 in #questions
Why doesn't fn() coerce to fn() capturing
This works thanks to the signatures being different:
However it's still annoying to duplicate every function twice.
4 replies
MModular
•Created by TeamPuzel on 9/8/2023 in #questions
VSCode extension not working on Linux
The output error is:
6 replies