I made myself a string library in C from scratch, so I can have normal strings in my future videos and don't have to use string.h
Here we'll see how you can implement strings in C, how existing libc implementations do some of related functionality, and have a little tour of what I did for myself. Hope you enjoy!
Library link: https://github.com/valignatev/String.h
sds library: https://github.com/antirez/sds
Chapters:
00:00 - Intro
00:15 - Why
02:26 - First style - struct
05:16 - Second - Pascal style
06:50 - Comparing approaches
10:20 - single-header details
11:30 - Library implementation tour
15:05 - Splitting strings
23:50 - Looking at musl and glibc
27:13 - Wrapping up