Designing with Static Capabilities and Effects: Use, Mention, and Invariants

05/23/2020
by   Colin S. Gordon, et al.
0

Capabilities (whether object or reference capabilities) are fundamentally tools to restrict effects. Thus static capabilities (object or reference) and effect systems take different technical machinery to the same core problem of statically restricting or reasoning about effects in programs. Any time two approaches can in principle address the same sets of problems, it becomes important to understand the trade-offs between the approaches, how these trade-offs might interact with the problem at hand. Experts who have worked in these areas tend to find the trade-offs somewhat obvious, having considered them in context before. However, this kind of design discussion is often written down only implicitly as comparison between two approaches for a specific program reasoning problem, rather than as a discussion of general trade-offs between general classes of techniques. As a result, it is not uncommon to set out to solve a problem with one technique, only to find the other better-suited. We discuss the trade-offs between static capabilities (specifically reference capabilities) and effect systems, articulating the challenges each approach tends to have in isolation, and how these are sometimes mitigated. We also put our discussion in context, by appealing to examples of how these trade-offs were considered in the course of developing prior systems in the area. Along the way, we highlight how seemingly-minor aspects of type systems – weakening/framing and the mere existence of type contexts – play a subtle role in the efficacy of these systems.

READ FULL TEXT
research
01/16/2013

Pivotal Pruning of Trade-offs in QPNs

Qualitative probabilistic networks have been designed for probabilistic ...
research
03/09/2021

Trade-offs in the Design of Multimodal Interaction for Older Adults

This paper presents key aspects and trade-offs that designers and Human-...
research
06/07/2022

A Trade-off-centered Framework of Content Moderation

Content moderation research typically prioritizes representing and addre...
research
03/07/2020

Measurement-driven Analysis of an Edge-Assisted Object Recognition System

We develop an edge-assisted object recognition system with the aim of st...
research
02/08/2021

The Limits of Computation in Solving Equity Trade-Offs in Machine Learning and Justice System Risk Assessment

This paper explores how different ideas of racial equity in machine lear...
research
12/22/2022

Designing Equitable Transit Networks

Public transit is an essential infrastructure enabling access to employm...
research
07/13/2022

Performance and EMF Exposure Trade-offs in Human-centric Cell-free Networks

In cell-free wireless networks, multiple connectivity options and techno...

Please sign up or login with your details

Forgot password? Click here to reset