6 ms·
Systemd is straight C, not C++.
by LukeShu 8y ago
Systemd is straight C, not C++.
- wokwokwok 8y agospins finger in the air the difference is immaterial and irrelevant in this context.
- lolc 8y agoA huge part of GNU/Linux is written in C. A small part is written in C++. I would accept the argument that C++ is less accessible than C to people maintaining Linux systems. Based on this alone I would say that yes, the difference is material and relevant.
- wokwokwok 8y agopish posh. It could be written in Egyptian and it would make no material difference to the ease of debugging for most people. The number of people who are C++ programmers and can deal with strace vs. C programmers who can deal with strace is really that significant? I don't buy it. The two groups intersect significantly. The point is that other people who are not C or C++ programmers have to deal with this kind of stuff from systemd. This is just pedantry for the sake of it. Systemd would be only marginally harder to debug if it was in C++ or heck, even rust, or go. No one is opening the source code here.
- Gibbon1 8y ago> C, not C++ The two wretched sisters.
- Uberphallus 8y ago> Uses UNIX-like OS > C/C++ bad
- Gibbon1 8y ago> writes C/C++ every day. > C is is stupid and breaks things > C++ has serious mental health issues