L
L
Letopisec2022-01-07 21:15:49
Programming
Letopisec, 2022-01-07 21:15:49

Why are some languages ​​faster and others slower, and why do beginners google the fastest language and not the slowest?

I googled around here and I was wondering: most of the questions are about which language is the best, which language is the most popular, which language is the fastest.

But how are best and speed determined in general, if there were no Google and you would have several languages, and a book about syntax, and no more information, then how to determine which one is better, which is faster? So I can call a method or write a method of some calculation, then what will be the speed? The speed of the language or the literacy of the programmer? Or computer performance?

And if one language calculated faster, then it is better?

And the number of written lines of code, when achieving the same result, shows which language is better?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Jacen11, 2022-01-07
@Letopisec

I googled around here and I was wondering, most of the questions are about which language is the best, which language is the most popular, which language is the fastest.

well, actually, in articles where they talk about which language is the fastest and tell how they determine
So I can call a method, or write a method of some kind of calculation, then what will be the speed? The speed of the language or the literacy of the programmer? Or computer performance?
And if one language calculated faster, then it is better?
the answer to this question will be the answer to my question - Here you can jump, you can think, then what will be the speed of this? The speed of your language or your literacy? Or atmospheric pressure? And if one arm is faster, then the leg is better?
And the number of written lines of code, when achieving the same result, shows which language is better?
certainly. See the solution of the problem on the brainfuck under the spoiler. Only 8 characters are used for commands and all in one line, what could be better? The best language
The user enters letters one by one until he enters a period character (code 46). Print the entered characters in alphabetical order (with repetitions)
>>,[>>,]<<[[<<]>>>>[<<[>+<<+>-]>>[>+<<<<[->]>[<]>>-]<<<[[-]>>[>+<-]>>[<<<+>>>-]]>>[[<+>-]>>]<]<<[>>+<<-]<<]>>>>[.>>]

How is the best and fastest defined?
obviously the articles will be many times more complete than any of the answers here. You have already tried to google, so you are not banned, continue

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question