Re:/* You Are Not Expected to Understand This */ (2018)
by jacquesm on Wednesday October 21, 2020 @08:28PM
(#24853792)
Kernel + include files: about 10Kloc
File system: about 15Kloc
Network driver + IP stack: about 10 Kloc
Task manager, posix compatible libc odds and ends, maybe another 50Kloc, Graphics driver: 10Kloc, window manager 2500 lines.
So not that bad, you could do it by yourself in about 2 years of hard work, probably less than that if you use a VM instead of actual hardware if you're a halfway competent programmer. I've done it.
http://toastytech.com/guis/qnxdemo.html