| 1. |
Explain How A Persistent Pointer Is Implemented. Contrast This Implementation With That Of Pointers As They Exist In General-purpose Languages, Such As C Or Pascal? |
|
Answer» Persistent pointers can be implemented as Abstract Data Types (ADTs). These ADTs should provide the TYPICAL pointer operations like incrementing and dereferencing, so their USAGE and regular pointer usage is uniform. Regular pointers on the other hand are usually built-in types, implemented as PART of the language. Persistent pointers can be implemented as Abstract Data Types (ADTs). These ADTs should provide the typical pointer operations like incrementing and dereferencing, so their usage and regular pointer usage is uniform. Regular pointers on the other hand are usually built-in types, implemented as part of the language. |
|