Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is Native Code?

The Project's Web section (under project properties in VS2008) has a list of debuggers: ASP.NET, Native Code, SQL Server. What is Native Code?

like image 595
Guy Avatar asked Sep 30 '08 06:09

Guy


People also ask

What do you mean by native code?

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.

Is C++ native code?

C and C++ programs are native. Java and C# (and all . NET languages for that matter) are managed.

Is machine code and native code same?

Native code and machine code are the same thing -- the actual bytes that the CPU executes.

What is native code python?

Native code refers to programming code that is configured to run on a specific processor.


2 Answers

Native code doesn't run on the Common Language Runtime (CLR). An example would be a non-managed C++ application.

like image 29
JeffFoster Avatar answered Sep 19 '22 15:09

JeffFoster


Native code is machine code executed directly by the CPU. This is in contrast to .NET bytecode, which is interpreted by the .NET virtual machine.

A nice MSDN hit: Debugging Native Code

like image 158
John Millikin Avatar answered Sep 22 '22 15:09

John Millikin