[Mono-list] Some questions about shared assemlies, strong names...

Philippe Lavoie philippe.lavoie@cactus.ca
Mon, 5 May 2003 09:48:42 -0400


I thought that the GAC could also deal with version clashing. UNIX =
systems have the handy libsomething.so -> libsomething.1.2.1.so symbolic =
link method to deal with it. There is no such thing in the Windows =
world, hence the DLL hell which frequently occurs on those systems.

Like you mentioned in other e-mails name clashing can be partially =
resolved with renaming a file or educating developers. Which, like was =
said in another thread, will not work for corporate developers or when =
somebody ports and already existing project.

How is MONOPATH handling the versioning issue?

Philippe Lavoie
=20
   Cactus Commerce           Software Developer  *  D=E9veloppeur de =
logiciels
eBusiness. All Business.          philippe.lavoie@cactuscommerce.com
=20
-----Original Message-----
From: Paolo Molaro [mailto:lupus@ximian.com]=20
Sent: Sunday, May 04, 2003 7:18 AM
To: mono-list
Subject: Re: [Mono-list] Some questions about shared assemlies, strong =
names...

On 05/04/03 Fergus Henderson wrote:
> On 03-May-2003, Paolo Molaro <lupus@ximian.com> wrote:
> > The strong name is useful for 1% of the
> > cases, but I think it doesn't fit the world of free software very =
well.
> > Strong names are based on the concept of having a secret key and =
that of
> > course doesn't match with source availability. And if you distribute =
the
> > private key, 99% of the reason for having a strong name becomes moot
> > and hence useless.
>=20
> I don't agree.  Having a strong name with a publically-distributed
> "private" key is still useful for dealing with name clashes.
> IMHO that is about 50% of the reason for using strong names, not 1%.

I may have not expressed myself clearly. There are two uses for strong
names, as I see it:
1) handle name clashes
2) enforcing some protection on how some assemblies are used (this needs
help from the CLR and is only meaningful for proprietary sw in a closed
environment, IMHO)

I gave a 99% relevance to point 1, because I don't find case 2 very
interesting. You assign it a 50% importance, I guess that's fine,
depends what other reasons you see for strong names, I might miss some.
So, we're back at the name clashes: how big is the problem?
I maintain that it's relevant in a tiny 1 percent of the cases, from
the number of name clashes that I saw happening, for example, with the
programs packaged for Debian. The clashes are rare, hence my 1% figure
(that refers to the 100% of use cases for shared assemblies, not strong
names) though I agree they are still an issue.

lupus

--=20
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list