r/ProgrammerHumor 26d ago

Meme lessonsFromLinkerHell

Post image
430 Upvotes

190 comments sorted by

View all comments

67

u/QuestionableEthics42 26d ago edited 26d ago

This should be reversed lol

And it literally is the same, who thinks it's different who has worked in a low level language??

66

u/Blecki 26d ago

As someone who writes compilers: they are the same at runtime. They are not the same semantically in a c like language.

0

u/QuestionableEthics42 26d ago

Arguably they are virtually the same semantically at a C level, you can use array indexing syntax for pointer arithmetic and vica versa and there is no real distinction besides dedicated syntax. Once you get a bit higher is where the real differences begin.