PHP和Python如何侵佔了Perl如此大的份額
Once in a while someone comes up with a Perl is .... post, and there are always people who point out why their measurement is flawed and how everything is perfect. Yet there are people with mid-career crisis and then others who tell me this was a wake-up call for them and they start learning a more marketable language.
I had part of the following post in a draft for ages now, there is no particular reason to publish it now, but who knows, maybe some people will agree with me.
The numbers show that the market-share of Perl has been shrinking for ages, way below I'd expect. (4% of the JavaScript+PHP+Python+Ruby+Perl market)
There are many reasons for that, let me just point out one that I think is critical.
在很久很久以前,一些人認為Perl就是工作的敲門磚,經常有人指出為什麼Perl是有缺陷的以及一切是如此的完美。
然而,有一些人遇到了職業的中期危機,然後其他人告訴我這是一個警鐘,然後他們開始學習一門更加對路的語言。
我在多年以前就有了一下觀點,並沒有什麼特殊的原因讓我現在發表他們,但是誰知道呢?也許有人會和我有同感。
數字表明,Perl的市場份額已經連年下跌。以我預期的一樣。(4%的JS+PHP+Python+Ruby+Perl 份額)。
原因也許有很多,但是我只指出我認為至關重要的一點。
How did Perl manage to become so successful in the 90's ?
It was the easiest tool around to do sysadmin work and to create dynamic web applications due to its features combining all the power of Unix and due to the availability of CGI.pm in the core.
It was Ubiquitous.
為什麼在90年代,Perl如此盛行?
因為他是最簡單易用的工具,去做系統管理工作,去建立動態Web應用程式,因為他和強大的Unix緊密的結合在一起,也因為CGI.pm的作為核心的可用性。
Perl在那時無處不在。
How did PHP took over leadership for the web?
It was easier for a front-end web developer (HTML) to move from pure HTML to PHP, and a lot of the necessary tools were available without any additional installation. (e.g. access to MySQL)
PHP如何稱為Web界的領頭羊?
一個前端的web 開發人員(HTML)非常容易就會從純HTML轉向PHP的懷抱。無需任何安裝我們就可以使用大量的必備工具。(比如:訪問MySQL)
How did Python become so successful?
Why is Python more and more preferred by people who just need to do some work on a Linux box? Even by system administrators?
Besides being easier to learn than Perl and besides the disgusting socialization of "Perl is bad" I think there is another very important issue.
The default Python distribution comes with a lot of modules in its standard library, that in Perl would require additional installation. Either from CPAN or from the package management system of the operating system.
I know, it is not very difficult to install from CPAN, but it is yet another obstacle, both technically and administratively. A beginner does not know what to install, how to install, and if they are allowed to install at all.
Python為何如此成功?
為什麼Python被越來越多的人作為首選,他們僅僅需要在Linux裡做一些工作?甚至系統管理員也把Python作為首選。除了比Perl更易學以外,除了在人群中令人不爽的Perl是糟糕的言論。我認為還有一個重要的原因。
在預設的Python標準庫中,附帶了大量的模組。而在Perl中這些模組需要另外安裝。或者從CPAN或者一款作業系統的包管理系統。
我知道,從CPAN中安裝模組並不困難,但是它依然是一個技術上和管理上的阻礙。
一個初學者雖然有許可權去安裝模組,但是卻會迷失在“安裝什麼模組?”,“怎樣安裝模組?”的汪洋大海中。
People will go in the direction of least resistance..
So I think unless a future version of Perl will come with a lot of libraries built in, there won't be an easy way to convince people to pick Perl.
(Oh, and of course it is not the number of libraries what is important, but that they solve the problems people face.)
Having an up-to-date release of DWIM Perl both for Linux and Windows would be a good step in the direction, though I think the real solution would be if theStandard Perl, released by the Perl 5 Porters already included a much larger selection of modules.
世間有很多路,大家總會選擇哪條最好走的!阻力最小的!
所以我認為:除非在未來版本的Perl中內建大量的庫,沒有一種更為簡單的路,讓人重新拾起Perl。(當然,庫的數量並不是一件多麼重要的事情,但是它確實解決了人們所面對的問題。
在Linux和Windows上提供最新的DWIM Perl是在正確方向上的巨大進步。
儘管我認為真正的解決方案是 在標準Perl中,Perl5的便攜發行版中已經包括了大量的精挑細選的模組。
原文請看:http://bbs.perlchina.org/forum.php?mod=viewthread&tid=71&page=1&extra=#pid338
相關文章
- Jumptap:iOS和Android佔移動市場91%份額iOSAndroid
- TIOBE:2024年10月程式語言排行榜 Python佔據了21.90%的市場份額Python
- 無死角窺探的焦慮:AI如何反擊隱私侵佔?AI
- Steam:Windows 8佔遊戲市場份額10%Windows遊戲
- 在Docker中,如何控制容器佔用系統資源(CPU,記憶體)的份額?Docker記憶體
- 駭客對其侵佔的計算機的利用(轉)計算機
- eMarketer:中國iOS智慧手機流量份額僅佔32%iOS
- 必應網路佔美國搜尋市場1/3的份額
- InSites Consulting:Facebook佔全球社交網站份額的50%網站
- Forrester Research:蘋果佔據全球73%的平板電腦市場份額REST蘋果
- 微軟高管:泰國智慧手機市場份額微軟佔15%微軟
- win10系統perl.exe佔用cpu怎麼解決_win10系統perl.exe佔用cpu如何處理Win10
- DualShockers:資料顯示顯示卡市場份額NVIDIA佔達82% AMD佔18%
- Perl的包和模組
- 誰貪佔了我的系統資源 php-fpmPHP
- Statista:2015年Android和iOS已佔移動市場超97%的份額AndroidiOS
- Encoding:2015年Flash在移動和WEB視訊中所佔的份額降至6%EncodingWeb
- AdDuplex:2020年5月Windows 10更新版佔據了超過11%的市場份額Windows
- Millennial Media:2012年Q3蘋果行動網路上佔廣告印象份額為31% 三星所佔份額為接近25%蘋果
- 中國成全球最大遊戲市場 騰訊網易佔據70%份額遊戲
- Futuresource:2013年Chromebook佔美國教育市場份額19%Chrome
- Linux進入戴爾產品標準並佔25%份額Linux
- python 在網際網路應用是如此強大Python
- 使用Python和Perl繪製北京跑步地圖Python地圖
- Nginx和Perl的結合Nginx
- CMR:iPhone 11上市後將佔印度iPhone市場35-38%的份額iPhone
- AUVSI:中國無人機佔據著美國急救響應市場份額的92%無人機
- Alix Partners:預計2030年中國汽車將佔全球33%的份額
- Mindfactory:AMD Ryzen CPU在德國DIY市場佔據驚人的90%份額
- 遊戲直播侵權不侵權?廣東高院指引認真讀了麼遊戲
- 2016年3月全球瀏覽器份額:Chrome居亞 份額大漲瀏覽器Chrome
- Python是如何火起來的 為何發展如此迅速Python
- AdDuplex:調查發現在Windows RT裝置市場中 微軟足足佔有了80%的大額比例Windows微軟
- 谷歌Chrome市場份額上漲至67.90%,微軟Edge僅佔5.36%谷歌Chrome微軟
- 蘋果:Apple Pay佔美國非接觸支付份額達2/3蘋果APP
- 智慧手錶銷量首超瑞士表 Apple Watch佔63%份額APP
- iSuppli:2010年全球CPU市場份額Intel佔81%Intel
- Windows 7份額居高不下 微軟肯定“恨瘋了”Windows微軟