11大类编程语言功能比较表

fmms 12年前
     <p>        英文原文:<strong>:<a href="/misc/goto?guid=4958327080595855427" target="_blank">Programming Language Reference Sheets</a></strong></p>    <p>        <strong>导读:</strong>有程序员的地方就会有因为对编程语言的探讨而引发的战争(例如 <a href="/misc/goto?guid=4958327081401073889" target="_blank">Linux 之父 Linus Torvalds 炮轰C++ 一无是处</a>,认为 C++ 既无助于简化,以实际用于进行原型化或者简单的 GUI 编程,又不是像C那样的简洁的系统编程语言,能够积极地鼓励开发者使用简单和直接的语言构造;而另一位大牛 <a href="/misc/goto?guid=4958327082197324556" target="_blank">Paul Graham 则强烈鄙视 Java</a>,认为使用 Java 的公司都不足为惧)。同样,我们每个月根据 <a href="/misc/goto?guid=4958189594597709666" target="_blank">TIOBE</a> 的数据编译的语言排行榜也在一定程度上代表了开发语言的流行趋势,由此引发程序员们的热烈讨论。</p>    <p>        有两个人的地方就有政治,有两个程序员的地方就会有关于编程语言的争论。当然,本文的目的不是为了引发语言战争,而是通过信息列表的方式来比较 不同语言的功能特性,为开发者提供参考。其实对于一个产品的开发来说,语言选择不是最重要的。关键是哪种语言更适合。工具毕竟只是工具。如同电视里面经常 有一些工夫高手,利用树叶杀人。其实就是鲜活的例子。</p>    <p>        本文信息和数据出自<strong><a href="/misc/goto?guid=4958327080595855427" target="_blank">hyperpolyglot</a></strong>,将当前主流编程语言分为 11 个大类,分别为:<strong>解释型</strong>(PHP,Perl,Python,Ruby,Tcl,Lua,JavaScript,Io)、<strong>操作系统自动化型</strong>(POSIX Shell,AppleScript,PowerShell)、<strong>C++风格</strong>(C++,Objective C,Java,C#)、<strong>Pascal 风格</strong>(Pascal,Ada,PostgreSQL,MySQL)、<strong>Lisp 类</strong>(Common Lisp,Scheme,Clojure,Emacs Lisp)、<strong>类型推理类</strong>(Standard ML,OCaml,Scala,Haskell)、<strong>声明型</strong>(Prolog,Erlang,Oz)、<strong>Concatenative</strong>语言(Forth,PostScript,Factor)、<strong>数据转换</strong>(SQL,Awk,Pig,XSLT)、<strong>计算机代数</strong>(Maxima,Mathematica,Sage)、<strong>数字分析类</strong>(Fortran,MATLAB,R,NumPy)。</p>    <p>        每种语言列举的功能包括算术和逻辑/字符串/正则表达式/时期和时间/数组(阵列)/字典/功能/文件控制执行/目录/进程与环境;库和模块/对象/映射/Web/测试/调试与分析/交互性/ ,以及语言诞生时间、版本号、hello 写法的比较等等。</p>    <p>        <strong>一、<a href="/misc/goto?guid=4958191123228727051" target="_blank">解释型语言:PHP,PERL,Python 和 Ruby</a></strong></p>    <p style="text-align:center;"><a href="/misc/goto?guid=4958191123228727051" target="_blank"><img border="0" alt="11大类编程语言功能比较表" src="https://simg.open-open.com/show/43f891ab1098030e37f27b6465b832f6.jpg" width="550" height="340" /></a></p>    <p>        注:因原图太大,文中仅截取了部分表格,详细请直接点击图片。</p>    <p>        <strong>二、</strong><a href="/misc/goto?guid=4958327085932054151" target="_blank"><strong>解释型语言:</strong><strong>Tcl, Lua, JavaScript, Io</strong></a></p>    <p style="text-align:center;"><a href="/misc/goto?guid=4958327085932054151" target="_blank"><img border="0" alt="11大类编程语言功能比较表" src="https://simg.open-open.com/show/dd21ccfb199d3a360dbc2bf3a844c096.jpg" width="550" height="435" /></a></p>    <p>        <strong>三、</strong><a href="/misc/goto?guid=4958327087456855983" target="_blank"><strong>操作系统自动化: </strong><strong>POSIX Shell, AppleScript, PowerShell</strong></a></p>    <p style="text-align:center;"><a href="/misc/goto?guid=4958327087456855983" target="_blank"><img border="0" alt="11大类编程语言功能比较表" src="https://simg.open-open.com/show/c5327fa67d3b3e0c9712d74f429724f5.jpg" width="550" height="445" /></a></p>    <p>        <strong>四、<a href="/misc/goto?guid=4958327088992948716" target="_blank">C++风格: C++, Objective C, Java, C#</a></strong></p>    <p style="text-align:center;"><a href="/misc/goto?guid=4958327088992948716" target="_blank"><img border="0" alt="11大类编程语言功能比较表" src="https://simg.open-open.com/show/cd1f39ee8a8aba82a68f0abd47c791e7.jpg" width="550" height="350" /></a></p>    <p>        <strong>五、<a href="/misc/goto?guid=4958327090538173504" target="_blank">Pascal 风格: Pascal, Ada, PostgreSQL, MySQL</a></strong></p>    <p style="text-align:center;"><a href="/misc/goto?guid=4958327090538173504" target="_blank"><img border="0" alt="11大类编程语言功能比较表" src="https://simg.open-open.com/show/2041f9aa3c2c0fb2219aea4f357fd485.jpg" width="550" height="310" /></a></p>    <p>        <strong>六、<a href="/misc/goto?guid=4958327092100996945" target="_blank">Lisp 类: Common Lisp, Scheme, Clojure, Emacs Lisp</a></strong></p>    <p style="text-align:center;"><a href="/misc/goto?guid=4958327092100996945" target="_blank"><img border="0" alt="11大类编程语言功能比较表" src="https://simg.open-open.com/show/84aad1d8bbf76ed9bc0f1a1ed95cde5c.jpg" width="550" height="387" /></a></p>    <p>        <strong>七、<a href="/misc/goto?guid=4958327093623091489" target="_top">类型推理类: Standard ML, OCaml, Scala, Haskell</a></strong></p>    <p style="text-align:center;"><a href="/misc/goto?guid=4958327093623091489" target="_blank"><img border="0" alt="11大类编程语言功能比较表" src="https://simg.open-open.com/show/07817c0c2675a7a3de00fe961aa3c1db.jpg" width="550" height="490" /></a></p>    <p>        <strong>八、<a href="/misc/goto?guid=4958327095153625096" target="_blank">声明型: Prolog, Erlang, Oz</a></strong></p>    <p style="text-align:center;"><a href="/misc/goto?guid=4958327095153625096" target="_blank"><img border="0" alt="11大类编程语言功能比较表" src="https://simg.open-open.com/show/a857aff76267a0bf3987bafee263424c.jpg" width="550" height="370" /></a></p>    <p>        <strong>九、<a href="/misc/goto?guid=4958327096675891327" target="_blank">Concatenative 语言:Forth, PostScript, Factor</a></strong></p>    <p style="text-align:center;"><a href="/misc/goto?guid=4958327096675891327" target="_blank"><img border="0" alt="11大类编程语言功能比较表" src="https://simg.open-open.com/show/7d0f1bf3bc2c292209ae5ac4d15d7021.jpg" width="550" height="625" /></a></p>    <p>        <strong>十、<a href="/misc/goto?guid=4958327098203541278" target="_blank">数据转换: SQL, Awk, Pig, XSLT</a></strong></p>    <p style="text-align:center;"><a href="/misc/goto?guid=4958327098203541278" target="_blank"><img border="0" alt="11大类编程语言功能比较表" src="https://simg.open-open.com/show/c50b47559d4a9745c6aeab62ea64f384.jpg" width="550" height="405" /></a></p>    <p>        <strong>十一、<a href="/misc/goto?guid=4958327099738360129" target="_blank">计算机代数: Maxima, Mathematica, Sage</a></strong></p>    <p style="text-align:center;"><a href="/misc/goto?guid=4958327099738360129" target="_blank"><img border="0" alt="11大类编程语言功能比较表" src="https://simg.open-open.com/show/a01fab97deea3186f97fddb88f68569a.jpg" width="550" height="478" /></a></p>    <p>        <strong>十二、<a href="/misc/goto?guid=4958327101274795268" target="_blank">数字分析类:Fortran, MATLAB, R, NumPy</a></strong></p>    <p style="text-align:center;"><a href="/misc/goto?guid=4958327101274795268" target="_blank"><img border="0" alt="11大类编程语言功能比较表" src="https://simg.open-open.com/show/61f0a1a1df71821856b2117646ef3e11.jpg" width="550" height="430" /></a><br /> </p>    <div id="come_from">     来自:     <a id="link_source2" href="/misc/goto?guid=4958327102798886811" target="_blank">CSDN</a>    </div>    <p style="text-align:center;"></p>