Will MOJO have Unions, lile C or C++? #773
Replies: 1 comment 1 reply
-
Hey, although C-style unions are not on the roadmap themselves, ADTs are. Implementing language support for C-style unions is one path to implementing ADTs in the language, and it's not a bad to have support for C-style unions anyways. I'm not able to provide a timeline at the moment, however. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
To map types from C and C++ to MOJO, MOJO will have to have C style Unions, compatible with the C ABI,
So my question is will it have, or when will it have Union's?
Is this a priority for the MOJO implementation?
Best regards,
Beta Was this translation helpful? Give feedback.
All reactions