[GoLUG] Writing an internet server
Hendrik Boom
hendrik at topoi.pooq.com
Wed Aug 27 16:01:43 EDT 2025
On Wed, Aug 27, 2025 at 12:30:48PM -0500, Barry Fishman wrote:
>
> No. Its a matter of multi-language support. Gnome has gone out of their
> way to support multi-language support, and out of the box advertises
> their multi-language support and has a whole gobject-introspection
> mechanism to automate building the C API interface code required.
>
> KDE doesn't seem so have a similar facility. It has a C++ interface,
> which due to C++'s compiler specific mangling of linker names make
> coding the required C based foreign function support (that most
> development languages have) much harder to maintain). KDE seem
> supported only in large developer communities like Python, where enough
> Qt using developers exist to make it worthwhile.
You don't have to use the mangled names to call between C++ and C.
It is possible to declare that a function in a C++ program uses
C linkage instead of C++ linkage, and then it can be used inside
C code with the ordinary declared name.
-- hendrik
More information about the GoLUG
mailing list