Follow Us

Header Ads

What is Compiler || Meaning | Example | Advantages | Disadvantages ||

 Meaning of Compiler

A compiler is a software or program that reads the complete source program written in high-level language as a whole and translates it into machine language. The compiler specifies the errors when there are any errors in the source code. These errors need to be removed before the compiler can successfully recompile the source code.

Example of Compiler


Check out the video to understand the example.




Advantages of Compiler


1.) Compiler runs programs quickly as they translate the high-level language as a whole into machine language.

2.) Files generated from the compiler can be run on any other system without the need for actual source code. It makes the program secure and saves time.

Disadvantages of Compiler


1.) The major disadvantage of a compiler is that it takes time to compile sources code. As in the case of large files, the compiler takes huge amounts of time to compile, while smaller programs take little time to compile. 

2.) Compiler occupies extra memory while generating a new file.


------------------------------------------------------------------------------------

Related Link



Post a Comment

0 Comments