what's the importance of compiler technology?

Discussion in 'Computer Science & Culture' started by tQySmA, Jun 16, 2004.

Thread Status:
Not open for further replies.
  1. tQySmA Registered Senior Member

    Messages:
    36
    i hope u enlighten me on the importance of compiler technology.. thanks

    Please Register or Log in to view the hidden image!

     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Redrover Registered Senior Member

    Messages:
    234
    Speed of execution and the ability to do more things. But mainly speed.
     
  4. Google AdSense Guest Advertisement



    to hide all adverts.
  5. tQySmA Registered Senior Member

    Messages:
    36
    ok.. thanks.. nway, i just want to clarify my understanding on compiler technology.
    java has a compiler right? so does it mean.. it was enhanced (i'm not sure if this is the correct term to use. sorry.) by the compiler technology?

    Please Register or Log in to view the hidden image!

    Please Register or Log in to view the hidden image!

    Please Register or Log in to view the hidden image!

     
  6. Google AdSense Guest Advertisement



    to hide all adverts.
  7. Stryder Keeper of "good" ideas. Valued Senior Member

    Messages:
    13,105
    A better breakdown of what Redrover stated would be that:

    Interpreters languages like Perl, or even Interpreter programs like the browser your using to view the forums, allows human readible programming to be executed.
    However Interpreting code thats human readible is Slow, and in most interpreters I know of it works on the basis of "Line by Line".

    Compilers allow this human readible code that programmers naturally program in, to be turned into executable programs that run at the machine's language level. (Assembly)
    Compiled programs since they are now running at the level of logic gates can actually "multithread" and "parallel process" at a far greater level than an interpreter.

    It is possible to take some Script that is usually run through an interpreter, and compile it into a Binary. In the instance of Scripts used with webservers, this lowers the amount of memory and CPU time that is needed to execute a script when dealing with a clients request. It can help stablise a server this way and is less likely to suffer exploits that interpreters allow through script being maliciously altered.
     
  8. Rick Valued Senior Member

    Messages:
    3,336
    Compiler Construction was a subject that i studied.
    Give me Specifics of your question :
    • You are looking for general information?
    • Do you want me to spill the theoritical details,like what goes on and what is required to build a compiler and what are its parts,phases of a Compiler working etc...?
    • Interpreters,Compilers,Translators,Assemblers differences,similiarities etc?
      Theory behind the design?
    • Optimizations on compilers?
    bye!
     
    Last edited: Jun 18, 2004
  9. Voodoo Child Registered Senior Member

    Messages:
    1,296
    Java has a compiler which compiles source into byte code. This can be run on a virtual machine(which can be seen as an interpreter) or a machine whose machine language is bytecode, eg. picojava chips. The third option is a just in time(JIT) compiler which compiles java to native code.
     
  10. Rick Valued Senior Member

    Messages:
    3,336
    Interpreter to be accurate.


    bye!
     
Thread Status:
Not open for further replies.

Share This Page