Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for v7 UUIDs to the uuid library #550

Open
6 tasks
rdw-software opened this issue Aug 1, 2024 · 0 comments
Open
6 tasks

Add support for v7 UUIDs to the uuid library #550

rdw-software opened this issue Aug 1, 2024 · 0 comments

Comments

@rdw-software
Copy link
Member

rdw-software commented Aug 1, 2024

The stduuid library hasn't seen active development in a while, so it'll have to be a custom addition (can replace later).

Roadmap:

  • Add some rudimentary benchmarks (mainly out of curiosity)
    • UUID4 vs UUID7
    • C++ with FFI vs. Lua/Bitops
  • Add unit tests
  • Add uuid.v7 as a separate, experimental generator (incompatible with isCanonical and RFC_STRING_PATTERN)
  • TBD: Are additional utility methods needed?

In the long term, the UUID library/bindings need a bit of a redesign. This can wait until the RFC is standardized, however.

There's also potential security concerns - see RFC: https://www.rfc-editor.org/rfc/rfc9562#name-timestamp-considerations
These may or may not be important enough to warrant taking them into account when settling on a "stable" implementation.

However, for now just getting something usable will suffice. I want to experiment with the v7 format before going any further.

@rdw-software rdw-software moved this to Soon™ in Evo.lua: Timeline Aug 1, 2024
@rdw-software rdw-software changed the title Add support for generating v7 UUIDs to the uuid library Add support for v7 UUIDs to the uuid library Aug 2, 2024
@rdw-software rdw-software moved this to Oooh, shiny! (Highly experimental) in Evo.lua: Roadmap Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Oooh, shiny! (Highly experimental)
Status: Soon™
Development

No branches or pull requests

1 participant