这个各大语言性能测试结果挺有意思

2022-06-27 13:06:40 +08:00
 wdwwtzy
来自 https://github.com/GoodManWEN/Programming-Language-Benchmarks-Visualization

21298 次点击
所在节点    程序员
182 条回复
abersheeran
2022-06-27 16:49:18 +08:00
@qrobot 显然 discord 的这个业务是那 1%,你可以尝试去调查一下,有多少人开发的业务需要精细化到扣 GC 时间。绝大部分的业务甚至连 Python 的瓶颈都摸不到。更别提 Golang 了。

类似于 V2EX 甚至 Instagram 的 CRUD ,Python 就够用了。
greygoo
2022-06-27 16:49:45 +08:00
看看好玩就行了,没有什么参考性,性能都是要代价的
g190875565
2022-06-27 16:51:45 +08:00
jsnb
qrobot
2022-06-27 16:53:51 +08:00
@abersheeran

交换机, 路由器, 还有 arduino 设备。 也是其中的 1%吗? 还有 linux 内核 等等, 你这个 1% 确实有点多啊。。。。。
qrobot
2022-06-27 16:55:14 +08:00
@abersheeran 在补充一下 chromium 如果也是 1% 那么你说的百分之一占据的全世界的开发还是挺多的
abersheeran
2022-06-27 16:56:48 +08:00
@qrobot 💦给你说个反直觉的东西,Web 服务,php 的占有率高达 78.9%。这世界上的程序远比你想象的多。
abersheeran
2022-06-27 16:58:52 +08:00
@qrobot chromium 既然你提到这个,那你思考一下,是在 chromium 上面跑页面的业务多,还是开发 chromium 的多。
NeezerGu
2022-06-27 16:59:25 +08:00
如果这是跑分图,我大 python 秒天秒地 doge
qrobot
2022-06-27 17:00:06 +08:00
@abersheeran 实际上开发 chromium ,或者基于 chromium 开发出来的程序,比你想想中的多的多
NeezerGu
2022-06-27 17:00:37 +08:00
@ecnelises 我怎么记得 OCaml 速度应该比 haskell 快很多?不是常常用来写量化交易还是什么的吗?
Protocol
2022-06-27 17:01:23 +08:00
明明 C++是第一,而且 C#比 C++性能表现已经低了一倍,为什么那么多喊 C#牛逼的却没有喊 C++牛逼的?
abersheeran
2022-06-27 17:01:23 +08:00
@qrobot 嗯,我最近的活刚好就是有一部分涉及到 chromium 。你说是网站多,还是开发 chromium 的多?
qrobot
2022-06-27 17:07:32 +08:00
@abersheeran PHP 的占有率是百分之 78.9%, 这是原文,如果是这个去调查肯定不太准啊

这个调查结果是来着这里的对吧 https://w3techs.com/technologies

Methodology
When interpreting our surveys, you should know the following:

We investigate technologies of websites, not of individual web pages. If we find a technology on any of the pages, it is considered to be used by the website.
We include only the top 10 million websites (top 1 million before June 2013) in the statistics in order to limit the impact of domain spammers. We include all sites that are either in the Alexa top 10 million or in the Tranco top 1 million list. Website popularity rankings are sometimes considered inaccurate for measuring website traffic, but we find that they serve our purpose of providing a representative sample of established sites very well. The Alexa service retired on May 2022, but the ranking API will be operational until December 2022. We keep using Alexa for the time being, and we are working on alternatives.
We exclude sites that have no useful content, e.g. sites that only show the default web server page. We also exclude sites that are essentially duplicates of other sites.
We do not include redirected domains. For example, Sun.com redirects to Oracle.com, and is therefore not counted.
We do not consider subdomains to be separate websites. For instance, sub1.example.com and sub2.example.com are considered to belong to the same site as example.com. That means for example, that all the subdomains of blogger.com, wordpress.com and similar sites are counted only as one website.
We use the official part of the Public Suffix List to determine what exactly is a website. Because this differs a bit from Alexa's and Tranco's definition, the "top 10 million" websites are actually not exactly 10 million. However, this has no statistical significance.
Our reports are updated daily.
Please be aware of the limitations indicated in our disclaimer.
min
2022-06-27 17:08:49 +08:00
@Protocol 玩不转 C++,不会用,性能再高也白搭
qrobot
2022-06-27 17:08:55 +08:00
@abersheeran 开发 chromium 绝对不可能是只有 1%, 甚至开始说的 0.01% 是绝对不可能的
Chad0000
2022-06-27 17:09:16 +08:00
@INCerry
哇,发现了新天地。不过这部分确实用不着。用 C#就是图语法好性能也高工作也好找(国外)。
Chad0000
2022-06-27 17:10:38 +08:00
@Protocol
我觉得可能是因为不少国人对 C#还停留在.net framework 时代。
qrobot
2022-06-27 17:12:03 +08:00
@Chad0000 C# 确实很不错, 但是害怕 microsoft 这家公司, 你不知道什么时候会和 IE 一样。
di1012
2022-06-27 17:14:41 +08:00
作为一个.netor 很欣慰
Mithril
2022-06-27 17:15:59 +08:00
@Protocol 因为 C++牛逼这事不用喊,大家都知道。。。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/862452

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX