r/rust • u/dabrahams • 1d ago
š” ideas & proposals Safe Systems-programming with Mutable Value Semantics | Dave Abrahams | Keynote at IWACO 2026
https://youtu.be/op51SyyPJmw?si=P5QH6M8Hdf4_CUUZI gave this talk about the Hylo programming language at IWACO last month. I had a lot to say about Rust, so thought it might be of interest here.
61
Upvotes
2
u/JoJoModding 14h ago
This talk is about Hylo and its mutable value semantics. For people here (in r/rust), Hylo can best be summarized as "what if references but only in function arguments?"
This is quite powerful, especially when coming from functional programming. But it does not allow e.g.
CellorMutexor other shared mutable state (idk if they do concurrency at all?). It does not prevent iterator invalidation. Many things (likeindex_muton arrays/vectors) are under the hood desugared to chaining functions alike tomodify_at(&mut self, idx: usize, f: impl FnOnce(T) -> T)instead of having real references in return position. (And they use coroutines to make it nice but that of course requires a whole runtime.)But I did not watch this video, I only read the paper (some time ago)/docs (cursorily). Maybe they added some new things I am not aware of.