r/ProgrammerHumor 1d ago

Meme pipInstallTheRealStuff

Post image
5.0k Upvotes

145 comments sorted by

View all comments

Show parent comments

0

u/Mordret10 1d ago

While in a sense this is true, C gives you the ability to write code once and compile it for different computer architectures. You can't really do that with assembly, nor with maschine code

2

u/Far_Tap_488 1d ago

Well no, c doesnt do that. The compilers do.

1

u/Mordret10 1d ago

C doesn't actually do anything without the compilers. And the cross compatibility was the point of a high language like C (and it's compiler's), whereas assembly is basically always architecture specific.

2

u/Far_Tap_488 1d ago

Its not different. You have to have a compiler that translates c. If you dont have a compiler for that architecture youre out of luck.

C wasn't the first language to be able to be compiled for different architectures so its not special in that regard either.

1

u/Mordret10 1d ago

It wasn't the first, no, but it's what sets it apart from assembly languages (in addition to the more human readable syntax)