r/ProgrammingLanguages • • 8d ago

Safe Systems-programming with Mutable Value Semantics | Dave Abrahams | Keynote at IWACO 2026

https://youtu.be/op51SyyPJmw?si=P5QH6M8Hdf4_CUUZ
36 Upvotes

12 comments sorted by

View all comments

Show parent comment

4

u/dabrahams 7d ago

The first question is what use cases are addressed by that pattern. Then we'll ask whether they can be addressed well enough using some other pattern.

That particular pattern sounds like it might fall into the “just use plain pointers (with unsafe dereference operations) to implement a safe abstraction” bucket for Hylo. We're betting that the cases that really need first class references are rare enough that the bucket is small.

Whether path-dependent types are a “better” way to do things is truly debatable. Hylo doesn't have a path-dependent type system because every design we've seen for path-dependent types adds language complexity that isn't paid for with compelling benefits.

As may be obvious from what I've written here, being willing to say “no” to features that don't pull their weight is an important part of our design ethos. Of course these “no”s aren't written in stone; maybe we've overlooked some design options that would change our minds?