Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this .NET story true?
Message
De
29/01/2004 10:15:53
 
 
À
29/01/2004 09:17:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00871759
Message ID:
00871799
Vues:
17
Grigore,

The primary function of the linker in the context of MS Windows is to create a PE executable image from the OBJ files emitted by a compiler. It will combine all the sections (for example code and data) from the OBJ files (and LIB's) into the relevant final section of the PE, on the way it is calculating the Relative Virtual Address (RVA's) for things like global variables.

Firstly, why would this be of benifit to DOTNET, after all its a managed environment? In fact the only time a linker becomes relevant is if you are using Visual C++.

When you link code statically using the linker utility you pull in all sorts of stuff you don't really need, but it is repeated from one executable to another. How many executable images on an average Win32 machine are bloating our drives with duplicated code?

From a deployment view the runtime (be it VC, VFP or DOTNET) tends to irritate people. Why? Usually size and versioning. One of the key benifits of DOTNET is the ability to create and deploy side-by-side assemblies allowing multiple versions to be installed, identified and ultimately executed.

Why is it of benifit to redistribute the same code every time you deploy an executable? Considering that pretty much everything from the BIOS to the Operating system is just a glorified runtime why do people make such a big deal?

Just my 2p worth.

Neil
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform