News for hackers. Stuff that matters.
Re:The problem of effects in Rust (2020) by ithkuil on Saturday August 28, 2021 @04:24AM (#28336508)
Re:The problem of effects in Rust (2020) by still_grokking on Sunday August 29, 2021 @11:41PM (#28352613)
Frank does it right, yes.

They use "abilities" as a dual to effects. That's imho the crucial part. Most of the other effect systems only implement half the thing.

But I would change two parts: First of all the co-effects should be proper "capabilities" in the sense of "capability security". The other thing would be modelling the co-effects as co-data. They already use some (ad hoc?) notion of "Interfaces". Those look like co-data definitions (resembling OOP Interfaces). I also thing co-data with co-pattern matching could solve some of the problems mentioned at the end of the paper. Inspiration could be taken form: https://www.cs.uoregon.edu/Reports/DRP-201905-Sullivan.pdf

Re:The problem of effects in Rust (2020) by cies on Saturday August 28, 2021 @09:07AM (#28337726)
Seams stale. The paper is a joy to read though...

"Do, be, do, be, do" (those who read it will understand)

This paper really opened my eyes for what's possible.