Let's talk about making portable libraries with Swift clients. Has anyone made a tool yet to autogen Obj-C wrappers for C++ interfaces?
Conversation
Now you're just hurting me on purpose.
1
Do you have a better idea?
1
I have lofty ideas about how our code should be arranged, & C++ only factors in when you absolutely need cross-platform OOP.
1
You'd prefer C as lingua franca?
2
I get shit on for it,but yes. I've always found good C code to be more readable than C++, but "good" is the hard part there.
2
1
Replying to
Yeah, I don't strongly disagree. I'm obviously not an OOP adherent by any means but find it easier to write good interfaces in C++
No, interfaces in general. Generics, references, lambdas, and better const semantics really help.
2
Show replies

