News for hackers. Stuff that matters.
Re:When Zig Outshines Rust – Memory Efficient Enum Arrays by BaculumMeumEst on Tuesday September 19, 2023 @04:19AM (#37566945)
Argh, Odin looks so close to perfect for me. The vendor libraries look fantastic. But I'm working up to deploying on Android and using OpenXR. There's support and/or examples of that for C++ and Rust, and I could probably get Zig working either by cross compilation or by exporting to C. But I don't see any documentation or examples for cross compilation for Odin, and that use case seems to fall just outside the range of its built-in batteries.

Do you think it's doable?

Re:When Zig Outshines Rust – Memory Efficient Enum Arrays by 59nadir on Tuesday September 19, 2023 @05:30AM (#37567451)
I wouldn't know about Android, really, but I do know that there is some discussion right now about how some consoles are off limits due to not being allowed to ship non-C/C++ code to them and this will be addressed by compiling Odin to a subset of C in the future if I remember correctly.

I would probably inquire on the Odin discord server about this particular thing as it's very likely someone has already stumbled upon it: https://discord.com/invite/sVBPHEv