December 8, 2023

PBX Science

VoIP & PBX, Networking, DIY, Computers.

What programming language performs best?

1 min read

What programming language performs best?

What programming language performs best? There is no suspense in C language first, Python last.

Every language has its own fans. It is not a problem to find 30 or 50 programming languages ​​in the world.

There are at least 20 popular ones. Let’s not talk about these languages.

Whether they are used or not, their performance is also an important indicator.

Which programming language has the best performance?

Someone has really done a ranking on this matter.

The Benchmarks Game has selected 25 popular languages ​​for testing.

There are ten specific items, as follows:

  • fannkuch-redux
  • n-body
  • spectral-norm
  • mandelbrot
  • clip
  • regex-redux
  • fast
  • k-nucleotide
  • reverse-complement
  • binary-trees

Then, the performance of each programming language is quantified according to the above test results.

The left part is the time, the shorter the better the performance, and the right part is the weighted score calculated based on the time and memory overhead.

What programming language performs best?

In this ranking, C language + GCC compilation is the fastest without any suspense, which is almost a consensus among programmers.

The performance of C++ and Rust is also very good, and the performance level of the very popular Java language is medium.

The python language, which is often touted by major programming training courses, is actually at the bottom.

Although everyone knows that its performance is not very good, it is a bit surprising that it is the last one.

Copyright © All rights reserved. | Newsphere by AF themes.