[Opensim-dev] Thoughts on UUID
Stefan Andersson
stefan at tribalmedia.se
Thu Apr 10 08:23:11 UTC 2008
And, to nit-pick even more; it's NOT an UUID, it's a GUID. But that's kind of taken, so the pragmatic approach mould be UUID.
Yeah, we own the namespace, let's call it an UUID. :D
By the way, why we want to get away from LLUUID is because large parts of the codebase includes libsecondlife ONLY to get that datatype.
depending on libsecondlife for something as central as ID handling leads to those assemblies being cumbersome to re-use in other settings (like, for example, when building web apps, standalone tools and supporting services - take the case of the UGAI; they really shouldn't need libsecondlife at all.)
/Stefan
> From: sempuki1 at gmail.com> To: opensim-dev at lists.berlios.de> Date: Thu, 10 Apr 2008 16:18:21 +0900> Subject: Re: [Opensim-dev] Thoughts on UUID> > Nit-pick: how about OpenSim.UUID or OpenSim.UniqueID; in a namespace?> > Its a pet peeve of mine when people prefix things that should be> namespaced. ;)> > Cheers,> > On Wed, 2008-04-09 at 14:14 -0400, Sean Dague wrote:> > One of the things that I ran into today is how many places LLUUID ends> > up in our code base from libsecondlife. While not always a problem it> > does lead to some oddness.> > > > * libsecondlife is a required link for lots of classes that just need a> > UUID> > * LLUUID is not serializable, which causes us some pain> > * LLUUID has changed a couple of times in the past, causing us grief> > > > It seems like it would be a good idea to replace LLUUID as much as> > possible with our own OSUUID (I put a sample in> > OpenSim/Framework/OSUUID.cs). It would look very similar to LLUUID> > (which is basically just a wrapper on System.Guid), but be> > [Serializable]. It would also mean that we could drop a lot of> > libsecondlife references. I think that would be required for Stefan's> > OpenSim.Model idea.> > > > Thoughts?> > > > This will be a lot of work if we decide to do it, and a couple of days> > of brutal instability to do a swap out like this, as we can't get rid of> > LLUUID entirely (we need it when we get to packet generation I think).> > > > Discussion on this one would be appreciated. Definitely wouldn't want> > to make any changes like this without full agreement from everyone.> > > > -Sean> > > > _______________________________________________> > Opensim-dev mailing list> > Opensim-dev at lists.berlios.de> > https://lists.berlios.de/mailman/listinfo/opensim-dev> > _______________________________________________> Opensim-dev mailing list> Opensim-dev at lists.berlios.de> https://lists.berlios.de/mailman/listinfo/opensim-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080410/a6102287/attachment-0001.html>
More information about the Opensim-dev
mailing list