M
M
Michael R.2021-08-25 15:50:56
go
Michael R., 2021-08-25 15:50:56

How up-to-date is the performance information for this C# vs Go benchmark?

Greetings!

I found a resource with the performance of programs on different languages ​​https://programming-language-benchmarks.vercel.app .

The question will concern the comparison of C# vs Go: in your opinion, how relevant is the information about the performance of this benchmark https://programming-language-benchmarks.vercel.app... in terms of the program code itself on each of the PLs? Because I am not an expert, so I would like to know the opinion of experts on each of the PLs, perhaps the program code is not optimized, so it works worse than it could?

In general, any comments will be interesting, why the program on the specified PL works worse than it could!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
1
12rbah, 2021-08-25
@Mike_Ro

Here in itself "comparison of productivity" not absolutely correct statement of a question, since. in some tests, not the most productive languages ​​are in the first place, so you need to clarify the context of the comparison, in which area, whether it is acceptable to use standard common functions, etc.
Normally, you need to check that the code is optimized for a certain language, if you write something similar in different languages, it is not a fact that it will be equally optimized. Here in several tests I found direct output to the console during the test, although I usually do not write performance tests, but such things in tests are bad, because. The console output functions are implemented differently in each language (//go fmt.Println(prime) //c# Console.WriteLine(prime)). And they usually vary in severity.
UPD: in general, I wanted to say that in one language some functions can be better optimized than others, and if you write an application using certain standard functions, then it practically makes sense to compare only these functions / modules in languages

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question