UUID v7 vs. v4 + Rust Programming Examples

  Рет қаралды 16,114

Jeremy Chone

Jeremy Chone

Күн бұрын

Пікірлер: 23
@kubre_in
@kubre_in 7 ай бұрын
What a condensed and straightforward explanation that can actually be used in the real world.
@SuperRoli123
@SuperRoli123 7 ай бұрын
Really good explanation on different techniques to store the uuids
@weiSane
@weiSane 7 ай бұрын
I wish you were my teacher for a lot of things. I would understand everything so easily and very fast . You are good 👌
@maxali6591
@maxali6591 7 ай бұрын
The content is as good as usually. The time format is perfect for me.
@jaimalad2902
@jaimalad2902 7 ай бұрын
Straightforward & to the point, I like it 👍
@arisweedler4703
@arisweedler4703 6 ай бұрын
TIL UUID v7 & base58. Especially loved the watch cmd and SEEING the 3 v7s lined up next to each other. Made sense before but grokked more fully when I saw the interactivity.
@ervinpm
@ervinpm 7 ай бұрын
Thank you for sharing this, I learned a lot! 😊
@ariseyhun2085
@ariseyhun2085 7 ай бұрын
Really awesome! I'll need to keep this trick in mind
@foklin9698
@foklin9698 7 ай бұрын
Thanks for making these. I didn't even know about the existence of V7. Also, wonder what impact this will have on other tools such as snowflake, as the main critique of UUID was the database indexing part you said.
@midewestmond9442
@midewestmond9442 7 ай бұрын
Thanks always learn new concept from you
@warriorblood92
@warriorblood92 7 ай бұрын
Thanks for explanation. Though I have 2 queries 1. Can we extract time stamp from v7 string to UTC format? 2. Do we have assurance, u4/u7 will always give totally unique string always? Do they maintain trace? I have fear of conflicting duplicate !
@JeremyChone
@JeremyChone 7 ай бұрын
1) For UUID v7 to time (UTC), the library usually handles that. The lib would convert from string -> bytes -> time by extracting only the first 48 bits. 2) Uniqueness - All those UUIDs, v... and so on, are stateless; each generator does not know about the others. However, the whole design of those uuid is to make the likelihood of a conflict practically impossible, but theoretically, they can occur. There are more avaiable litterature about it on the internet.
@camorimd
@camorimd 7 ай бұрын
Awesome video as usual
@keshamix_
@keshamix_ 5 ай бұрын
What an awesome video! Just…. Wow
@rolandrodriguez
@rolandrodriguez 6 ай бұрын
Excellent. 👍🏽
@Boronesss
@Boronesss 7 ай бұрын
Happy Coding!
@marcosdantas4258
@marcosdantas4258 7 ай бұрын
Jeremy what is your hardware, because your cargo-watch is really fast, I got impressed.
@JeremyChone
@JeremyChone 7 ай бұрын
So, I have a maxed-out M3 Max. Now, for many of these, it might be a side effect of video editing. But typically, besides the initial compile, the cargo watch for me takes sub-seconds or 1 to 2 seconds. Even for a large project (currently 10K lines of code), where I am typically in a multi-crate setup, I run my `cargo watch ... test` on one library and typically focus on one function during development.
@CuriousSpy
@CuriousSpy 7 ай бұрын
if you want user-friendly id you can use cuid
@CuriousSpy
@CuriousSpy 7 ай бұрын
but last time i checked - author uses panics
@Mankepanke
@Mankepanke 6 ай бұрын
​@@CuriousSpymaybe a good reason to get into FOSS and send some patches. :)
@Gordonfreems
@Gordonfreems 7 ай бұрын
What happened to v5 and v6
@JeremyChone
@JeremyChone 7 ай бұрын
Yes, I could have mentioned those. - v5 is more specialized for use cases where we need to generate a UUID based on a SHA-1 namespace and name, making UUIDv5 deterministic and repeatable. - v6 also has a time component, similar to v7, but with a custom format. Typically, we would use v7 over v6 as it uses the well known unix time format.
Rust Toggle End Of Lines - Rust10x VSCode Extension
2:22
Jeremy Chone
Рет қаралды 4,4 М.
5 Steps to Learn Rust Programming
25:06
Jeremy Chone
Рет қаралды 8 М.
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 35 МЛН
Who's spending her birthday with Harley Quinn on halloween?#Harley Quinn #joker
01:00
Harley Quinn with the Joker
Рет қаралды 24 МЛН
Rust Programming: The Ultimate Builder Pattern Tutorial
20:22
Jeremy Chone
Рет қаралды 40 М.
Why Rust is NOT a Passing Fad...
8:54
Travis Media
Рет қаралды 42 М.
The Problem With UUIDs
6:36
Josh tried coding
Рет қаралды 76 М.
uuid замедляет ваши приложения и сайты
6:39
Миша Ларченко
Рет қаралды 23 М.
Rust Ollama By Examples - 4 Chapters (Full Tutorial - Rust AI)
1:00:42
Асинхронный Rust:Stackfull Coroutines vs. Future. Артём Павлов
49:03
Видео с мероприятий {speach!
Рет қаралды 3,5 М.
The US has planned their move to Rust (it's wild)
16:31
Theo - t3․gg
Рет қаралды 115 М.
Rust Programming: TypeState Builder Pattern Explained
14:30
Jeremy Chone
Рет қаралды 34 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 181 М.
9 Rust Best Practices with Real Lib (part 1/3)
27:11
Jeremy Chone
Рет қаралды 11 М.
DualShock Evolution 🎮
0:12
Gleb POV
Рет қаралды 994 М.
HONOR MAGIC 7 PRO. ПЕРВЫЙ ОБЗОР В РОССИИ
20:21
ЧЕСТНЫЙ БЛОГ
Рет қаралды 34 М.
APPLE WATCH 10 - ЧАСЫ ЗАГАДКА
14:50
ЗЕ МАККЕРС
Рет қаралды 50 М.
Such a gadget should be at hand.
0:17
Super Craft
Рет қаралды 2,3 МЛН