Abstract Effect systems are used to statically reason about the effects an expression may have when evaluated. In the literature, such effects include various behaviours as diverse as memory accesses and exception throwing. Here we present CallƐ, an object-oriented language that takes a flexible approach where effects are just method calls: this works well because ordinary methods often model things like I/O operations, access to global state, or primitive language operations such as thread creation. CallƐ supports both flexible and fine-grained control over such behaviour, in a way designed to minimise the complexity of annotations.
Abstract CallƐ’s effect system can be used to prevent OO code from performing privileged operations, such as querying a database, modifying GUI widgets, exiting the program, or performing network communication. It can also be used to ensure determinism, by preventing methods from (indirectly) calling non-deterministic primitives like random number generation or file reading.
Wed 23 OctDisplayed time zone: Beirut change
11:00 - 12:30 | |||
11:00 30mTalk | Deployable Probabilistic Programming Onward! Papers David Tolpin PUB+ | ||
11:30 30mTalk | An Approach for Persistent Time-Varying Values Onward! Papers | ||
12:00 30mTalk | CallƐ: An Effect System for Method Calls Onward! Papers Isaac Oscar Gariano Victoria University of Wellington, James Noble Victoria University of Wellington, Marco Servetto Victoria University Wellington, New Zealand |