What is .Net Framework?????
Your earlier languages compiled to assembly language. Typically for MS C++, this was the Pentium 4. Many processors could read this language, if not for a decrease in performance.
With .NET this changed. Now all .NET languages compile* into what was known as MSIL (Microsoft Intermediate Language) but is now known as CIL (Common Intermediate Language). Expect to hear either acronym, as they both mean the same thing. Whether its C#, VB .Net, C++ CLI, or even Delphi, they all compile to this language. What is this language? Its a pseudo assembly language.
This pseudo assembly language is unreadable by CPU's... so the .NET framework comes with another tool. The JIT (Just in Time) compiler. This is automatically ran when a program written in .NET is ran. It compiles ONLY the portion of the program you are using, hence, you could technically never compile portions of a program. Advantages? Disadvantages? Well, without going into too much detail, it boils down to this: It compiles to assembly language for the user's specific CPU, creating an increase in run time speed, although there is extra overhead to compile at runtime.
The other staple of .NET is the GC (Garbage Collection). Professed to be the end of memory leaks, the GC runs in the background constantly monitoring your program and cleaning up unused memory. How does this work? Well, it watches when and if you ever reference a variable, and when it is no longer referenced it releases it. While it does clean up a lot of the variables, there are still some specific instances that the programmer will have to clean up after themselves, but these are far fewer than ealier languages. This also adds to the overhead.
The final note I will touch upon with .NET is the libraries it incorporates. Many functions are already included with .NET and many programmers will find all they need within there. Very few functions have to be hard coded with WIM or other externals.
Many state that .NET programs run slower than their C++ counterparts and many state the opposite. Their arguement stems from the GC and JIT portions of .NET. Where as the JIT does compile a faster running assembly code, the program has more running in the background to keep it going. Do the benefits outweigh the results? Thats a question for another day, but know that the answer probably lies in 'depends.' It probably depends on the program and what it is doing.
The Native Image Generator (NGEN) can create versions of .NET precompiled to Assembly Language, and if the processor can use it, it will over the JIT version of it. This still incorporates the GC though, but it is faster than the JIT for the specific processors it is compiled to.
Source :click here
Re: What is .Net Framework?????
NET Framework is a framework that can be used by an operating system Microsoft Windows and Microsoft Windows Mobile from version 5. A lighter version and comes with a limited runtime operating within a browser or a mobile device is available under the name of Silverlight . It is based on the standard Common Language Infrastructure (CLI) that is independent of programming language used. Thus all languages compatible within standard CLI have access to all libraries installed (installable) in the execution environment.
|Tags: framework, msil, net, net framework, wim|
|Thread Tools||Search this Thread|
|Similar Threads for: "What is .Net Framework?????"|
|Thread||Thread Starter||Forum||Replies||Last Post|
|.NET Framework 3.5 Service Pack 1 and .NET Framework 3.5 Family Update (KB951847) x86||M.Scarlet||Server Update Service||10||05-05-2011 11:13 AM|
|Microsoft .NET Framework 3.5 Service Pack 1 and .NET Framework 3.5||sapper||Windows Update||13||06-02-2010 03:21 AM|
|JSF Framework Vs Spring Framework||Bottlenecked||Software Development||5||30-01-2010 10:11 AM|
|Update to .NET Framework 3.5 Service Pack 1 for the .NET Framework Assistant 1.0 x86 (KB963707)||t-4-2||Windows Update||8||11-07-2009 02:54 PM|
|Microsoft .NET Framework 3.5 Service Pack 1 and .NET Framework 3.5 Family Update (KB951847) x64 Installation problem||BP||Windows Update||8||16-03-2009 08:29 AM|