what is the differance between native code & managed code?
Answers were Sorted based on User's Feedback
Answer / guest
hi
sohan singh
native code is cpu dependent and managed code target to clr
| Is This Answer Correct ? | 7 Yes | 0 No |
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 |
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 |
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 |
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 |
Define ViewState and how can it be used?
What is web.config file ?
What does the "EnableViewState" property do?
Is asp net front end or backend?
How to use push notification?
Your ASP.NET application displays sales data on a page. You want to improve performance by holding the page in memory on the server for one hour. You want to ensure that the page is flushed from memory after one hour, and that the page is re-created when the next request for the page is received. What should you do? A . Initialize a new instance of the Cache class in the Application.Start event handler. B . Initialize a new instance of the Timer class in the Page.Load event handler. C . Set the Duration attribute of the OutputCache directive in the page. D . In the Web.config file, set the timeout attribute of the sessionState element.
5 Answers ADITI, Syntax Softtech,
Where is http session stored?
what is AutoEventWireUp and what is the use of This property explain in details?
You need to be able to retrieve data from DataSet object that has four DataTable objects. There are currently UniqueConstraint and ForeignKeyConstraint Object on the DataTable objects to enforce the data rules. You find that you can retrieve the data from the individual DataTable objects, but you are not able to retrieve the data from the combination of DataTable objects in a Parent/Child manner. What should you do to able to retrieve the data in a Parent/Child manner? a) Set the EnforceParentChild parameter of the DataSet to True. b) Set the EnforceRelation parameter of the Relations collection to True. c) Add DataRelation objects to the Relations Collection to make the DataSet present the data in Parent/Child manner. d) Add a primary key and a foreign key to each of the DataTable objects that should present the data in a Parent/Child manner.
Describe the two main components of the .NET framework ?
Explain exception filters?
What is the best Macanism to clear the Cache in asp.net
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)