Re: D-Bus service activation and access control
Thiago Macieira <[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <4991430.ARJYFXs32L@tjmaciei-mobl1> |
On segunda-feira, 31 de julho de 2017 18:20:53 PDT Lawrence D'Oliveiro wrote: > On Tue, 1 Aug 2017 00:00:59 +0200, David Sommerseth wrote: > > Since OpenVPN 3 is also written as a C++ library, it makes it easier > > to extend it in many areas without adding much additional core code. > > When you write a library, consider that other languages will want to > create their own bindings for it. This is easier with a C library than > C++. > > By all means put a C++ layer on top of a C core. Then those other > languages can bypass that C++ layer and build on the C core, taking > advantage of their own language-specific cleverness, without having to > hack their way through the thicket of C++ cleverness. You can also do the opposite: create a C API for your library that is implemented in C++. The important thing is providing an official C API. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center _______________________________________________ dbus mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dbus