3 ms·
"Maintaining portable code increases complexity Since systemd is written in C, the canonical way to write portable code is by using conditional compilation, fo
by bch 13y ago
"Maintaining portable code increases complexity
Since systemd is written in C, the canonical way to write portable code is by using conditional compilation, for example with ifdef statements. That makes the code harder to understand and reason about, but more importantly it blows up the test matrix."
Take a page from NetBSDs effort... http://www.netbsd.org/about/portability.html http://www.netbsd.org/about/portability.html