Universally Unique ID

by Stephen001
A library to provide UUID generation support. [More]
To download this library for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://Stephen001.UUID##version=3

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://Stephen001.UUID##version=3

69 downloads
Version 0.1.2
Date added: Mar 24 2012
Last updated: Oct 16 2012
1 fan
Universally Unique IDs (or UUIDs, for short) are a series of strings generated by one of a number of algorithms, that are guaranteed (in a practical sense) to be unique once generated, universally.

The practical limitation of the uniqueness of these strings is such that duplicates are not 100% probable until every person on the planet generated about 600 million UUIDs. As we do not compare every UUID ever made against every other (your program's UUIDs are probably never compared with another program's, for example), you are more or less guaranteed by statistics, that your UUIDs are always unique. Regardless of what machine they are generated on, or how many you generate.

The benefit of this is simple: You can tag stuff globally, persist the ID between world restarts and share these IDs among many servers, and each ID will still be unique, without having to do any fancy recording or checking, or any central savefile, website or database.

Comments

Kozuma3: (Apr 23 2012, 5:48 am)
A demo for players to use would be nice if they didn't understand and know what to do with it. ^^
Stephen001: (Apr 23 2012, 5:38 am)
Essentially, yup! Keeth did inform me that the algorithm for generating these IDs was not intensely fast, so I do still need to do optimisation. Obviously I also require documentation and a demo, but then I'm good to go more publicly I feel.

Any thoughts on the library so far?
Kozuma3: (Apr 23 2012, 4:42 am)
That is really kewl (: , Its the online version of the RFID chip :D!