Towards Gradual Checking of Reference Capabilities

Kiko Fernandez-Reyes,Isaac Oscar Gariano,James Noble,Tobias Wrigstad
DOI: https://doi.org/10.48550/arXiv.1909.01465
2019-10-15
Abstract:Concurrent and parallel programming is difficult due to the presence of memory side-effects, which may introduce data races. Type qualifiers, such as reference capabilities, can remove data races by restricting sharing of mutable data. Unfortunately, reference capability languages are an all-in or nothing game, i.e., all the types must be annotated with reference capabilities. In this work in progress, we propose to mix the ideas from the reference capability literature with gradual typing, leading to gradual reference capabilities.
Programming Languages
What problem does this paper attempt to address?