A type system for safe memory management and its proof of correctness

Manuel Montenegro, Ricardo Peña, Clara Segura · 2008

We present a destruction-aware type system for the functional language Safe, which is a first-order eager language with facilities for programmer controlled destruction and copying of data structures. It provides also regions, i.e. disjoint parts of the heap, where the program allocates data structures. The runtime system does not need a garbage collector and all allocation/deallocation actions are done in constant time.

Read the paper · More papers on PaperTik