Resource typing in Guru

  • Authors:
  • Aaron Stump;Evan Austin

  • Affiliations:
  • The University of Iowa, Iowa City, IA, USA;The University of Kansas, Lawrence, KS, USA

  • Venue:
  • Proceedings of the 4th ACM SIGPLAN workshop on Programming languages meets program verification
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents a resource typing framework for the Guru verified-programming language, in which abstractions for various kinds of program resources can be defined. Implemented examples include reference-counted data, mutable arrays, and heap-allocated mutable aliased data. The approach enables efficient, type-safe programming with mutable and aliased data structures, with explicit deallocation (not garbage collection). We evaluate performance of the approach with two verified benchmarks, one involving mutable arrays, and another involving FIFO queues.