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 М.
Rust Error Handling - Best Practices
21:33
Jeremy Chone
Рет қаралды 24 М.
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 48 МЛН
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 118 МЛН
Rust Programming: The Ultimate Builder Pattern Tutorial
20:22
Jeremy Chone
Рет қаралды 40 М.
Асинхронный Rust:Stackfull Coroutines vs. Future. Артём Павлов
49:03
Видео с мероприятий {speach!
Рет қаралды 3,5 М.
uuid замедляет ваши приложения и сайты
6:39
Миша Ларченко
Рет қаралды 23 М.
The effect of Random UUID on database performance
18:51
Hussein Nasser
Рет қаралды 71 М.
How Rust rose to dominance (by accident)
11:01
Let's Get Rusty
Рет қаралды 39 М.
5 Steps to Learn Rust Programming
25:06
Jeremy Chone
Рет қаралды 8 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 181 М.
The Problem With UUIDs
6:36
Josh tried coding
Рет қаралды 76 М.
Embedded Rust setup explained
23:03
The Rusty Bits
Рет қаралды 89 М.
you need to build a RUST desktop app!!
27:21
Travis Media
Рет қаралды 326 М.
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 48 МЛН