Re: [newbie] Why is .Net so big? Why no linker?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Daniel O'Connell [C# MVP] (onyxkirx_at_--NOSPAM--comcast.net)
Date: 01/20/05


Date: Thu, 20 Jan 2005 10:50:04 -0600


"Luke Skywalker" <luke@tatooine.planet> wrote in message
news:t40vu0h2ct9boud4madutreoda2is2lbho@4ax.com...
> On Thu, 20 Jan 2005 07:26:39 -0000, Jon Skeet [C# MVP]
> <skeet@pobox.com> wrote:
>>It's not a case of making it OS-agnostic, it's a case of making it CPU-
>>agnostic. Think about 64-bit CPUs - a 64-bit JIT can no doubt produce
>>much more efficient code than using plain 32-bit instructions emitted
>>by a normal compiler.
>
> Ah ok, makes sense.
>
> As for the size of the .Net framework, I'm beginning to wonder if it
> includes a whole bunch of stuff that non-Net apps must install
> separately like ADO, etc.
>

Yes. The framework includes ADO.NET(~5 meg), ASP.NET(both the runtime and
web control libraries, which is another 10 meg easily), compilers(atleast it
will in 2.0, I forget if it does in 1.1), the runtime itself(GC, JIT, and
the rest, which is about 10-15 meg of the installed size), a full XML
stack(no reliance on MSXML), Windows forms(mostly wrappers around Win32 and
ActiveX, but some stuff is written from scratch), a GDI+ wrapper, the core
libraries, and a vb compatiblity library(if memory serves, anyway).

There is quite alot there. And any app which does not directly access COM or
PInvoke is self contained within the framework, its own code, and any third
party libraries(and what they access, of course).

I think the framework may also install MDAC, but I'm not sure on that last
point.



Relevant Pages

  • Re: Bitter about [Lack of] .Net Framework Deployment
    ... We built a very nice auto-update framework, ... the 30-60 minute range to install. ... Also, the user's perception is reality - and our app install sucks, ... deploying 3.0 application, so I've not paid that close attention. ...
    (microsoft.public.dotnet.framework)
  • Re: Conversion from 2008->2003?
    ... required and install only those, you've not solved the problem of a new .NET ... app that uses a namespace or class you didn't know about when you did the ... Many people have perfectly legitimate reasons for ... If some of the code is being compiled against the 3.5 Framework, ...
    (microsoft.public.dotnet.general)
  • Re: userName="machine" didnt work
    ... to unregister my 1.1 framework do you? ... ASP.NET and .Net Framework versions installed? ... Neither of them have a user specified in their processModel. ... Did you install ASP.NET from SBS disks? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ServiceModelReg fails in installation of WCF
    ... file from a system on which 3.5 framework, ... (those people had to format the whole OS and then install this 3.5 ... securityInformation, SecurityIdentifier owner, SecurityIdentifier ... streamName, Boolean success, Object writeContext, Boolean ...
    (microsoft.public.dotnet.framework)
  • Re: building my .exe can it run anywhere?
    ... Then there are those who have a very fast ADSL connection ... I agree that it is probably safe to target framework 2.0 these days. ... At the end of the day, the question is: What is the .Net Framework ... if it is not installed download and install this from the MS website ...
    (microsoft.public.dotnet.languages.vb)