@article{arvidsson2023reference, author = {Arvidsson, Ellen and Castegren, Elias and Clebsch, Sylvan and Drossopoulou, Sophia and Parkinson, Matthew J. and Noble, James and Wrigstad, Tobias}, title = {Reference Capabilities for Flexible Memory Management}, year = {2023}, month = {October}, abstract = {Verona is a concurrent object-oriented programming language that organises all the objects in a program into a forest of isolated regions. Memory is managed locally for each region, so programmers can control a program’s memory use by adjusting objects’ partition into regions, and by setting each region’s memory management strategy. A thread can only mutate (allocate, deallocate) objects within one active region — its “window of mutability”. Memory management costs are localised to the active region, ensuring overheads can be predicted and controlled. Moving the mutability window between regions is explicit, so code can be executed wherever it is required, yet programs remain in control of memory use. An ownership type system based on reference capabilities enforces region isolation, controlling aliasing within and between regions, yet supporting objects moving between regions and threads. Data accesses never need expensive atomic operations, and are always thread-safe.}, url = {http://approjects.co.za/?big=en-us/research/publication/reference-capabilities-for-flexible-memory-management/}, journal = {Proc. ACM Program. Lang.}, volume = {7}, number = {OOPSLA2}, }