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 are app services?

530


What is the use of global.asax file?

548


Is asp.net still used?

495


What is viewstate in asp net with example?

526


I have an external link in my application say www.xyztest.com. Today this site works on http protocal. Tommorow it may run on https. So i cant hardcore the protocal in the site. When a user clicks on the link how can i know if the external site works on http or https and takes him to that place?

1468






Is asp.net core faster?

548


how to write html code with ssl

1527


What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

546


What is difference between inproc and outproc?

663


Hi this is the coding for adding data in to an xml table i want the coding for update and delete Try Dim emp_xml_doc As New XmlDocument If System.IO.File.Exists(Server.MapPath("emp.xml")) Then emp_xml_doc.Load(Server.MapPath("emp.xml")) Dim myrow_element As XmlElement myrow_element = emp_xml_doc.CreateElement("EmpDetails") Dim str As String str = "" & TxtEmpId.Text & "" & _ "" & TxtName.Text & "" & _ "" & TxtSalary.Text & "" myrow_element.InnerXml = str emp_xml_doc.DocumentElement.AppendChild(myrow_element) emp_xml_doc.Save(Server.MapPath("emp.xml")) Response.Write("Record Saved") Dim ds As New DataSet ds.ReadXml(Server.MapPath("emp.xml")) GridView1.DataSource = ds GridView1.DataBind() Else Response.Write("File does not exist.") End If Catch ex As Exception Response.Write(ex.ToString) End Try *********************** this is the xml file 100 xxx 2000 yyy dddd 77777 rrrr rrrr 6666 qaqa sini 50000 errrrrrrrr rrrrrrrrr 677777 rrr rrr 33

1735


What is the difference between ASP Session State and ASP.Net Session State?

585


What is the use of worker process in asp.net?

531


How do I open an ashx file in windows 7?

573


Give me one example of Web API Routing?

601


What is master page in dtp?

547