Getting Started with Adobe After Effects - Part 6: Motion Blur
This module helps you to share, discuss and learn interview questions and answers of different technologies

.NET Framework - What is the advantage for compiling to intermediate code instead of native code directly?

Apr 9 2012 12:00AM by Ramireddy   

Question

Recently in one of the interview, I faced this tricky question, "What is the advantage for compiling to intermediate code instead of native code directly?"

Answer

This is a tricky question. However, i read an article written by .NET team member Eric Lippert about the same topic.

Converting to Intermediate code has few advantages over direct conversion of native code. As so many languages comes under .NET framework, and all source code of these languages has to support conversion into native code in different platforms.

Say, if there are "m" number of languages, and these supports "n" number of platforms, it will take "m"x"n" implementations, if source code is directly converted to native code.

By introducing Intermediate Language concept, it required only "m" + "n" different implementations, as all languages has to implement only conversion to intermediate code. This approach results in less coding effort for language implementer.

Read More..   [255 clicks]

Published under: C# Interview Questions and Answers ·  ·  ·  · 


Ramireddy
2 · 41% · 12972
0
Liked
 
0
Asked



Submit

Your Comment


Sign Up or Login to post a comment.

".NET Framework - What is the advantage for compiling to intermediate code instead of native code directly?" rated 5 out of 5 by 9 readers
.NET Framework - What is the advantage for compiling to intermediate code instead of native code directly? , 5.0 out of 5 based on 9 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]