4 ms·
Strongswan, the open source IPSec VPN software (https://www.strongswan.org/ https://www.strongswan.org/) is written in object oriented C. Ref: https://docs.stro
by anthomtb 4y ago
Strongswan, the open source IPSec VPN software (https://www.strongswan.org/ https://www.strongswan.org/) is written in object oriented C. Ref: https://docs.strongswan.org/docs/5.9/devs/objectOrientedC.html https://docs.strongswan.org/docs/5.9/devs/objectOrientedC.ht...
I have not looked through the source myself but thought this might be an interesting reference.
- _notreallyme_ 4y agoI can confirm that indeed Strongswan is written in OOP C. This is relatively common in software with a modular architecture that is intended to run on embedded systems and whose design dates back from a time when C++ standard library was not really well supported on such systems. This is also useful when performance is highly important and you can't afford the C++ vtable overhead.