|
Home > Archive > i-NET+ > December 2000 > Compiled?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| Which language must be compiled?
java*
perl
cgi
javascript
Anyone care to explain "compiled"?
Trebor | |
|
| Here's my "Java 101" answer:
As you noted, the answer is Java. It is compiled and read by an interpreter.
Basically, a Java compiler translates what you type into bytecodes. The Java Virtual Machine converts this, so that it may be understood by an individual computer. Web browsers have a Java Virtual Machine built into them. Because Java is a compiled language, it doesn't matter whether you are a Windows or Unix user. Java is a "cross-platform" language, which gives it versatility.
Check out the sun.java.com Website and it will explain all about Java.
Happy Holidays. | |
|
| A little more on "compiled" languages.
Compiled languages include Visual Basic, C++, and Java. That means the source code, (the actual code and instructions the programmer types), is converted, (compiled), into a file the computer can understand.
Actually, Visual Basic and Java both require a run time interpreter to "interpret" the program as it runs. With these two, it would be more accurate to say they must be compiled into a language the "interpreter" can understand. The Visual Basic interpreter is called a VB Runtime engine and the Java interpreter is called a Java Virtual machine.
C++ does not require a run time engine of any kind. Programs written in C++ run faster but it is more tedious to develop programs in C++.
The instructions for compiled programs are typically called "code", or "source code". For web applications, compiled programs run on the server, and are refered to as "Server Side", or CGI programs.
Perl Scripts do not need to be compiled, but they do require the Perl interpreter, which normally resides on a server. Perl Scripts may be called "Server Side Scripts", or CGI scripts.
CGI is not a programming language, but rather a "standard" for web server programs to adhere to so they can exchange iformation between web servers and web pages.
Java Script and VB Script, do not need to be compiled, but they do require an interpreter. Most, if not all web browsers can interpret Java Script. VB Script requires Microsoft Internet Explorer. These two are called "Client Side Scripts".
REMEMBER: Java Script and VB Script are interpreted on the client by the browser.
Perl Scripts, Java Programs, and C++ programs are handled by the server and are called Server Side, or CGI programs.
This is probably confusing to non programmers, but keep in mind, the exam will test you on this info.
BobR
Webmaster www.examdrill.com
author of Exam Drill
[This message has been edited by BobR (edited 12-26-2000).] | |
|
| ThisChick and THE BobR responding to my question. It doesn't get better than this.
Seriously. You guys are great. I can't believe how many times code words like "compiled" or "parsed" are dropped without explanation.
Thanks again.
Trebor | |
|
| Great answer, Bob. By the way, your software helped me pass my exam quickly!!
Bob is right, Trebor...you will be tested on this. Most likely, you will have a question or two asking about "server-side" or "client-side." Re-read Bob's response, and work the ExamDrill questions, and you will be home free. Take care.  | |
|
| Thanks for the explanation BobR and Thischick. It is great to have people like you helping all of us out!!! | |
|
| Trebor and brownie304,
You guys are welcome. Keep the questions coming. This site has lots of people that are ready and willing to try to provide answers.
ThisChick,
Congratulations for getting i-NET+. It's good to hear Exam Drill helped. So far, I think i-NET+ is the most difficult of the exams I've prepared for.
The info on this posting was hard to put into a brief explanation, but I think you summed it up well. As far as programming goes, everyone needs to know at least which are server side and which are client side scripts. But all this info is subject to be covered on the exam.
Best wishes.
BobR
[This message has been edited by BobR (edited 12-27-2000).] |
|
|
|
|