by revelation · 9y ago · 0 comments
There's no abstraction or 'concept' of arrays there. You are literally just telling the compiler to take a certain pointer and move i steps ahead.
But "arrays" in C aren't a chunk of memory, just the info where it starts and how large elements are.
C is full of undefined behavior, assembly is not.
Actually we often give up features and specialize with high level languages. That's why there are things easier to do in Ruby than in C++ and vice versa.
They are all (usually much more convenient) subsets of assembly.