Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Insane Shadow Data Trick in C

55,148 görüntüleme • 8 ay önce •via X (Twitter)

26 Yorum

Тsфdiиg profil fotoğrafı
Тsфdiиg8 ay önce

References: - - - Source Code:

Valentin Ignatev profil fotoğrafı
Valentin Ignatev8 ay önce

Besides the video being great, I gotta say it's super scary that printf does what it does :D

Тsфdiиg profil fotoğrafı
Тsфdiиg8 ay önce

ikr!

Marcos Capistrano profil fotoğrafı
Marcos Capistrano8 ay önce

The way you structure content makes it extremelly satisfacting as you are able to explain complex topics fast, White not dumbing it down. You sir are a inspiration!!

Igor profil fotoğrafı
Igor8 ay önce

cries in UB:

Liberté, égalité, anxiété profil fotoğrafı
Liberté, égalité, anxiété8 ay önce

I was learning C in 2016, and this is what I made as soon as I got comfortable with pointers. I didn't even have a header struct, I used raw offsets for the count and capacity.

Reece profil fotoğrafı
Reece8 ay önce

Great video! Also great follow up:

Tħ∀TΣΔGIC∀LCΔT profil fotoğrafı
Tħ∀TΣΔGIC∀LCΔT8 ay önce

iirc malloc does a similar thing, it also appends a header to the memory it allocated

Drewsky profil fotoğrafı
Drewsky8 ay önce

All I see is 69, Weed, Leet and Boobs ^^

Elementary, Watson profil fotoğrafı
Elementary, Watson8 ay önce

my first ever implementation of a dynamic data buffer and mutable dynamic string buffer was like that (seriously: if people learned assembly before C, we'd have fewer "memory bugs" and more effective coding) 🤷‍♂️

FlyingSolomon profil fotoğrafı
FlyingSolomon8 ay önce

The video is great! I'll add though, the most error prone thing about it is holding long-term pointers to array items as it can be reallocated at any time and most likely the old values will be valid for a while, very frustrating bugs.

Mario profil fotoğrafı
Mario8 ay önce

Clever C techniques enable hidden data tricks

John profil fotoğrafı
John8 ay önce

Where are my Flexible-Array Member brothers @?

Jiří Moravec profil fotoğrafı
Jiří Moravec8 ay önce

That was very entertaining. 20 minutes just flew past!

Momoyon!!!!!! profil fotoğrafı
Momoyon!!!!!!8 ay önce

cant wait to see this every now and then from now on

F A B I A N🧋 profil fotoğrafı
F A B I A N🧋8 ay önce

Tu canal me da esperanza

Plague profil fotoğrafı
Plague8 ay önce

you just increased my braincells

facts matter, lies shatter 🇳🇱 🇺🇸 profil fotoğrafı
facts matter, lies shatter 🇳🇱 🇺🇸8 ay önce

Nice. I personally rather use (inline) functions over macros. Sure you lose type generality, but it's safer. I would not do this in C. I rather use C++ for something like this. Templates, namespaces and friendly constructors.

Salah profil fotoğrafı
Salah8 ay önce

Thank you for this good videos. But how many rehearsal times you do for it?

Ayan Khan profil fotoğrafı
Ayan Khan8 ay önce

bro dropped Dynamic Array 2: The return of the King

pkuseri (🍉) profil fotoğrafı
pkuseri (🍉)8 ay önce

Where's the dynamic array part

dyma profil fotoğrafı
dyma8 ay önce

C for Cool

Yeab - engg / core was in Palo Alto🌴 profil fotoğrafı
Yeab - engg / core was in Palo Alto🌴8 ay önce

cool

Da Silva Miguel profil fotoğrafı
Da Silva Miguel8 ay önce

Now this is gold ! I wonder if it’s possible to define a new type just we can know where numbers isn’t just a “simple” float* or int*

Someone profil fotoğrafı
Someone8 ay önce

shlen, ха-ха, член

Kolt profil fotoğrafı
Kolt8 ay önce

I finally know how to make dynamic arrays in C. Thank you!

Benzer Videolar