Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

A Lightweight Type-and-Effect System for Invalidation Safety - Tracking Permanent and Temporary Invalidation with Constraint-Based Subtype Inference

ACM SIGPLAN via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore a 14-minute conference presentation from OOPSLA 2025 that introduces InvalML, a novel type-and-effect system designed to address invalidation safety in programming languages. Learn how researchers Cunyuan Gao and Lionel Parreaux from Hong Kong University of Science and Technology developed a higher-rank polymorphic system that statically tracks both permanent and temporary invalidation of sensitive values and resources without imposing aliasing or capture restrictions. Discover how this system uses Boolean-algebraic types including unions, intersections, and negations to precisely model side effects and guarantee invalidation safety across various programming scenarios. Understand the practical type inference algorithm that requires minimal programmer annotations, focusing only on higher-rank and polymorphically-recursive functions. Examine the wide-ranging applications of this approach, including stack-based and region-based memory management, iterator invalidation prevention, data-race-free concurrency, mutable state encapsulation, type-safe exception and effect handlers, and scope-safe metaprogramming. Gain insights into how this lightweight solution overcomes limitations of previous approaches that restricted language expressiveness while providing robust safety guarantees for resource management and program correctness.

Syllabus

[OOPSLA'25] A Lightweight Type-and-Effect System for Invalidation Safety: Tracking Permanent and(…)

Taught by

ACM SIGPLAN

Reviews

Start your review of A Lightweight Type-and-Effect System for Invalidation Safety - Tracking Permanent and Temporary Invalidation with Constraint-Based Subtype Inference

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.