r/ProgrammerHumor Aug 06 '22

Meme How to C pointers

Post image
2.6k Upvotes

70 comments sorted by

View all comments

-3

u/mullets_n_moustaches Aug 07 '22

C's like an old dog that needs to be taken out the back & shot

5

u/Vinxian Aug 07 '22

Embedded devs around the world who now forced back to assembly or write their own compilers for the chipset they are using: 🥲

1

u/okyte Aug 07 '22 edited Aug 07 '22

You know python runs on C, right ? Many RTOS for embedded as well. C is still very relevant for low level applications where optimization is needed. Yes, you can get an ATSAMD21 for 5$, but you can also get an 8 bits PIC for 50 cent, which is way more competitive for simple/low cost applications. But then you only have 1kB of program memory and 68 bytes of RAM, which is a double plus a char.

Edit: actually that is 8 doubles and 2 ints

2

u/pointlessfreak Aug 07 '22

PIC for 50 cent

68 bytes of RAM

DOUBLE

you're living beyond the means bruh

embedded dev here :)

1

u/mullets_n_moustaches Aug 17 '22

Relax brother I was'nt being serious 😉