Get the latest tech news

TIL: Versions of UUID and when to use them


8 versions of UUID and when to use them Saturday, June 29, 2024 About a month ago1, I was onboarding a friend into one of my side project codebases and she asked me why I was using a particular type of UUID. I'd heard about this type while working on that project, and it's really neat.

About a month ago, I was onboarding a friend into one of my side project codebases and she asked me why I was using a particular type of UUID. Here, I'll provide some explanation of what they are at a high level, linking to the specific section of the RFC in case you want more details. UUID Version 1 (v1) is generated from timestamp, monotonic counter, and a MAC address.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of versions

versions

Photo of UUID

UUID

Photo of TIL

TIL

Related news:

News photo

Leak shows Snapdragon 8 Gen 4 could have two versions with Oryon CPUs

News photo

Instagram AI starts letting people create versions of themselves

News photo

ULID: Like UUID but Sortable (2019)