Both #swiftlang and #rustlang have generics and enums with associated data. Is there any chance that they can interoperate without C FFI?
without #[repr(c)] the layout of our enums is undefined. And our calling convention isn't either. So for now, no, sadly.
-
-
totally understandable
i was just curious to know what woukd be required to bave a modern FFI for modern languages -
yeah, mostly just "agree on things!" Sadly, it's not a simple problem
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.