Dynamic ownership in a dynamic language

  • Authors:
  • Donald Gordon;James Noble

  • Affiliations:
  • Innaworks Development Ltd, Wellington, New Zealand;Victoria University, Wellington, New Zealand

  • Venue:
  • Proceedings of the 2007 symposium on Dynamic languages
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Object aliasing causes as many problems in dynamic languages as it does in static languages. Most existing work on aliasing, such as ownership types, relies on static checking based on annotations and type declarations. We introduce ConstraintedJava, a scripting language based on BeanShell that provides dynamic ownership checking. Dynamic ownership provides the encapsulation benefits of static ownership types but preserves the flexibility of dynamic languages.