3 ms·
> The alternative would be to say that systems in raw C, or assembly language, are more maintainable, which is obvious nonsense. The existence and success of L
by flohofwoe 7y ago
> The alternative would be to say that systems in raw C, or assembly language, are more maintainable, which is obvious nonsense.
The existence and success of Linux alone seems to contradict your opinion, and that's hardly the only pure C code base of that size that's been successfully developed and maintained over decades by many contributors. If anything, that makes C look like a pretty good choice for creating a big maintainable code base.
- jcelerier 7y ago> The existence and success of Linux alone seems to contradict your opinion, you cannot make useful comparisons with "Linux alone". See for instance SerenityOS (https://github.com/SerenityOS/serenity https://github.com/SerenityOS/serenity) : in one year and a few months it went from zero to full-blown C++ OS with graphical shell, userspace, and a dozen apps (https://github.com/SerenityOS/serenity/tree/master/Applications https://github.com/SerenityOS/serenity/tree/master/Applicati...)... in 140kloc. Of course we'll never know how Linux would have turned out if it had started today with modern C and modern computing power, but it does not seem out of this world that C++ is a more productive language than C by a non-negligible amount.
- flohofwoe 7y ago> but it does not seem out of this world that C++ is a more productive language than C by a non-negligible amount While this is worth discussing, such a nuanced statement is far from the absolutist "obvious nonsense" of the parent post I was replying to ;) Of course projects like SerenityOS are a great achievement, but I'm sure there's plenty of examples where operating systems have been brought into a similar state, in similar time, and with similar team size with C and a bit of assembly (e.g. AmigaOS comes to mind).
- ncmncm 7y agoThis is amazing. Why have I not heard about it?