Fantom languages across JVMs and. NET CLR

Source: Internet
Author: User
Keywords Java developer run script compile

After the JVM platform is incorporated into the Oracle product line, Oracle will make a number of improvements and adjustments to the JVM platform. Content includes features such as enhanced platform modularity and integration, increased multi-core processing support for Java SE, and increased multi-touch support in Java me. Meanwhile, Oracle Development Vice President Adam Messinger at the Qcon Development Conference, Oracle plans to provide a free version of the JVM based on the new fee version, in the pay version of the JVM to consolidate the hotspot JVM and the JRockit JVM, Provide more powerful solutions for high-end users.

The JVM platform remains a huge attraction for developers, regardless of Oracle strategy. Dynamic language, which relies on the JVM platform, has always maintained vigorous vitality. In these dynamic languages, the ability to be compatible with both Java virtual machines and the Fantom of the. Net CLR common Language Runtime is one of the most distinctive dynamic languages.

Fantom, originally known as the fan language, was named as the fan, and in November 09 the developer renamed the newly released version as the Fantom language. Fantom uses the BSD-like academic free License 3.0 Open Source Protocol authorization.

Fantom's developers designed it as a practical and interesting scripting language to solve real-world problems in Java and C # programming, and to reduce the difficulty of coding developers. The biggest feature of Fantom language is its portability, Fantom code can be seamless in Java VM and http://www.aliyun.com/zixun/aggregation/13480.html ">.net" Migration between CLR platforms. To ensure a smooth migration between platforms, the Fantom code is first compiled into FCode, a bytecode notation, then converted to Java bytecode or IL interpreted language, and the conversion process is completed when the program is run, and the developer can deploy the Fantom code module in a single file in the virtual machine.

Fantom provides an Easy-to-use solution for API calls to Java VMS and. NET CLR platform switching. Fantom provides a set of API interfaces that are used with Java and. NET APIs for developers to mask differences between different platforms for system API calls.

Of course, the portable nature of the Fantom language is not limited to Java and. NET platforms, Fantom supports compiling code into JavaScript scripts for developers to use on the browser side. The Fantom language was designed from the outset for programming across the runtime, and in future planning, the Fantom language will support the C language of the iphone, as well as the parrot language that LLVM the integrated compilation environment or the advantages of Python and Perl languages.

In Fantom programming support, developers can encode and debug using the NetBeans platform IDE environment Fantomide, IDE contains out-of-the-box Fantom environment, syntax and lexical parsing using open source parser ANTLR design, Fantomide also provides scripting support for JavaScript, CSS, HTML, XML, and other management tools such as subversion and mercurial.

The JVM platform never lacks a good dynamic language, and Groovy, JRuby, Jython, and Scala are among the best, with different language styles, speed, and tool support. Fantom with its cross run-time characteristics and advanced design concepts, whether it will be able to stand out from the developers to be recognized, let us wait and see.

(Responsible editor: The good of the Legacy)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.