CoC: Making Gradual Typing Efficient & Expressive under Monotonic Semantics

01 September 2026, 16:00, Hanna Neumann Building 3.41
Speaker: Haoyu Wu (ANU)

Abstract#

Gradual typing provides a mechanism for migrating programs from dynamic to static, especially for applications starting from a simple prototype. The common questions for gradual typing are the runtime semantics that check at typed/untyped boundaries and idiom gaps between static language and dynamic language. One of these semantics is monotonic semantics, which uses the fact that types become more precise during runtime. Monnom is one implementation using an imposition list that gradually accumulates types at boundaries.

In this talk, we explore the invocation mechanism, call-tag, for Monnom. We found that in the current implementation, although each type invocation on dynamic objects imposes the type on objects, the following calls still walk through the former path, without enjoying the benefit of monotonicity. Besides, adding fields and patching methods are common in dynamic languages; we hope to use the new approach **evolution**, together with Monnom's IMT, to make it available in gradual typing. These explorations would help us make monotonic semantics more efficient and expressive.

bars search caret-down plus minus arrow-right times