想必大家对于上面两张图再熟悉不过了,这是TIOBE给出的编程语言排行榜以及变化趋势,这个趋势大致能反映出各大语言的流程趋势,可以算做编程语言风向标。
那这份榜单是如何生成的呢?其实很简单,TIOBE生成排名主要依赖于搜索引擎。TIOBE会统计Similarweb网站排名前25的搜索引擎,根据下面的格式进行查询的次数。包含Google、Bing在内的多个搜索引擎都在统计范围内。然而,很遗憾的是,百度并不在统计范围内,不过这并不是因为百度的排行太低了,毕竟百度至少有几亿用户呢,百度并不在统计范围内那是因为百度的数据无法解析。此外,TIOBE还在官网提到,Bilibili的数据不在统计范围内是因为Bilibili没有提供相关的统计数据。TIOBE官方网站上对此进行了完整解释,可以在文章结尾附录处查看。
Since there are many questions about the way the TIOBE index is assembled, a special page is devoted to its definition. Basically the calculation comes down to counting hits for the search query
In the next few sections it is explained what search engines qualify, what programming languages qualify and how the ratings are exactly calculated.
Search Engines
There are 25 search engines that are used to calculate the TIOBE index. The selected search engines are the 25 highest ranked websites of Similarweb that meet the following conditions:
- The entry page of the site contains a search facility
- The result of querying the site contains an indication of the number of page hits
- The results should be available in HTML with clear tags
- Search engines in languages with special characters should be encoded properly
- The search engine should at least return 1 hit for 1 query
- The results of querying the site shouldn’t contain too many outliers
- Porn sites are excluded
Based on these criteria the following search engines are qualified:
- Google.com: 7.69%
- Wikipedia.org: 7.38%
- Amazon.com: 7.08%
- Vk.com: 6.77%
- Bing.com: 6.46%
- Microsoft.com: 6.15%
- Msn.com: 5.85%
- Ebay.com: 5.54%
- Sharepoint.com: 5.23%
- Google.com.br: 4.92%
- Amazon.co.jp: 4.62%
- Amazon.de: 4.31%
- Rakuten.co.jp: 4.00%
- Etsy.com: 3.69%
- Google.de: 3.38%
- Amazon.co.uk: 3.08%
- Google.co.jp: 2.77%
- Walmart.com: 2.46%
- Amazon.in: 2.15%
- Google.it: 1.85%
- Google.co.uk: 1.54%
- Google.fr: 1.23%
- Google.es: 0.92%
- Ebay.co.uk: 0.62%
- Amazon.ca: 0.31%
The following search engines didn’t qualify for the indicated reason:
- Baidu.com: SOURCES_NOT_PARSABLE
- Bilibili.com: NO_COUNTERS
- Discord.com: NO_SEARCH_FIELD
- Docomo.ne.jp: NO_WEBSITE
- Duckduckgo.com: NO_COUNTERS
- Dzen.ru: NO_COUNTERS
- Facebook.com: NO_SEARCH_FIELD
- Fandom.com: NO_RESULTS_AT_ALL
- Globo.com: NO_COUNTERS
- Instagram.com: NO_SEARCH_FIELD
- Linkedin.com: NO_COUNTERS
- Live.com: NO_SEARCH_FIELD
- Mail.ru: NO_COUNTERS
- Microsoftonline.com: NO_WEBSITE
- Naver.com: NO_COUNTERS
- Netflix.com: NO_SEARCH_FIELD
- Office.com: NO_SEARCH_FIELD
- Openai.com: NO_RESULTS_AT_ALL
- Pinterest.com: NO_SEARCH_FIELD
- Pornhub.com: PORN_SITE
- Qq.com: SOURCES_NOT_PARSABLE
- Quora.com: NO_COUNTERS
- Realsrv.com: NO_WEBSITE
- Reddit.com: NO_COUNTERS
- Roblox.com: NO_SEARCH_FIELD
- Samsung.com: NO_RESULTS_AT_ALL
- Stripchat.com: PORN_SITE
- Tiktok.com: NO_COUNTERS
- Turbopages.org: NO_SEARCH_FIELD
- Twitch.tv: NO_COUNTERS
- Twitter.com: NO_COUNTERS
- Weather.com: NO_RESULTS_AT_ALL
- Whatsapp.com: NO_SEARCH_FIELD
- Xhamster.com: PORN_SITE
- Xnxx.com: PORN_SITE
- Xvideos.com: PORN_SITE
- Yahoo.co.jp: SOURCES_NOT_PARSABLE
- Yahoo.com: SOURCES_NOT_PARSABLE
- Yandex.ru: SOURCES_NOT_PARSABLE
- Youtube.com: NO_COUNTERS
- Zoom.us: NO_SEARCH_FIELD