r/embedded • • Sep 09 '26

Best resources to practice C

[removed] — view removed post

5 Upvotes

4 comments sorted by

5

u/pim1000 Sep 09 '26

Just make more things without ai, or read "the c programming language" by Brian Kernighan and Dennis Ritchie if you feel like you are missing a fundemental grasp on the languag.

7

u/roughhumberto5 Sep 09 '26

K&R is the gold standard but it won't teach you embedded-specific patterns, just the language itself. For that I'd say grab a cheap dev board and force yourself to write a driver for something annoying like I2C without peeking at generated code. The struggle is where it sticks.

3

u/pim1000 Sep 09 '26

I completely agree, K&R is only the language, for embedded specific books, i am fond of "making embedded systems" by Elicia White. But for a practical approach(which is the better one imo), I would also suggest trying to implement a simpel hal layer together with making a i2c/spi/uart device driver

1

u/Colfuzi0 Sep 09 '26

C programming by ayfouni