3 ms·
I don't think Pascal pointers had to be implemented as location+size, since most operations that required checking the size were undefined or implementation-def
by int_19h 7y ago
I don't think Pascal pointers had to be implemented as location+size, since most operations that required checking the size were undefined or implementation-defined anyway. Some implementations might have used them to provide runtime checks, but it was certainly not the case in Turbo Pascal, for example.