what is the differance between native code & managed code?

Answer Posted / debasis

Native code is computer programming (code) that is compiled
to run with a particular processor (such as an Intel
x86-class processor) and its set of instructions. If the
same program is run on a computer with a different
processor, software can be provided so that the computer
emulates the original processor. In this case, the original
program runs in "emulation mode" on the new processor and
almost certainly more slowly than in native mode on the
original processor. (The program can be rewritten and
recompiled so that it runs on the new processor in native mode.)

Native code can also be distinguished from bytecode
(sometimes called interpreted code), a form of code that can
be said to run in a virtual machine (for example, the Java
virtual machine). The virtual machine is a program that
converts the platform-generalized bytecode into the native
code that will run in a specific processor. Microsoft's .NET
compilers for its Visual Basic, C#, and JavaScript languages
produce bytecode (which Microsoft calls Intermediate
Language). Java bytecode and Microsoft's Intermediate
Language can be compiled into native code before execution
by a just-in-time compiler for faster performance.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is autopostback in dropdownlist in asp net?

523


Define secured sockets layer.

533


Describe the events in the life cycle of a web application.

593


What is a query string in a url?

535


Write a code snippet to implement the indentation in json in web api.

571






What is web api and why to use it?

551


What are the different web pages?

488


Where can I get the details on migration of existing projects using various technologies to asp.net?

513


What are the types of authentication in asp.net?

545


What do you mean by View State and what is its role?

524


Explain asp.net web forms.

554


What are the different properties of server control that exists?

558


Explain file-based dependency and key-based dependency.

565


What are the 3 levels at which content pages can be attached to Master Page?

573


What is state management techniques in asp.net?

520