ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How Compiler works?

    Scheduled Pinned Locked Moved IT Discussion
    4 Posts 2 Posters 502 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LakshmanaL
      Lakshmana
      last edited by

      How the compilers work @scottalanmiller ?

      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        So a compiler is used for certain types of programming languages, not scripting languages. Languages like C, C++, Fortran, COBOL and so forth are compiled languages. With these types of languages you need to write your program as usual and then you run that language through a compiler. The resulting output of a compiler is binary code or an executable that you can run on your computer.

        You see compiled applications all of the time, this is what produces .exe files on Windows or ELF files on Linux. These are very common. This file is just a set of binary instructions for the computer so can still be looked at and you can determine what it does.

        Compiled programs are less portable but can potentially run faster because much of the work of getting them ready for the computer to run is done before hand rather than at run time, like scripting languages do.

        1 Reply Last reply Reply Quote 1
        • LakshmanaL
          Lakshmana
          last edited by

          Everything will be done in Software or by coding ?

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @Lakshmana
            last edited by

            @lakshmana said in How Compiler works?:

            Everything will be done in Software or by coding ?

            Yes

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post