Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Tired of all these "arrays start at n" posts. So to be a complete fucking hypocrite, I'll elaborate once, and only once. Arrays start at the memory address at which they're allocated, and grow down by the size in bytes of the data type. ESP(stack pointer) is the top of the stack, and each addition moves downward(esp-4, esp-8, usw). So, top of the stack is 0(base pointer at the start of memory allocation). That's it. Case. Fucking. CLOSED.
rant