4 ms·
> I used to work at Sun, and the Solaris codebase is the most amazing C code I've ever worked with. I'm probably going to be accused of bias, but the Linux code
by oscargrouch 9y ago
> I used to work at Sun, and the Solaris codebase is the most amazing C code I've ever worked with. I'm probably going to be accused of bias, but the Linux code is really messy compared to Solaris.
Its not bias. Im a (mostly) C/C++ dev, and very curious about some open source implementations, and the Solaris C source code is the most beautiful complex C codebase i've know.
Linux is what it is now, because of the amazing amount of man-hours into the codebase, but given the quality of the Solaris code compared to Linux, i bet if we could measure how many hours/enginners/money it would be necessary to make some features in parity for both OS's, not only Solaris would require less people and be implemented in less hours, but it would probably be less buggy.
If Solaris were open sourced in the right time, and not too late as it was, im sure it would probably be the top Unix flavor by now.
- cat199 9y agoBSD guy here - My heirarchy would be more better bsd's > not as clean bsds > solaris > linux with not as clean and solaris being on roughly the same footing- much like SMF requiring XML, solaris code, while very clean, seems very overengineered and not as elegant to me. that said, i really haven't hacked enough kernel code to deserve to be commenting, so yeah..
- foo101 9y agoCan you share some examples of what you consider "better bsd" and what you consider "not as clean bsd"?
- lokedhs 9y agoIt seems as though SMF was a bit controversial in the community. I do agree that it's a bit overengineered, but on the other hand I would take SMF before systemd any day.
- zokula 9y agoMeh Linux > Solaris =/= BSD Linux have less bugs per lines of code than any major OS in use. Linux code is the 'benchmark of quality http://www.pcworld.com/article/2038244/linux-code-is-the-benchmark-of-quality-study-concludes.html http://www.pcworld.com/article/2038244/linux-code-is-the-ben...