T
T
tuccar2015-02-03 17:46:24
Programming
tuccar, 2015-02-03 17:46:24

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

12 answer(s)
M
Max, 2015-02-03
@AloneCoder

/irony/ If I tell you what this program is, I'll have to kill you

G
GavriKos, 2015-02-03
@GavriKos

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.

S
Seth26, 2015-02-03
@Seth26

Recently I saw an article on Habré that at the moment the kernel on Linux has almost 7 million lines of code

R
raiboon, 2015-02-03
@raiboon

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

V
Vladimir, 2015-02-03
@azrail_dev

(=<`: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

M
maaGames, 2015-02-03
@maaGames

1000 lines in assembler is more difficult than 10000 lines in pascal.

A
Alexander, 2015-02-04
Madzhugin @Suntechnic

It is considered that OOo/LO. Over 10000000 lines of code. And there the devil himself will break his leg.

G
globuser, 2015-02-10
@globuzer

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..."

U
Urukhayy, 2015-02-03
@Urukhayy

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)

X
xmoonlight, 2015-02-03
@xmoonlight

the answer to the question lies somewhere here

M
Mrrl, 2015-02-03
@Mrl

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.

A
alk, 2015-02-04
@Alexey_Kutepov

I don’t know what kind of program this is, but I don’t wish to support and refine it even to the enemy)) You can imagine how much shit code has accumulated in it during the time it was written))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question