JVM 语言的兴衰 【The Rise and Fall of JVM Languages】

EASYKOTLIN
The Rise and Fall of JVM Languages

KotlinChina Community

JVM 语言的兴衰
安德鲁 Binstock 2017年4月3日
一个可行的商业模式是一门语言成功与否的关键。
在过去的18月里, 我们在 Java 杂志上报道了各种有趣的 JVM 语言--从众所周知的到晦涩难懂的。毫无疑问, 我们可以继续这样做两年, 而不涉及相同的语言两次。这在许多方面都是 JVM 的荣耀: 它是语言后端的一个很好的平台。
JVM 的好处包括性能、广泛的可用性和熟悉度、优秀的工具和完整的文档。此外, 还有一个高度的信心, 即 JVM 将继续被广泛使用, 因此依赖于它的语言不会突然需要一个新的平台 (例如, 目标是 Adobe Flash, 被迫做的)。
jvm 语言通常分为两大类: 那些是现有语言的端口 (如 Ruby 的 JRuby 端口和 Python 的 Jython 端口), 以及从底层构建的 jvm (Groovy、Kotlin、Scala、Golo、影和其他许多)。.那些在后者小组经常位置自己作为改进的选择 Java 语言。事实上, 这些语言确实提供了 Java 没有实现的特性或语法--通常是出于特定的原因。其他时候, 这些语言导致 java 采用了一些特性, 在这种情况下, java 团队在制定自己的功能时就有了检查这些实现的好处。甲骨文认为, 这一对话的价值在其长期生产的 jvm 语言峰会上是很明显的, jvm 语言设计者们聚集在一起, 在他们自己和 Java 团队成员之间进行比较。
由于我们对 JVM 语言的长期报道, 我偶尔会问他们中哪一个会变得足够受欢迎, 以 "跨越鸿沟"。这一术语起源于杰弗里. 摩尔同名的书, 指的是受欢迎程度的提高, 这一技术从远见者和早期采用者的专属领域进入了实用主义的更广泛的怀抱, 尤其是商业。我相信只有三种语言能够进行这一跨越, 或者已经这样做了: Groovy、Scala 和 Kotlin。
Groovy 发现成功是一种古怪的脚本语言, 它填补了许多需要快速但有表现力的编码的利基。它是许多测试框架的脚本语言, 用于在 Gradle 中编写生成脚本。它在主要的 JVM 语言 (上面提到的三和 Java) 中也是独一无二的, 因为它不需要公司的赞助才能变得流行起来。(虽然关键的支持了几年, Groovy 是很受欢迎的, 在关键的收购, 并继续从关键停止赞助。这证明了该项目的长期领导人纪尧姆. 的社区技能。
今天, 没有任何一种语言能够像 Groovy 那样越过鸿沟, 那就是没有严重的财政支持。写一门语言是一个非常昂贵的命题, 就像推广它一样。在最初的学术创作中, Scala 得到了初创类型的支持, 直到该公司意识到--与 Groovy 一样举足轻重--在销售一种新的语言方面没有收入可言。因此, 类型更名为 Lightbend, 并重新调整其 nonlanguage 产品的重心。从 "Scala 公司" 的突破是如此的干净, 宣布改名的新闻稿甚至没有提到声明正文中的语言。就像我说的, 语言里没有钱。
Kotlin 依赖于一个相当不同的模型。该语言的设计部分是为了 JetBrains 的内部使用。它的设计是务实的, 旨在帮助公司降低成本, 开发其广泛的开发工具线。发展和促进 Kotlin 的好处大于其成本, 关键的是, JetBrains 从 Kotlin 以外的产品中获得收入。然而, 费用是重要的。据安德烈 Breslav 在 JetBrains, 超过二十几个专职的发展和促进 Kotlin。
在这个过程中, Kotlin 已经演变成了一个 JetBrains 的效率工具。其强烈的务实取向强烈地回响着一个重要而活跃的社区, 它加速了它跨越鸿沟的运动。Kotlin 从而使 JetBrains 能够将新的开发人员带入其工具生态系统。但是不断增长的用户群也给公司带来了成功的语言经常面临的挑战: 管理用户的需求与公司自身对语言的欲望。
由于经济学支持 Kotlin 的进化和 JetBrains 对开发者的长期知识将帮助它与社区合作, 我希望在未来几年内 Kotlin 将完全跨越鸿沟, 并成为一个-或可能是主要的非 Java JVM语言, 从而再次证明了 JVM 生态系统的健壮性。
安德鲁 Binstock, 主编
The Rise and Fall of JVM Languages
Andrew Binstock
Apr 3, 2017
A viable business model is key to language adoption.
For the last 18 months, we at Java Magazine have been covering all sorts of interesting JVM languages — from the well known to the obscure. There is no doubt we could continue doing this for another couple of years without covering the same language twice. That’s in many ways the glory of the JVM: it is a great platform for language back ends.
The benefits of the JVM include performance, wide availability and familiarity, excellent tools, and thorough documentation. In addition, there’s a high level of confidence that the JVM will continue to be widely used, so languages that depend on it won’t suddenly need to ind a new platform (as those that targeted Adobe Flash, for example, were forced to do).
JVM languages generally fall into two major categories: those that are ports of existing languages (such as the JRuby port of Ruby and the Jython port of Python) and those that are built from the ground up for the JVM (Groovy, Kotlin, Scala, Golo, Fantom, and many others). Those in the latter group often position themselves as an improved alternative to Java the language. And indeed these languages do provide features or syntax that Java has not implemented — often for specific reasons. Other times, the languages lead to Java’s adoption of features, in which case the Java team has the benefit of examining those implementations when formulating its own. That Oracle sees value in this dialogue is apparent in its longtime production of the JVM Language Summit at midyear, where JVM language designers come together to compare notes among themselves and with the Java team members.
Because of our long coverage of JVM languages, I am occasionally asked which of them will become popular enough to “cross the chasm.” This term, which originated in Geoffrey Moore’s book of the same name, refers to an increase in popularity that drives a technology from the exclusive domain of visionaries and early adopters into the wider embrace of pragmatists and especially of businesses. I believe there are only three languages that are capable of this crossing or have already done so: Groovy, Scala, and Kotlin.
Groovy found success as a quirky scripting language that has filled numerous niches where quick but expressive coding is needed. It is the scripting language for many testing frameworks and is used for writing build scripts in Gradle. It is also unique among the primary JVM languages (the three mentioned above plus Java) in that it did not require corporate sponsorship to become popular. (Even though Pivotal did support it for a few years, Groovy was popular long before Pivotal’s acquisition and has continued to be since Pivotal stopped sponsorship.) This is testament to the community skills of the project’s longtime leader, Guillaume Laforge.
Today, no language can hope to cross the chasm as Groovy did — that is, without serious financial backing. Writing a language is a very expensive proposition, as is promoting it. While originally an academic creation, Scala was backed by the startup Typesafe until the company realized — as Pivotal did with Groovy — that there is no revenue to be made in selling a new language. As a result, Typesafe changed its name to Lightbend and refocused on its nonlanguage products. The break from being the “Scala company” was so clean that the press release announcing the name change did not even mention the language in the body of the announcement. As I said, there’s just no money in languages.
Kotlin relies on a rather different model. The language was devised in part for JetBrains’ internal use. Its design is pragmatic and aimed at helping the company reduce costs in developing its extensive line of developer tools. The benefits of developing and promoting Kotlin outweigh its costs and, crucially, JetBrains derives its income from products other than Kotlin. The costs, however, are significant. According to Andrey Breslav at JetBrains, more than two dozen full-time equivalents are developing and promoting Kotlin.
In the process, Kotlin has morphed into more than just an efficiency tool for JetBrains. Its intensely pragmatic orientation has strongly resonated with a significant and active community, which accelerates its movement across the chasm. Kotlin thereby enables JetBrains to bring new developers into its tool ecosystem. But the growing user base also presents the company with the challenge that successful languages often face: managing the demands of users versus the company’s own desires for the language.
Because economics support Kotlin’s evolution and JetBrains’ longstanding knowledge of developers will help it work with the community, I expect that within the next few years Kotlin will fully cross the chasm and emerge as a—or possibly the—primary non-Java JVM language, so proving yet again the robustness of the JVM ecosystem.
Andrew Binstock, Editor in Chief
javamag_us@oracle.com
@platypusguy


KotlinChina编程社区 微博

《Kotlin极简教程》正式上架:

点击这里 > 去京东商城购买阅读

点击这里 > 去天猫商城购买阅读

非常感谢 if (boy) { 帅气英俊潇洒} else { 魔鬼身材天使脸蛋美丽动人女神气质} 的您。大家请多支持!!!您的支持,是我源源不断的写作的动力! 如果您有任何问题,欢迎随时与我交流~


最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 203,271评论 5 476
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 85,275评论 2 380
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 150,151评论 0 336
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 54,550评论 1 273
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 63,553评论 5 365
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,559评论 1 281
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 37,924评论 3 395
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,580评论 0 257
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 40,826评论 1 297
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,578评论 2 320
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,661评论 1 329
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 33,363评论 4 318
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 38,940评论 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 29,926评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 31,156评论 1 259
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 42,872评论 2 349
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 42,391评论 2 342

推荐阅读更多精彩内容