uulid.go VS shortuuid.rb

Compare uulid.go vs shortuuid.rb and see what are their differences.

uulid.go

ULID-UUID compatibility library for generating and parsing ULIDs. (by sudhirj)

shortuuid.rb

Convert UUIDs & numbers into space efficient and URL-safe Base62 strings, or any other alphabet. (by sudhirj)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
uulid.go shortuuid.rb
2 2
31 61
- -
2.6 0.0
6 months ago almost 2 years ago
Go Ruby
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

uulid.go

Posts with mentions or reviews of uulid.go. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-06.
  • New UUID Formats – IETF Draft
    11 projects | news.ycombinator.com | 6 Aug 2021
    For those interested in time based UUIDs, I've written libraries in Ruby and Go to move quickly between them:

    https://github.com/sudhirj/uulid.go

  • Timeflake: 128-bit, roughly-ordered, URL-safe UUIDs
    8 projects | news.ycombinator.com | 22 Jan 2021
    There’s a spec called ULID that’s pretty much this with default base32 encoding

    https://github.com/ulid/spec

    I’ve also worked on a UUID-ULID bridge for Go

    https://github.com/sudhirj/uulid.go

    And seeing as this is just 128 bits it’s quite easy to move seamlessly between formats and representations.

    I’ve found this concept especially useful in nosql stores like DynamoDB, where using a ULID primary key makes objects time sortable automatically. It’s also quite easy to query for items by zeroing out the random component and setting only the time stamp bytes.

shortuuid.rb

Posts with mentions or reviews of shortuuid.rb. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-06.
  • New UUID Formats – IETF Draft
    11 projects | news.ycombinator.com | 6 Aug 2021
  • A Bit Overcomplicated
    2 projects | news.ycombinator.com | 5 Aug 2021
    At the risk of sounding stupid, I have no idea how bit-shifting and bitwise operators work, though I've worked in the field for over a decade and am now a Staff Engineer or whatever. There, I said it.

    It's just something I haven't gotten around to reading yet. I suspect some code would be made clearer by it, but even when doing something similar I wound up using the math textbook was to do it even though I suspect the bit operators would be much faster.

    https://github.com/sudhirj/shortuuid.rb/blob/master/lib/shor...

    https://github.com/sudhirj/shortuuid.go/blob/master/shortuui...

What are some alternatives?

When comparing uulid.go and shortuuid.rb you can also consider the following projects:

timeflake - Timeflake is a 128-bit, roughly-ordered, URL-safe UUID.

spec - The canonical spec for ulid

ulid-mssql - Implementation of ULID generator For Microsoft SQL Server

Pomelo.EntityFrameworkCore.MySql - Entity Framework Core provider for MySQL and MariaDB built on top of MySqlConnector

Ulid - Fast .NET C# Implementation of ULID for .NET and Unity.

ksuid - K-Sortable Globally Unique IDs

uuid6-ietf-draft - Next Generation UUID Formats

lexid - fast lexicographically orderable/sortable ID generator