Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Dynamic Region Ownership for Concurrency Safety
Uppsala University, Disciplinary Domain of Science and Technology, Mathematics and Computer Science, Department of Information Technology. (UPLANG)ORCID iD: 0009-0006-5356-280X
Microsoft, Redmond, USA.ORCID iD: 0009-0009-5083-3311
Microsoft Azure Research, Cambridge, United Kingdom.ORCID iD: 0009-0004-4049-134X
Microsoft Azure Research, Cambridge, United Kingdom.ORCID iD: 0000-0002-1019-8036
Show others and affiliations
2025 (English)In: Proceedings of the ACM on Programming Languages, E-ISSN 2475-1421, Vol. 9, no PLDI, p. 1565-1590Article in journal (Refereed) Published
Abstract [en]

The ways in which the components of a program interact with each other in a concurrent setting can be considerably more complex than in a sequential setting. The core problem is unrestricted shared mutable state. An alternative to unrestricted shared mutable state is to restrict the sharing using Ownership. Ownership can turn what would have been a race into a deterministic failure that can be explained to the programmer. However, Ownership has predominantly taken place in statically typed languages.

In this paper, we explore retrofitting an existing dynamically typed programming language with an ownership model based on regions. Our core aim is to provide safe concurrency, that is, the ownership model should provide deterministic dynamic failures of ownership that can be explained to the programmer. We present a dynamic model of ownership that provides ownership of groups objects called regions. We provide dynamic enforcement of our region discipline, which we have implemented in a simple interpreter that provides a Python-like syntax and semantics, and report on our first steps into integrating it into an existing language, Python.

Place, publisher, year, edition, pages
Association for Computing Machinery (ACM), 2025. Vol. 9, no PLDI, p. 1565-1590
National Category
Computer Sciences
Research subject
Computer Science
Identifiers
URN: urn:nbn:se:uu:diva-566197DOI: 10.1145/3729313ISI: 001638771600013Scopus ID: 2-s2.0-105008271555OAI: oai:DiVA.org:uu-566197DiVA, id: diva2:1994155
Part of project
Data-race Freedom and Memory Safety for Untyped Languages, Swedish Research CouncilPervasive Memory Safety through Ownership Types, Swedish Research Council
Funder
Swedish Research Council, 2023-05526Swedish Research Council, 2024-04565Available from: 2025-09-02 Created: 2025-09-02 Last updated: 2026-03-13Bibliographically approved

Open Access in DiVA

fulltext(1147 kB)312 downloads
File information
File name FULLTEXT01.pdfFile size 1147 kBChecksum SHA-512
0ed8f00f45942b2ec031bf825621f5506deca0d72b3ede44c4bc4d708d9dbc073670632b58f2301fe94a340778f514460d00ac83472296bb80c3e07eea371b22
Type fulltextMimetype application/pdf

Other links

Publisher's full textScopus

Search in DiVA

By author/editor
Stoldt, Fridtjof PeerBucher, BrandtClebsch, SylvanJohnson, Matthew A.Parkinson, Matthew J.van Rossum, GuidoSnow, EricWrigstad, Tobias
By organisation
Department of Information TechnologyComputing ScienceDivision of Computing Science
In the same journal
Proceedings of the ACM on Programming Languages
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 312 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 69 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf