Answer the question
In order to leave comments, you need to log in
The hardest program in the world?
Hello!
How many million lines of code does the most complex program in the world have? What is this program? What language is it written in?
Answer the question
In order to leave comments, you need to log in
Everything is subjective. The Linux kernel, for example, is really big, but if it is well documented, made according to the rules of OOP or something like that, then it is quite possible to figure it out. On the other hand, google the source codes of the game "Schi" on gamedev. It seems that there is not much code, but it is unrealistic to figure it out without half a liter.
Recently I saw an article on Habré that at the moment the kernel on Linux has almost 7 million lines of code
The most difficult? I remember that year, they asked me to fix the site. And there is a significant bunch of php code - in my opinion it was the most complex program in the world, especially funny pieces flew to shit code. But it was not very big - a dozen files, but five thousand lines of code, although I did not count
(=<`:9876Z4321UT.-Q+*)M'&%$H"!~}|Bzy?=|{z]KwZY44Eq0/{mlk**hKs_dG5[m_BA{?-Y;;Vb'rR5431M}/. [email protected]\6543W10/.R,+O<
https://ru.wikipedia.org/wiki/Malbolge
1000 lines in assembler is more difficult than 10000 lines in pascal.
It is considered that OOo/LO. Over 10000000 lines of code. And there the devil himself will break his leg.
the notion of complexity is very subjective in our world of abstractions....
even
int main()
{ cout<<"hello world!\n";
return 0;
}
with a certain degree may seem complicated.... :)
and under the concept of "the most complex with the number of lines of code" it is better then to ask the question - what is the largest program in terms of lines of code?
on this score, the number of lines of code can also lead to many discussions, because the concept of SLOC is also found in different interpretations and is defined in practice in different ways ....
for fun: "the most complex program is the one that recursively launches itself, producing the original code indefinitely, filling all the computing resources of the universe..."
Everything in the world is relative.
Complex things can be in a very small number of lines of code.
For example, some code that would build a hyperbolic paraboloid, or other complex 3D figures from some input.
Although for some this is a simple task)
Maybe it's a 6-state Turing machine program that outputs 3.5*10^18267 units and stops? en.wikipedia.org/wiki/Busy_beaver
Another likely candidate is to emulate the Game of Life on its own (at 1/10000000 speed). It's hard to even talk about the language.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question