COM vs. dotNet component

  • Thread starter Thread starter KongHu
  • Start date Start date
K

KongHu

Hey there,

Is there any article about the difference between COM and DotNet component ?

I mean Is COM's performance is much better than DotNet component ?

Thanks.

--
 
Is there any article about the difference between COM and DotNet component ?

Tons - just do a search on "DotNet COM" on google !
I mean Is COM's performance is much better than DotNet component ?

In general - no. .NET performance is superior, since COM carries a
rather significant overhead with it.

Again - this is just a generalization - in a specific case, this might
not be true.

Marc
================================================================
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)inova.ch
 
COM has to go thru registry for everything, and the average registry access time on a healthy computer is about 600 ms, compared with .net's less than 100 ms to load the assembly.
Secondly. .net's assemblies are very small in size, they are just a little bit bigger than your sourcecode, so it doesn't take too much to load them.
Thirdly, for web based apps, .NET has codebehind, versus the interpreted and rather ugly ASP (ok it has com components too, but that is again registry based).

In addition, .net provides you with so much other than just performance that the switch is a no-brainer.

- Sahil Malik
Independent Consultant
You can reach me thru my blog - http://dotnetjunkies.com/WebLog/sahilmalik/



Hey there,

Is there any article about the difference between COM and DotNet component ?

I mean Is COM's performance is much better than DotNet component ?

Thanks.

--
 
Back
Top