当前位置:网站首页>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 ️
边栏推荐
- Opencv learning notes - linear filtering: box filtering, mean filtering, Gaussian filtering
- Talk about 10 tips to ensure thread safety
- LVGL 8.2 LED
- Nowcoder reverse linked list
- PyTorch的自动求导机制详细解析,PyTorch的核心魔法
- Kubernets Pod 存在 Finalizers 一直处于 Terminating 状态
- 金额计算用 BigDecimal 就万无一失了?看看这五个坑吧~~
- LVGL 8.2 Line wrap, recoloring and scrolling
- leetcode:6109. Number of people who know the secret [definition of DP]
- 信号处理之一阶RC低通滤波器宏指令实现(繁易触摸屏)
猜你喜欢
Query optimizer for SQL optimization
Kubernets pod exists finalizers are always in terminating state
阿里被裁员工,找工作第N天,猎头又传来噩耗...
程序员自曝接私活:10个月时间接了30多个单子,纯收入40万
Expose Ali's salary and position level
[information retrieval] experiment of classification and clustering
10. (map data) offline terrain data processing (for cesium)
函数计算异步任务能力介绍 - 任务触发去重
Introduction to asynchronous task capability of function calculation - task trigger de duplication
PyTorch的自动求导机制详细解析,PyTorch的核心魔法
随机推荐
Five minutes per day machine learning: use gradient descent to complete the fitting of multi feature linear regression model
[algorithm leetcode] interview question 04.03 Specific depth node linked list (Multilingual Implementation)
LVGL 8.2 Line
A keepalived high availability accident made me learn it again
Digi XBee 3 rf: 4 protocols, 3 packages, 10 major functions
现代控制理论入门+理解
Chapter 17 process memory
深度学习7 Transformer系列实例分割Mask2Former
Graduation season - personal summary
LVGL 8.2 text shadow
Introduction to asynchronous task capability of function calculation - task trigger de duplication
Codeforce:c. sum of substrings
为什么国产手机用户换下一部手机时,都选择了iPhone?
C language programming
Combined with case: the usage of the lowest API (processfunction) in Flink framework
LVGL 8.2 List
Talk about 10 tips to ensure thread safety
Explain of SQL optimization
Openresty current limiting
Is it safe to open an account online for stock speculation? Will you be cheated.