Search your Topic HERE....

January 02, 2014

Incremental Compiler - Features

12 comments

sponsored links

Friends, we have already discussed in detail about Compilers. Today we shall discuss about Incremental Compiler. As you know when you compile a program it undergoes into several phases. That means it take some time for compilation. Assume that you have five thousand lines of code and it takes 5 minutes to compile (in real life it wont take that much time, just assume). You have a small error from line 450 to line 480. Now you have modified these lines. Now using the normal compilation process you have to re compile the whole program again. That means unnecessarily you are compiling all the five thousand lines for the sake of 30 lines. What if you can simply compile those 30 lines of code and add it to the already compiled version of 4970 lines of code? That's the logic behind the incremental compiler.

The Incremental Compiler is such a compilation scheme in which only modified source text gets recompiled and merged with previously compiled code to form a new target code. Thus incremental compiler avoids recompilation of the whole source code on some modification. Rather only modified portion of source program gets recompiled.

Here are various features of incremental compiler
  1. During program development process modifications to source program can cause recompilation of whole source text. This overhead is reduced in incremental compiler.
  2. Run time errors can be patched up just like compile time errors by keeping program modification as it is.
  3. The compilation process is faster.
  4. Handling batch programs become very flexible using incremental compiler.
  5. In incremental compiler program structure table is maintained for memory allocation of target code. When a new statement is compiled the new entry for it is created in program structure table. Thus memory allocation required for incremental compiler need not be contiguous.
sponsored links

12 comments:

  1. Hi mam,

    The post is not relevant to the above topic. But i need to clear one doubt which is very urgent. Mam, my IBPS PO Interview is on sunday mam but OBC certificate which ibps asked was to be dated after(1.1.2013) but i got OBC certificate in correct format dated before (1.1.2013). Will they allow me for interview. Kindly help me mam

    ReplyDelete
    Replies
    1. It totally dependent on the panel members Gowtham. But in most of the cases they wont mind such simple issues. Prepare well for the interview. All the best :)

      Delete
  2. hii mam... is there a section of banking/general awareness in so exam??.... plz inform me.. i was not clear about it................

    ReplyDelete
    Replies
    1. There is no section of banking/general awareness in so exam............But there is professional knowledge section(50 questions-75 marks)............prepare well for that........best of luck

      Delete
    2. There is no such section in so exam.........................But there is professional knowledge section(50 questions-75 marks).................prepare well for that........

      Delete
  3. Mam,
    Can u tell me when will be SBI PO & clerk exam? and also suggest some books for SBI PO & Clerk

    ReplyDelete
  4. madam how many people applied for ibps specialist officer for this year 2014 not the exact hope ...
    this time they allow only few branches from engineering

    ReplyDelete
  5. sir/mam i have my PO interview on 7th jan i have done my engg. in IT pzzz tell me which topic i should prepare from my IT background

    ReplyDelete
  6. Give some ibps-so questions about this topic....................then it will be very useful after the reading of your topics..............

    ReplyDelete
  7. Good Work............................................But give some questions related to this topic(ibps-so).............Then it will be a good asset for the candidates who are preparing for ibps/so,08-02-2014 ,09-02-2014

    ReplyDelete
  8. Mam,
    I am EEE graduate n I have relevant work experience in IT. Will I b able apply for SBI SO? Pls. clarify...

    ReplyDelete

Related Posts Plugin for WordPress, Blogger...