You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/crutchcorn/posts/uuid-v6-8/index.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
{
3
3
title: "UUIDv6, UUIDv7, and UUIDv8; what are they?",
4
-
description: "",
4
+
description: "There's new UUIDs on the block! Let's explore what's new with UUIDv6, v7, and v8.",
5
5
published: '2024-11-20T21:52:59.284Z',
6
6
tags: ['computer science'],
7
7
license: 'cc-by-4',
@@ -44,7 +44,7 @@ If you've worked much with UUIDv1 UUIDs, you'll see a pattern in the new UUIDv6
44
44
45
45
And compare it to the UUIDv6 example:
46
46
47
-

47
+

48
48
49
49
We can see how the order of the UUIDv6 is "just" a rearrangement of the bytes presented in a UUIDv1.
50
50
@@ -70,7 +70,7 @@ Let's explore why that is by taking a look at UUIDv7 next.
70
70
71
71
If we look at the byte order of UUIDv7 without any additional context, it might start to look familiar to UUIDv1 and v6:
72
72
73
-

73
+

74
74
75
75
However, if we note the `input data` section of this graph, the distinction becomes clear.
76
76
@@ -84,7 +84,7 @@ See, Epoch time is broadly used in nearly every computer system that needs to ke
84
84
85
85
Now comes the fun one of the bunch of new UUID formats: UUIDv8.
86
86
87
-

87
+

88
88
89
89
You'll notice that outside of the encoded variant and version that UUIDv8 allows you to encode any data you'd like.
0 commit comments