In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail about the current mainstream JVM language, the editor thinks it is very practical, so share it with you as a reference. I hope you can get something after reading this article.
NetRexx
NetRexx is a pioneer of scripting languages in the field of Java, and its birth marks a counterattack against the tedious syntax of Java. Although released in a free form, the closed-source nature of NetRexx ultimately hindered its great progress. People are keenly aware that IBM has no intention of further developing the project or moving to open source. In the end, NetRexx applications are now nearly extinct.
Jython (Python on Java platform)
As an early open source JVM language, Jython (originally called 'JPython') was determined to be at the vanguard of Python's preemption of the JVM environment. The excellent fit effect allows most of the code to run without change. However, when Jim Hugunin, the founder of the language, was poached by Microsoft, he naturally shifted his focus to the combination of Python and the .NET environment (this is the IronPython project). With the departure of its founder, Jython never recovered and remained unknown for the next few years. It wasn't until a few years ago that the project began to come back to life, but by then it was faced with a number of fairly strong competitors.
Groovy
Groovy was originally positioned as JSR (that is, Java specification request). After years of struggle, the original person in charge also left the stall to work on other projects. It wasn't until the French developer Guillaume Laforge joined that Groovy got back on track and had a large and enthusiastic support community, and then burst into a dazzling light. This is a language quite similar to Java itself, and it is designed to provide developers with a set of self-service syntax solutions, which is undoubtedly successful. It is also one of the only two remaining JVM languages that can be funded by listed companies (funded by VMware, the other is Gosu) to support their own development teams. With the help of strong economic backing, Groovy updates are quite frequent, and the latest upgrade makes up for its long-standing weakness: slow speed.
Scala
Scala attempts to coordinate or integrate OO (that is, object-oriented) with functional paradigms. The basic syntax of Scala can be used directly as a substitute for Java, while more advanced features can be used to write functional code. As programmers improve, we can now easily move code from one set of examples to another (functionality is always a priority for high-end Scala developers). But at the same time, it also has some shortcomings, because the language comprehension ability gap between beginners and high-end developers is too large, so that a lot of code is difficult to be understood by the public. The language has a set of Scala libraries built into it, and the traditional parallel programming problems that have been a headache for developers have been effectively solved here. As for its disadvantages, apart from some obscure code composition, the compiler it uses is really weak in terms of processing speed compared with other languages in this article; in addition, there have been problems in the past that the new version is not compatible with the old version.
JRuby and Mirah
Both languages were designed by the same team, and both tried to introduce the Ruby language into the JVM environment, and the language features have changed. Now the Ruby on Rails framework can run smoothly in JVM. The interoperability between Ruby and Java environment is excellent, and the operation of both Ruby Gems and Java libraries is simple and efficient, and the implementation results are amazing.
Mirah and JRuby are basically the same in function, but less relevant to the Ruby language. This allows developers to travel around the world with a "JAR file" of Mirah without having to install a large number of software packages necessary to simulate the Ruby environment.
Gosu
Gosu, supported by Guidewire, a listed company specializing in software development in the insurance industry, has several impressive capabilities. One of the most unusual features is to create new data types and embed them in the language as native data types. It also allows silly trimming of existing classes, so the new solution can be easily added to the current runtime environment.
Fantom
Of all the languages mentioned in this article, Fantom is *. It can generate not only Java bytecode, but also .NET intermediate code and JavaScript code. From this point of view, it can be regarded as a universal language. It is also quite attentive in design: all integers are 64-bit, thus eliminating a large number of overflow problems; all multiprocessing is done only by roles, which effectively avoids many common problems; and the library it uses is designed to support a full set of Unicode character lists and strings. In many ways, the design of Fantom is at the top of this summary article. However, the design of the module it uses is unique, it takes some time to get used to in practical application, and it lacks the support of good IDE.
Clojure
Clojure is a re-creation of Lisp in the JVM runtime environment. Although it has been around for only a few years, Clojure has gained a high popularity among developers because of its exquisite syntax expressions, its high integration with Java (because it uses the same set of rules as Java, Clojure can easily call Java's rule content during bytecode compilation), and the enthusiastic support of the user community. Some experts even predict that Clojure will be the decisive factor in making functional languages mainstream programming (Scala has received similar reviews).
Kotlin
Kotlin is the youngest new member of the JVM family. It inherits a lot of excellent genes from its predecessors such as Groovy and Scala, and adds some original elements. It is designed to provide the same compilation speed as Java, and to achieve the processing speed of native Java binary content. These two advantages make it a JVM language for developers to solve the problem of compilation and execution speed from the first release.
This is the end of this article on "what are the current mainstream JVM languages?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.