.NET framework
-
Wat is the difference between interpreted code and compiled code? Maddy
-
Wat is the difference between interpreted code and compiled code? Maddy
Madhuri Shekar wrote:
Wat is the difference between interpreted code and compiled code?
Interpreted code is code that is executed by a program. Java script is a good example. Your web browser reads Java script code from a server. That code commands the interpreter to do things. Those things make up the logic of your program, (in this case your web page). Compiled code is translated into the native code of your processor. It is extremely fast and effeciant compared to interpreted code. Imagine writing a program that will read Java script and follow the orders that the script tells it to do. That would be an interpreter. It is more complicated than that but that is the basic principle. In .NET your programs are NOT interpreted. They are compiled down to IL. That IL is then compiled to the native code of your processor. It is optimized for your execution environment. .NET code is a little slower than native code but in some cases it can be faster for many reasons. The JIT(explained in another reply to you) can optimize for your CPU and it may contain some multimedia technology that your program can take advantage of. With native C++ you cannot assume that all your customers will be using that processor so you must compile it for an older processor. I have just scratched the surface of the deferences. I recommend you to some research on it.
█▒▒▒▒▒██▒█▒██ █▒█████▒▒▒▒▒█ █▒██████▒█▒██ █▒█████▒▒▒▒▒█ █▒▒▒▒▒██▒█▒██