News for hackers. Stuff that matters.
Re:The Rust I wanted had no future by hayley-patton on Monday June 05, 2023 @06:37AM (#36194566)
I don't mean "effects" in the sense where you can have effect handlers which get delimited continuations and all; it'd just mark what could happen (like checked exceptions). But I can't think of any languages with that and not effect handlers; Koka, Eff, and Unison come to mind for effects, though their practical-ness may vary.
Re:The Rust I wanted had no future by zozbot234 on Monday June 05, 2023 @07:09AM (#36194761)
Do you really need effect handlers as a separate feature once you have async/await? It seems like you could easily encode one with the other.
Re:The Rust I wanted had no future by hayley-patton on Monday June 05, 2023 @09:48AM (#36196159)
An effect handler is allowed to invoke a continuation multiple times; I believe this is not possible with async/await.