Concept:
Compiler
Headline
A program that transforms source code into object code
Illustration
Let's assume that we want to compile the Language:Java variation on the Hello world program.
That is, the source code of the program is available as a file "HelloWorld.java".
Compilation can be issued in different ways. For instance, an IDE may take care of it automatically.
For clarity, we perform compilation at the command line:
$ ls HelloWorld.java $ javac HelloWorld.java $ ls HelloWorld.class HelloWorld.java
Thus, the compiler produced the object code, in fact, bytecode, in the file "HelloWorld.class".
The byte code can be executed as follows:
$ java HelloWorld Hello, world!
The byte code appears to be interpreted, i.e., "java" appears to be an interpreter for byte code. In fact, "java" performs just-in-time compilation so that byte code is translated on the fly to machine code, which is then eventually executed (so to say interpreted) by the actual machine.
Backlinks
There are no revisions for this page.
User contributions
User edits
Syntax for editing wiki
For you are available next options:will make text bold.
will make text italic.
will make text underlined.
will make text striked.
will allow you to paste code headline into the page.
will allow you to link into the page.
will allow you to paste code with syntax highlight into the page. You will need to define used programming language.
will allow you to paste image into the page.
is list with bullets.
is list with numbers.
will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.
will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.
will allow your to insert code snippets from @worker.
Syntax for editing wiki
For you are available next options:will make text bold.
will make text italic.
will make text underlined.
will make text striked.
will allow you to paste code headline into the page.
will allow you to link into the page.
will allow you to paste code with syntax highlight into the page. You will need to define used programming language.
will allow you to paste image into the page.
is list with bullets.
is list with numbers.
will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.
will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.
will allow your to insert code snippets from @worker.