Hi All,
I have bunch of related questions regarding how realloc() and memory in general works on the Playdate.
-
Does the Playdate support virtual memory? I cannot seem to find whether the Cortex M7 does or not.
-
If the answer to 1) is yes, does realloc() return committed memory, or does it just reserve address space like it does on standard desktop OSs? If the answer to 1) is no, I assume it just returns physical/comitted memory back, right?
-
If you realloc() on existing memory, can all the pointers stemming off of the original allocation potentially be invalidated?