Deadlock-Free Typestate-Oriented Programming
Luca Padovani (Universit\`a di Torino, Italy)

TL;DR
This paper introduces a refined type system for concurrent typestate-oriented programming that guarantees deadlock freedom by analyzing object dependencies and circularities, enhancing scalability and supporting complex synchronization patterns.
Contribution
It presents the first deadlock analysis technique for join patterns and offers a fully compositional, scalable type system for concurrent objects ensuring deadlock-free execution.
Findings
Type system guarantees deadlock freedom in concurrent TSOP
Supports complex synchronization with join patterns
Scalable, compositional analysis for large programs
Abstract
Context. TypeState-Oriented Programming (TSOP) is a paradigm intended to help developers in the implementation and use of mutable objects whose public interface depends on their private state. Under this paradigm, well-typed programs are guaranteed to conform with the protocol of the objects they use. Inquiry. Previous works have investigated TSOP for both sequential and concurrent objects. However, an important difference between the two settings still remains. In a sequential setting, a well-typed program either progresses indefinitely or terminates eventually. In a concurrent setting, protocol conformance is no longer enough to avoid deadlocks, a situation in which the execution of the program halts because two or more objects are involved in mutual dependencies that prevent any further progress. Approach. In this work, we put forward a refinement of TSOP for concurrent objects…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
