[gmpi] Re: Bridging GUIDs and URIs

  • From: "Ron Kuper" <RonKuper@xxxxxxxxxxxx>
  • To: <gmpi@xxxxxxxxxxxxx>
  • Date: Thu, 10 Feb 2005 08:56:40 -0500

UUIDs are 128 bit quantities.  

Using a hash of a URI seems like the worst of both worlds to me... 

-----Original Message-----
From: gmpi-bounce@xxxxxxxxxxxxx [mailto:gmpi-bounce@xxxxxxxxxxxxx] On
Behalf Of Steve Harris
Sent: Thursday, February 10, 2005 4:12 AM
To: GMPI Reqs. List
Subject: [gmpi] Bridging GUIDs and URIs

I've used the XPCOM interface inside Mozilla, but that either doesnt
have,
or doesn't expose the GUID gubbins to developers, so this may be off
mark,
but...

A well known* technique for processing huge volumes of URIs is to hash
them
with a universal hash (such as MD5), this gives you a non-colliding
identfier of 64-128 bits.

My understanding is that GUIDs are 64bit integers. So, can we take a
hash
of the URI thats used for plugin identification, and use that as the
GUID
for the COM object? It requires that developers can set the GUID for
thier
COM objects, and I dont know if that can be done, but it seems like a
way
to use URIs for identification, and keeping COM compatability where that
matters.

- Steve

* http://eprints.ecs.soton.ac.uk/8231/ sec 4.4 pg. 7

----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your
own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe


----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: