3 ms·
> systemd, core system in many Linux distributions, written in C++ s/C++/C
by johnr2 7y ago
> systemd, core system in many Linux distributions, written in C++
s/C++/C
- adev_ 7y agoYep, systemd is in plain old C....I wish it would be in C++.... Most of the security vulnerabilities reported (https://www.cvedetails.com/product/38088/Freedesktop-Systemd.html?vendor_id=7971 https://www.cvedetails.com/product/38088/Freedesktop-Systemd...) would not have existed in modern C++. Including all the heavy ones implying stack smash due to VLA buffers that do not exist in C++. Many will hate me for that, but preferring old-C over C++ for a system software after 2011 is a non-sense. Even the maintainers of GCC understood that.
- JdeBP 7y agoIndeed. It is other programs that are written in C++. (-: * http://jdebp.uk./Softwares/nosh/ http://jdebp.uk./Softwares/nosh/