2 ms·
I maintain that. Actually I think a modern browser is probably more complex than many small kernels. It's probably not the best metric but my checkout of the L
by simias 8y ago
I maintain that. Actually I think a modern browser is probably more complex than many small kernels.
It's probably not the best metric but my checkout of the Linux kernel (a very advanced OS with support for many architectures and devices) is at about 14 million lines of C code (per sloccount), although if you remove device drivers and only count the "core" of the kernel you end up with about 3M lines. I don't have any browser source code available on my computer but a website[1] says that Firefox 20 (released in 2013) was around 4M lines of code and was rising quite fast.
Again, this is comparing apples to kernels but it shows that it's still within the same order of magnitude as far as code size is concerned. The maintenance burden alone on these large codebases is huge, you need teams of engineers just dealing with things like testing and regressions. The bar is extremely high for competition, you won't have two clever engineers write the next killer browser in their basement.
[1] https://almossawi.com/firefox/ https://almossawi.com/firefox/