Loading video...

Video Failed to Load

Go Home

Libraries That Quietly Revolutionized C

99,444 views • 9 months ago •via X (Twitter)

35 Comments

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

References: - -

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

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

Dan Mack's profile picture
Dan Mack9 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
ashu9 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 Sachania9 months ago

Do one on unity builds, Mr. @tsoding.

angry fker's profile picture
angry fker9 months ago

js: hold my beer

Yisheng Jiang's profile picture
Yisheng Jiang9 months ago

C is goat

Kirloß's profile picture
Kirloß9 months ago

Love the video thank u

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

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

thesmartski's profile picture
thesmartski9 months ago

Absolute masterpiece.

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

Absolutely brilliant 👏

Christoffer Rozenbachs's profile picture
Christoffer Rozenbachs9 months ago

I actually implemented std_image today 😂😎🫡

Ramson Mwangi's profile picture
Ramson Mwangi9 months ago

what did js do? 😄

BIPOC MAGA's profile picture
BIPOC MAGA9 months ago

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

gh8472's profile picture
gh84729 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 More9 months ago

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

Stefan von der Krone's profile picture
Stefan von der Krone9 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ár9 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
Jacob9 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
🎅🏾🇬🇭9 months ago

Ohh yeah 🤓😎

felipe's profile picture
felipe9 months ago

Very good explanation.

ouhra's profile picture
ouhra9 months ago

😎

Jeremie Pelletier's profile picture
Jeremie Pelletier9 months ago

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

Mina Kurtz's profile picture
Mina Kurtz9 months ago

I prefer: from lib import x

Diabolo_8008's profile picture
Diabolo_80089 months ago

next idea, libraries that revolutionized objective-c? 😅

Simple Guy's profile picture
Simple Guy9 months ago

What do you think about Rust?

diapollo's profile picture
diapollo9 months ago

Very cool

allOS.dev - Creating Cross-Platform Apps's profile picture
allOS.dev - Creating Cross-Platform Apps9 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 Carven9 months ago

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

El's profile picture
El9 months ago

that's cool

nyx's profile picture
nyx9 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
dyma9 months ago

that's brilliant

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

Yeah, AI is not replacing this one lol

0x's profile picture
0x9 months ago

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

Ian job's profile picture
Ian job9 months ago

Wonder if ai can replicate this

Related Videos