Abstract
Some students experience difficulties when first introduced to dynamic memory. The goal of this paper is to present an analogy between dynamic memory programming and a real-world example that will help students in understanding the underlying concepts behind dynamic memory: a left-luggage room with lockers.
- 1 Ben-Ari, M. Principles of Concurrent Programming. Prentice-Hall, 1982. Google Scholar
Digital Library
- 2 Cole, L D. While loops and the analogy of the single stroke engine. SIGCSE Bulletin 23, 3 (Sept. 1991), 20-22. Google Scholar
Digital Library
- 3 Johnson, G. J. Of metaphor and the difficulty of computer discourse. Communications of the ACM 37, 12 (Dee. 1994), 97-102. Google Scholar
Digital Library
- 4 Madsen, K. H. A guide to metaphorical design. Communications of the ACM 37, 12 (Dee. 1994), 57- 62. Google Scholar
Digital Library
Index Terms
The locker metaphor to teach dynamic memory
Recommendations
The locker metaphor to teach dynamic memory
SIGCSE '97: Proceedings of the twenty-eighth SIGCSE technical symposium on Computer science educationSome students experience difficulties when first introduced to dynamic memory. The goal of this paper is to present an analogy between dynamic memory programming and a real-world example that will help students in understanding the underlying concepts ...
Scalable lock-free dynamic memory allocation
PLDI '04: Proceedings of the ACM SIGPLAN 2004 conference on Programming language design and implementationDynamic memory allocators (malloc/free) rely on mutual exclusion locks for protecting the consistency of their shared data structures under multithreading. The use of locking has many disadvantages with respect to performance, availability, robustness, ...







Comments