Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Creating unique ID's?

From: greggirwin:mindspring at: 16-Jul-2002 11:38

Hi Ingo, << I need to create ID's which are unique over even when they are created on different machines, or several poeple on the same machine, etc. Does anyone have a better idea than unique-id: join join system/user/email system/network/host now/precise
>>
I guess that depends on *how* unique they need to be. For example, if you call this twice in a row, you'll very likely get the same ID so it's not a good substitute for something like the DCE UUID approach, but that may be overkill. If you need ID's that are *guaranteed* (or as close as we can get to that) to be unique across time and space, I think you'll need to do more. Adding a random element would be a good start. There was a short discussion on the list in mid-January about UUID generation. --Gregg