what is the differance between native code & managed code?

Answers were Sorted based on User's Feedback



what is the differance between native code & managed code?..

Answer / guest

hi
sohan singh
native code is cpu dependent and managed code target to clr

Is This Answer Correct ?    7 Yes 0 No

what is the differance between native code & managed code?..

Answer / sneha

When the complier translates, it translates the .net source
code into MSIL (Microsoft Intermediate Language) which is
known as managed code. These managed code is the CPU -
independent set of instructions which is later converted
into native code (i.e CPU dependent) by the JIT ( Just In-
time) compiler before execution.

Is This Answer Correct ?    7 Yes 2 No

what is the differance between native code & managed code?..

Answer / chaitali

Native code is CPU dependent
Managed Code is when the code is inside the CLR .

Is This Answer Correct ?    5 Yes 0 No

what is the differance between native code & managed code?..

Answer / chinna

The code, which targets clr is called as managed code.
managed code that does not have any providers .it is very
fast than unmanaged code.

If you want to prevent your program from being cracked by
hackers, you can use native code. You can cipher/decipher
this code, or it may be self-modifying code for more
safety.

Is This Answer Correct ?    4 Yes 1 No

what is the differance between native code & managed code?..

Answer / 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

More ASP.NET Interview Questions

what is view state

5 Answers   Microsoft, Siebel Systems,


What is asp.net used for?

0 Answers  


Explain autherization levels in .net ?

2 Answers  


If you want to write your own dot net language, what steps you will you take care?

0 Answers  


Explain the use of dataadapter.

0 Answers  






What is difference between mvc and asp.net? : Asp.Net MVC

0 Answers  


What are type/key pairs in client script registration?

0 Answers  


How do cookies work?

0 Answers  


Explain how can we access static variable?

0 Answers  


You are creating a Web site for Your company. You receive product lists in the form of XML documents. You are creating a procedure to extract information from these XML documents according to criteria that your users will select. When a user makes a request, you want the results of these requests to be returned as quickly as possible. What should you do? A . Create an XmlDataDocument object and load it with the XML dat Use the DataSet property of the object to create a DataSet object. Use a SQL SELECT statement to extract the requested dat B . Create an XmlDataDocument object and load it with the XML data. Use the SelectNodes method of the object to extract the requested data. C . Create an XPathDocument object and load it with the XML data. Call the CreateNavigator method to create an XPathNavigator object. Call the Select method of the XPathNavigator object to run an XPath query that extracts the requested data. D . Create an XmlReader object. Use the Read method of the object to stream through the XML data and to apply an XPath expression to extract the requested data.

1 Answers   Syntax Softtech,


What namespaces are imported by default in ASMX files?

2 Answers  


Input:http://www.allinterview.com/forms/questionform.php Output:http://www.allinterview.com/forms/questionform Write c# program to get the above desired output for the given Input.....

3 Answers   Bally Technologies,


Categories