[ANN] uuid generator

  • Thread starter Simon Stapleton
  • Start date
S

Simon Stapleton

Hi.

I knocked together a little C extension today with the help of the
guys on the ruby-lang irc channel, it uses the libuuid stuff
generally available on unix boxes to generate uuids. If anyone is
interested, it's available at http://www.tufty.ath.cx/~simon/
uuid_generator-0.1.tar.gz

BSD licensed, do what you like with it.

Simon
 
S

Simon Stapleton

Woops. Mixup on the webserver meant that anyone who trid getting to
it would have got a 403. My bad, and should be fixed now.

I should probably mention that I have no idea if this works under
Windows. Should work under any relatively recent unix-alike, though

Simon
 
S

Steven Jenkins

Simon said:
I knocked together a little C extension today with the help of the guys
on the ruby-lang irc channel, it uses the libuuid stuff generally
available on unix boxes to generate uuids. If anyone is interested,
it's available at http://www.tufty.ath.cx/~simon/ uuid_generator-0.1.tar.gz

I went through this exercise myself a while back, and then discovered
that DCE-style UUIDs are called GUIDs in Windows (Microsoft having
independently implemented DCE), and there's a pure Ruby implementation
available:

http://raa.ruby-lang.org/project/ruby-guid/

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,173
Messages
2,570,937
Members
47,481
Latest member
ElviraDoug

Latest Threads

Top