在JVM上运行的五大脚本语言(Top five scripting languages on the JVM)

来源:互联网 发布:python select.select 编辑:程序博客网 时间:2024/04/28 21:07


        遵循软件开发工具,在过去十年中的任何人都知道,长期的“Java”指的是一双的技术:Java编程语言和Java虚拟机(JVM)。Java语言被编译成字节码在JVM上运行。通过这种设计,JAVA提供可移植性。

        然而,语言和JVM,已越来越多地在相反的方向移动。语言已变得越来越复杂,而JVM已经成为最快和最有效的执行平台之一。Java的许多基准,等于如编译语言生成的二进制代码的性能C和C + +的。日益复杂的语言和卓越的性能,可移植性和可扩展性的JVM已经创建了一个开放的新一代编程语言。这些语言缺乏Java的语法超载(通常称为“仪式”轻蔑) - 也就是多余的代码量做实际工作的代码前,需要手摇的,可以书面 - 但利用JVM的。

        [PDT的Eclipse,NetBeans中,NuSphere PhpED的,和Zend Studio导致Web开发的一个IDE的能力领域。见“ InfoWorld的审查:8个PHP的电动工具 “|有了所见即所得的原型环境和预先设定的图形组件,快速Web开发工具可以帮助你更快地构建应用程序-但缺乏灵活性。见“InfoWorld的审查:用于快速Web开发工具 “]

        在这篇文章中,我研究这些语言的少数,比较和对比,并确定他们满足特别的需求。我自己是自由和开放源码JVM语言限制。令人惊讶的是,闭源的商业世界,有几相媲美的产品。一个突出的是冷聚变标记语言,这是Adobe的冷聚变的Web应用程序开发环境的一部分。

        技师上存在分歧,究竟是一种脚本语言。在其最窄的定义,它是一种语言,使开发人员编写的快速方案。这些方案一般解释或半编译的,而不是在传统的方式编制。这项检讨在选择的语言,我用了一个更广泛的定义,这是任何JVM语言简单,比Java代码。一些编译,其他半编译的,但都是适合快速发展。我把重点放在语言是用Groovy,JRuby,FANTOM,Jython中,和Scala。还有其他几个候选人,Clojure的分别是,JavaFX的NetRexx,我简要地覆盖在年底。

        今天JVM的脚本语言,自然分成两组,基于他们的采用率。Groovy和JRuby落入流行的阵营,而​​其他有特殊的球员 - 也就是说,他们呼吁,目前一个小社会。这一点很重要,但要注意,Groovy和JRuby也特殊的球员,两年前,因此没有理由相信利基语言是永久降级的边缘。我认为出现的可能性,有利于斯卡拉,然后FANTOM,最后的Jython。正如我解释后,我觉得Jython的时刻已经在阳光下可能来来去去。

JVM脚本语言第1号:Groovy的-强大的,高层次的,企业的友好
JVM脚本语言第2号:JRuby的​​-比Ruby更好的Ruby?
JVM脚本语言第3号:Scala-快速,多范例编程
JVM脚本语言第4号:FANTOM - Java和网加性能。
JVM脚本语言第4号:Jython - JVM上的Python。

顶部的脚本语言在JVM上
 GroovyJRubyScalaFANTOMJython样式/打字OO /动态OO /动态面向对象,功能/静态00 /静态OO /动态蓝本JavaRubyN / AN / APython执行编译编译,解释编译半编译编译平台(S)JVMJVMJVMJVM,NET CLRJVM与Java的整合优秀优秀优秀公平优秀执行速度公平公平优秀非常好放慢工具支持广泛公平广泛小小

  原文http://www.infoworld.com/d/developer-world/top-five-scripting-languages-the-jvm-855?page=0,0如下:

        Anyone who has followed software development tools during the last decade knows that the term "Java" refers to a pair of technologies: the Java programming language and the Java Virtual Machine (JVM). The Java language is compiled into bytecodes that run on the JVM. Through this design, Java delivers its vaunted portability.

        The language and the JVM, however, have been increasingly moving in opposite directions. The language has grown more complex, while the JVM has become one of the fastest and most efficient execution platforms available. On many benchmarks, Java equals the performance of binary code generated by compiled languages such as C and C++. The increasing complexity of the language and the remarkable performance, portability, and scalability of the JVM have created an opening for a new generation of programming languages. These languages lack Java's syntax overload (often referred to disparagingly as its "ceremony") -- that is, the amount of excess code that needs to be cranked out before the code that does the actual work can be written -- but take advantage of the JVM.

        [ Eclipse PDT, NetBeans, NuSphere PhpED, and Zend Studio lead a capable field of IDEs for Web developers. See "InfoWorld review: Eight PHP power tools" | With WYSIWYG prototyping environments and preconfigured graphical components, rapid Web development tools can help you build applications faster -- but with less flexibility. See "InfoWorld review: Tools for rapid Web development" ]

        In this article, I examine a handful of these languages, comparing and contrasting them, and identifying the needs they satisfy particularly well. I limit myself to the JVM languages that are free and open source. The closed source, commercial world, surprisingly, has few comparable offerings. The one standout is Cold Fusion Markup Language, which is part of Adobe's Cold Fusion Web application development environment.

        Technologists differ on what exactly is a scripting language. In its narrowest definition, it's a language that enables the developer to write quick programs. These programs are generally interpreted or semicompiled, rather than compiled in the traditional manner. In choosing the languages for this review, I used a broader definition, which is any JVM language that is simpler to code in than Java. Some are compiled, others are semicompiled, but all are suitable for rapid development. The languages I've focused on are Groovy, JRuby, Fantom, Jython, and Scala. There are a few other candidates, namely Clojure, JavaFX, and NetRexx, which I cover briefly at the end.

        The JVM scripting languages today naturally divide into two groups based on their rate of adoption. Groovy and JRuby fall into the popular camp, while the others are niche players -- that is, they appeal to a small community at present. It's important to note, however, that both Groovy and JRuby were also niche players two years ago, so there is no reason to believe that a niche language is relegated permanently to the margins. I believe that the likelihood of emergence favors Scala, then Fantom, and finally Jython. As I explain later, I think Jython's moment in the sun has probably come and gone.

JVM scripting language No. 1: Groovy -- powerful, high-level, enterprise-friendly
JVM scripting language No. 2: JRuby -- a better Ruby than Ruby?
JVM scripting language No. 3: Scala -- fast, multiparadigm programming
JVM scripting language No. 4: Fantom -- Java and .Net plus performance
JVM scripting language No. 5: Jython -- Python for the JVM

Top scripting languages on the JVM
 GroovyJRubyScalaFantomJythonStyle / typingOO / DynamicOO / DynamicOO, Functional / StaticOO / StaticOO / DynamicModeled onJavaRubyN/AN/APythonExecutionCompiledCompiled, InterpretedCompiledSemicompiledCompiledPlatform(s)JVMJVMJVMJVM, .Net CLRJVMIntegration with JavaExcellentExcellentExcellentFairExcellentExecution speedFairFairExcellentVery GoodSlowTool supportExtensiveFairExtensiveLittleLittle

原创粉丝点击
热门问题 老师的惩罚 人脸识别 我在镇武司摸鱼那些年 重生之率土为王 我在大康的咸鱼生活 盘龙之生命进化 天生仙种 凡人之先天五行 春回大明朝 姑娘不必设防,我是瞎子 狗狗精力太旺盛怎么办 新入职的同事比你厉害怎么办 银子弹鞋开胶了怎么办 我很笨脑子反应慢怎么办 学车脑子不好使怎么办 生完二胎脑子不好使怎么办 羽毛球鞋买小了怎么办 羽毛球鞋买大了怎么办 感觉自己脑子越来越笨了怎么办? 生完孩子后身体素质差怎么办 胃口太好越来越胖怎么办 心情一紧张心跳手抖怎么办 消防兵新兵连俯卧撑不够怎么办 cf枪王永久禁赛怎么办 换了手机号花呗怎么办 xp系统无限重启怎么办 魔域配置资源读取错误怎么办 魔域异地交易了怎么办 魔域手游宝宝亲密度不够怎么办 魔域手游怎么改密码忘了怎么办 魔域装备注灵怎么办 lol外服账号忘记了怎么办 美服lol下载慢怎么办 台服天堂2延迟怎么办 梦幻专用瑞兽没有泰山怎么办 冲错了游戏点券怎么办 新手玩联盟很菜怎么办 cf玩一会儿卡退怎么办 魔域先锋区封号了怎么办 吃了减肥药头疼怎么办 冬天没用完的霜怎么办 手表带起来大了怎么办 碰到舞警打人该怎么办 合租者偷了东西却没有证据怎么办 钥匙锁在房间了怎么办 家里门钥匙丢了怎么办 合租朝北晒衣服怎么办 卧室门钥匙丢了怎么办 邻居在我家防盗窗上凉被子怎么办 有钥匙打不开门怎么办 白色腈纶衣服洗完发黄怎么办