码迷,mamicode.com
首页 > 其他好文 > 详细

CS2312 Lecture 1

时间:2018-01-22 13:05:00      阅读:119      评论:0      收藏:0      [点我收藏+]

标签:min   compile   time   tran   and   技术   exec   list   orm   

Computer program: A list of instructions(code) meant to be followed by a computer

Executing a program: Programs must first be converted into machine code that the computer can understand and execute

Compiler: A program that translates a programming language into machine code is called a compiler

Program -> compiler -> machine code -> operating system(platform)

In JAVA

The Java compiler produces an intermediate format called bytecode.

Java program -> compiler -> Java Bytecode (not machine code for real computer, is machine code for a model computer, called Java Virtual Machine(JVM))

Java Interpreter: convert the bytecode into machine code(Simulates the execution of the JVM on the real computer)

Can run bytecode on any computer that has a Java Interpreter (JRE - Java Runtime Environment - Java 8, Java 9...download from Oracle website) installed

技术分享图片

 

CS2312 Lecture 1

标签:min   compile   time   tran   and   技术   exec   list   orm   

原文地址:https://www.cnblogs.com/charon922/p/8328345.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!