3 ms·
Yep, 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/Freedes
by adev_ 7y ago
Yep, 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.