What is a byte code? Why does the groovy language preface the Java Virtual machine?

Source: Internet
Author: User

What is a byte code?

Bytecode can also be said to be a language, or an operational primitive that communicates with the operating system. The purpose of bytecode is actually to shield operating system differences, operating system differences to the professional virtual machine developers, they want to ensure that their development of virtual machines compatible with a variety of hardware platforms.

Why the groovy language requires a Java virtual machine

Java Virtual machine is not a Java virtual machine, this sentence is not nonsense. Because the Java virtual machine was originally intended for use in the Java language, but the virtual machine designers in the design, but also adopted the idea of design patterns, I provide a basic interface, no matter what language, in the future can be run to my virtual machine. So, the groovy language does not have to be a Java virtual machine, but the groovy language can take advantage of the natural platform of the Java Virtual machine, the groovy language designers can pay more attention to the upper design, rather than the underlying implementation.

What is a byte code? Why does the groovy language preface the Java Virtual machine?

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.