Lecture Notes for April 22
Read for Today
- Sections 7.3, 7.4, 7.7, and 7.10.
Topics to Cover Today
- Records
- heterogeneous, named data treated as a whole
- in memory: offsets, padding, assignment, equality test
- variant records: equality test, tag/discriminant
- Arrays (true arrays, not hashes!)
- homogeneous, indexed data treated as a whole
- zero-based, one-based, n-based?
- multi-dimensional
- Pointers
- Garbage collection
- reference counting