Loading video...

Video Failed to Load

Go Home

Libraries That Quietly Revolutionized C

99,459 views • 10 months ago •via X (Twitter)

35 Comments

Тsфdiиg's profile picture
Тsфdiиg10 months ago

References: - -

Agustín Cordes's profile picture
Agustín Cordes10 months ago

I leveraged STB back in 2004 to develop a custom engine. Legendary code. Heck, eternal code.

Dan Mack's profile picture
Dan Mack10 months ago

Excellent video on both the mechanisms behind single file libraries and for letting me know about stb which I missed somehow. I have used the single file amalgamation of sqlite but never stb, very cool!

ashu's profile picture
ashu10 months ago

Oh now I understand why some libs/packages are single header includes in C/C++ for example: Although it doesn’t need to use macros like you just showed, maybe cuz of C++ (I am new to this language :p)

Ninad Sachania's profile picture
Ninad Sachania10 months ago

Do one on unity builds, Mr. @tsoding.

angry fker's profile picture
angry fker10 months ago

js: hold my beer

Yisheng Jiang's profile picture
Yisheng Jiang10 months ago

C is goat

Kirloß's profile picture
Kirloß10 months ago

Love the video thank u

_native.dev's profile picture
_native.dev10 months ago

I refuse to use that woke freak’s image loaders so I wrote my own

thesmartski's profile picture
thesmartski10 months ago

Absolute masterpiece.

Vector 🥷⚡️'s profile picture
Vector 🥷⚡️10 months ago

Absolutely brilliant 👏

Christoffer Rozenbachs's profile picture
Christoffer Rozenbachs10 months ago

I actually implemented std_image today 😂😎🫡

Ramson Mwangi's profile picture
Ramson Mwangi10 months ago

what did js do? 😄

BIPOC MAGA's profile picture
BIPOC MAGA10 months ago

Comrade Tsoding, great to see you still programming!!!

gh8472's profile picture
gh847210 months ago

Formally, a language can impose, what I call, the ODR paradigm, and, or, the non ODR paradigm. ODR is roughly how it is defined in C/C++. Header only libraries are sometimes used to impose a non ODR paradigm, formally speaking. And it is one reason why the T exists in C++ STL.

Hurts No More's profile picture
Hurts No More10 months ago

I randomly know now why there are header files :D great

Stefan von der Krone's profile picture
Stefan von der Krone10 months ago

I would always pick a single js file without any dependencies over a npm module

Márton Polgár's profile picture
Márton Polgár10 months ago

Educational video, with utterly false title. I'm gonna call it learnbaiting. Jokes aside, you can certainly just do this in Javascript. It's astonishing how much people forget that this is literally how Javascript libraries started in the browser.

Jacob's profile picture
Jacob10 months ago

Oh yea, stbi and stbc were instrumental when I tried to write an OpenGL renderer in plain C a few years back.

🎅🏾🇬🇭's profile picture
🎅🏾🇬🇭10 months ago

Ohh yeah 🤓😎

felipe's profile picture
felipe10 months ago

Very good explanation.

ouhra's profile picture
ouhra10 months ago

😎

Jeremie Pelletier's profile picture
Jeremie Pelletier10 months ago

stb isn't a library, it's a header :D

Mina Kurtz's profile picture
Mina Kurtz10 months ago

I prefer: from lib import x

Diabolo_8008's profile picture
Diabolo_800810 months ago

next idea, libraries that revolutionized objective-c? 😅

Simple Guy's profile picture
Simple Guy10 months ago

What do you think about Rust?

diapollo's profile picture
diapollo10 months ago

Very cool

allOS.dev - Creating Cross-Platform Apps's profile picture
allOS.dev - Creating Cross-Platform Apps10 months ago

Wow! Fantastic video. So much knowledge contained in this 10 min video that it's amazing. Great stuff. thanks for sharing.

Matthew Carven's profile picture
Matthew Carven10 months ago

include <bios.h>; include <dos.h>;

El's profile picture
El10 months ago

that's cool

nyx's profile picture
nyx10 months ago

the best libraries are invisible - you just assume that's how things work. half the internet runs on code nobody talks about

dyma's profile picture
dyma10 months ago

that's brilliant

John Doe Jr. 🇵🇸 🇺🇦➐'s profile picture
John Doe Jr. 🇵🇸 🇺🇦➐10 months ago

Yeah, AI is not replacing this one lol

0x's profile picture
0x10 months ago

TBH js sucks! again a great short video! nice explanation! 🙌

Ian job's profile picture
Ian job10 months ago

Wonder if ai can replicate this

Related Videos