[Portland] libdapii

Dan Kegel dank at kegel.com
Wed Mar 1 02:11:32 EET 2006


On 2/28/06, Lubos Lunak <l.lunak at suse.cz> wrote:
> As far
> as the C API goes, that is. I don't see any advantage for e.g. Qt/KDE code -
> easy serialization of advanced types will suddenly become error-prone and
> cumbersome, C-style callsbacks as well, and so on.

My hunch is that C++ APIs, or C wrappers around C++ APIs, suffer
from ABI issues.  In particular, the problem identified by Mike Hearn
here http://gcc.gnu.org/ml/gcc/2005-04/msg00928.html
(I can give more links if needed).
Non-KDE client libraries meant to be linked to from apps should
be implemented in pure C to avoid these issues.
The server side can of course be implemented in C++ without
running into this problem.
- Dan



--
Wine for Windows ISVs: http://kegel.com/wine/isv



More information about the Portland mailing list