3 ms·
"We know that most of the code is written in C and that it comprises 2.5 Megalines of code, roughly[1]. One may wonder why it is possible to write such a comple
by pgeorgi 14y ago
"We know that most of the code is written in C and that it comprises 2.5 Megalines of code, roughly[1]. One may wonder why it is possible to write such a complex system and have it work. This is the Erlang programmers view."
Contrast this with https://www.ohloh.net/p/erlang https://www.ohloh.net/p/erlang: "In a Nutshell, Erlang has had 7,332 commits made by 162 contributors representing 2,346,438 lines of code"
I'm not sure if those roughly 154kloc really make a difference...
- deno 14y agoThe 2.5 MLOC of NASA code is mostly generated. I’m not really sure what point are you trying to make…?
- deleted 14y ago[deleted]
- pgeorgi 14y agoFrom an erlang programmer's point of view, 2.5MLOC are a complex system. On the other hand, every Hello World in Erlang drags in about 2.5MLOC of liability (even if much of that is never run). And I doubt it's all autogenerated. So if anything, 2.5MLOC of generated NASA code is probably less complex than the erlang runtime.
- deno 14y agoThe article is not about the MLOC. And anyway, that 2.5 MLOC of Erlang includes all kind of libraries, like Mnesia, an entire database application.
- ibotty 14y agoyou cannot compare total code size with the size of the repository.