Re:Swift and C++ interoperability workgroup announcement
by gumby on Tuesday February 01, 2022 @10:04AM
(#30163378)
That is not completely true. There could be object round trip support between objective c and swift objects which would not be available through a C interface. Consider ObjectiveC++ as an example.
[ Parent
| on HN ]
Re:Swift and C++ interoperability workgroup announcement
by jb1991 on Tuesday February 01, 2022 @10:48AM
(#30164064)
You are talking about something different, I think. Of course, if you need Objective-C features, you don’t get those from C. But if you simply need C features, you don’t need Objective-C just for that. In the context of a C api exposed over C++, objective C is not necessary.