当前位置:网站首页>The performance of major mainstream programming languages is PK, and the results are unexpected
The performance of major mainstream programming languages is PK, and the results are unexpected
2022-07-04 14:48:00 【Hollis Chuang】
Produce | OSC The open source community (ID:oschina2013)
“ What is the fastest programming language ”, To answer this question ,The Benchmarks Game Specially designed performance test for mainstream programming languages . The test items include ( You can click the end of the text to read the original text to view the details ):
fannkuch-redux
n-body
spectral-norm
mandelbrot
pidigits
regex-redux
fasta
k-nucleotide
reverse-complement
binary-trees
According to The Benchmarks Game A visual chart is made of the test data of , As shown below , Grey reflects time efficiency , Shorter means better performance , Brown is a weighted value based on execution time and memory overhead .

You can see , Some of the results were somewhat unexpected , such as Python, Although it is well known that its performance is relatively backward , But I didn't expect to be the bottom in terms of execution time .C、C++ and Rust The execution time of shows a leading edge , The following ones include C# and Julia,Go and Java Performance is quite , But it's more behind .
And then there will be Node.js、Swift and Dart, as well as PHP, These languages also present different performance gaps .
Related links :
https://benchmarksgame-team.pages.debian.net/benchmarksgame/index.html
https://goodmanwen.github.io/Programming-Language-Benchmarks-Visualization/.
End
My new book 《 In depth understanding of Java The core technology 》 It's on the market , After listing, it has been ranked in Jingdong best seller list for several times , At present 6 In the discount , If you want to start, don't miss it ~ Long press the QR code to buy ~

Long press to scan code and enjoy 6 A discount
Previous recommendation
Redis Distributed lock failure , I can't help being rude ...
How to prevent your jar Decompiled ?
There is Tao without skill , It can be done with skill ; No way with skill , Stop at surgery
Welcome to pay attention Java Road official account

Good article , I was watching ️
边栏推荐
- Detailed explanation of visual studio debugging methods
- Popular framework: the use of glide
- Opencv3.2 and opencv2.4 installation
- WT588F02B-8S(C006_03)单芯片语音ic方案为智能门铃设计降本增效赋能
- LVGL 8.2 LED
- Solutions aux problèmes d'utilisation de l'au ou du povo 2 dans le riz rouge k20pro MIUI 12.5
- Cann operator: using iterators to efficiently realize tensor data cutting and blocking processing
- Kubernets Pod 存在 Finalizers 一直处于 Terminating 状态
- 03-存储系统
- 软件测试之测试评估
猜你喜欢

An overview of 2D human posture estimation

各大主流编程语言性能PK,结果出乎意料

Implementation of macro instruction of first-order RC low-pass filter in signal processing (easy touch screen)

UFO:微软学者提出视觉语言表征学习的统一Transformer,在多个多模态任务上达到SOTA性能!...

Talk about 10 tips to ensure thread safety

Cann operator: using iterators to efficiently realize tensor data cutting and blocking processing

Kubernets pod exists finalizers are always in terminating state

Transplant tinyplay for imx6q development board QT system

IO流:节点流和处理流详细归纳。

关于FPGA底层资源的细节问题
随机推荐
IO流:节点流和处理流详细归纳。
Docker compose public network deployment redis sentinel mode
Data Lake (13): spark and iceberg integrate DDL operations
Is it safe to open an account online for stock speculation? Will you be cheated.
10. (map data) offline terrain data processing (for cesium)
Ultrasonic distance meter based on 51 single chip microcomputer
Digi重启XBee-Pro S2C生产,有些差别需要注意
毕业季-个人总结
5g TV cannot become a competitive advantage, and video resources become the last weapon of China's Radio and television
Talk about 10 tips to ensure thread safety
Summary of common problems in development
Implementation of macro instruction of first-order RC low-pass filter in signal processing (easy touch screen)
电商系统中红包活动设计
Node mongodb installation
[MySQL from introduction to proficiency] [advanced chapter] (IV) MySQL permission management and control
First experience of ViewModel
一文概览2D人体姿态估计
产业互联网则具备更大的发展潜能,具备更多的行业场景
LVLG 8.2 circular scrolling animation of a label
LVGL 8.2 Line wrap, recoloring and scrolling

