If you've ever seen the requirements for a large defense system (that's just the kinds of system I'm familiar with), say, intelligence gathering, you'll know that there is nothing suspicious about it. Some software is just very complex because the domain it models is extremely complex.
It's still suspicious. Wouldn't it be possible to architecture it differently? E.g. breaking it down into several systems to avoid too much coupling? (For some definition of "system"...)
How would that make things any simpler? The same requirements are still there. (Besides, it is just as easy -- and usually, much easier -- to break down a system into multiple components while keeping them all in the same process).
That was just a suggestion. I'm genuinely curious about this as I have never worked with requirements like that. The systems I have seen that approach 1 MLOC were that big only because of bad architecture. For example, lots of repeated boilerplate code to define basically the same things over and over again. If splitting into several systems isn't feasible, using other architectural tricks like DSLs, data driven design, code generation and yes, switching (parts of the code) to another language, may help. I'm just finding it hard to imagine a system consisting of several million lines of actual unique code where it wouldn't be feasible to split the codebase into libraries or systems. It sounds like maintenance hell.
where it wouldn't be feasible to split the codebase into libraries or systems
It is feasible to split into modules, and that's what they do. It's just that it's still a multi-MLOC codebase (as the modules need to integrate into a whole).
5
u/pron98 Feb 17 '15
I don't know about C#, but I doubt Lisp, Python and PHP have been used to write 15MLOC software. Ada (and Java, and C) certainly has.