# Keynote: Making Capabilities Safe and Convenient - Martin Odersky | Lambda Days 2025

**URL:** <https://erlangforums.com/t/keynote-making-capabilities-safe-and-convenient-martin-odersky-lambda-days-2025/4904>\
**Category:** Talks\
**Tags:** code-sync, code\
**Created:** [July 15, 2025, 1:00pm UTC](https://erlangforums.com/t/keynote-making-capabilities-safe-and-convenient-martin-odersky-lambda-days-2025/4904 "2025-07-15T13:00:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CodeSync](https://erlangforums.com/user_avatar/erlangforums.com/codesync/32/1204_2.png) [@CodeSync](https://erlangforums.com/u/CodeSync)\
**Post date:** [July 15, 2025, 1:00pm UTC](https://erlangforums.com/t/keynote-making-capabilities-safe-and-convenient-martin-odersky-lambda-days-2025/4904/1 "2025-07-15T13:00:03Z")

</div>

Keynote: Making Capabilities Safe and Convenient - Martin Odersky | Lambda Days 2025

[![](https://img.youtube.com/vi/CJ19_h5cECY/maxresdefault.jpg "Keynote: Making Capabilities Safe and Convenient - Martin Odersky | Lambda Days 2025") ](https://www.youtube.com/watch?v=CJ19_h5cECY)

> [@](#):
>
> ✨ This talk was recorded at Lambda Days in June 2025. If you’re curious about our upcoming event, check [https://lambdadays.org](https://lambdadays.org)✨
> 
> Keynote: Making Capabilities Safe and Convenient
> 
> The object capability model has been established since the 1960s. It is probably the most obvious and clean way to protect trusted from untrusted components in a complex system. So why are object capabilities not used everywhere? I argue it’s because they currently lack in both convenience and safety:
> 
> Convenience: Passing all capabilities along long call chains to code that needs them can quickly get tedious.  
> Safety: Access restrictions such as limited lifetimes or sharing are traditionally encoded using runtime mechanisms with the possibility of runtime failures.  
> In Scala, we have been working on overcoming these two impediments.
> 
> Convenience: capabilities can be passed as implicit parameters in using clauses, and capability passing can be completely abstracted over using context functions.  
> Safety: We have extended the type system to track capabilities in types. Specifically, we track which capabilities are closed over in a lambda or object.  
> I will report on the initial usage experience with these concepts and the measures we took to make the notations ergonomic.

_Comments welcome! View the #code-sync tag for more Code Sync talks!_
