Mon 21 Oct 2024 11:00 - 11:30 at IBR East - Software Language Design and Implementation II Chair(s): Jeff Smits

Type classes support the implementation of highly reusable algorithms and data structures without loss of efficiency. Initially developed in Haskell, they have become central to the design of several modern programming languages, including Swift, Rust, Hylo, and Carbon. A key part of their success is the ability to express sophisticated abstractions using constraints on the types associated with their operations. However, this expressiveness invites thorny theoretical and engineering questions. In particular, the support of recursive constraints—i.e., constraints specifying that an associated type of an abstraction must be a model of that abstraction—leaves type equivalence undecidable.

This paper studies a semi-decidable technique to tackle this problem that was first developed in Swift’s compiler. The core idea is to encode constraints into a term rewriting system and use normalization to answer type checking queries. We describe this approach formally through the lens of FG, a calculus originally designed to capture generic programming best practices, and discuss an implementation in the context of Hylo, a language inspired by Swift and Rust.

I’m a post-doc researcher at EPFL (Switzerland). I’m working on language designs for safe and high-performance computing.

Besides research, I’m also actively involved in software development and engineering, and actively maintain a handful of open source software libraries. Most (if not all) of my work is available on my GitHub profile.

Mon 21 Oct

Displayed time zone: Pacific Time (US & Canada) change

11:00 - 12:30
Software Language Design and Implementation IISLE at IBR East
Chair(s): Jeff Smits Delft University of Technology
11:00
30m
Talk
Type Checking with Rewriting Rules
SLE
Dimi Racordon EPFL, LAMP
DOI
11:30
30m
Talk
Trieste: A C++ DSL for Flexible Tree Rewriting (Tool paper)
SLE
Sylvan Clebsch Microsoft Azure Research, Matilda Blomqvist Uppsala University, Elias Castegren Uppsala University, Matthew Johnson Azure Research, Microsoft, Matthew J. Parkinson Microsoft Azure Research
DOI
12:00
30m
Talk
Method Bundles (New Ideas/Vision paper)
SLE
Dimi Racordon EPFL, LAMP, Dave Abrahams Adobe
DOI