Re: D-Bus service activation and access control
David Sommerseth <[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <[email protected]> |
On 01/08/17 03:20, 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. This discussion is rather moot. The decision was taken by the lead developer in OpenVPN Technologies long before I got really involved in the OpenVPN 3 development. C++ was chosen, and aiming for at least the C++11 spec, which almost feels like a new language. And the performance is really top-notch with C++ these days, at least how OpenVPN 3 utilizes it. <https://github.com/OpenVPN/openvpn3/> -- kind regards, David Sommerseth _______________________________________________ dbus mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dbus