It was discussed here: https://news.ycombinator.com/item?id=33756800
22 karma · joined July 14, 2021
It was discussed here: https://news.ycombinator.com/item?id=33756800
The jargon is of course terrible and unhelpful (but widely used and used somewhat consistently). It is not necessarily about side-effects, it is not necessarily about interacting with environment. Calling it "algebraic effects" makes it a bit mysterious the various supported methods/callbacks are more or less like an "algebra", since they involve the type parameter T. To top it off, this use of "effect" is quite different from, say "type and effect system", and Moggi's 1991 never used "effect" in "Notions of computation and monads."
The author cannot explain things well. You just witnessed the art of abduction!
(Just kidding. It's worth knowing what abduction is and recognizing it.)
He has done a lot of work using datalog and argues, convincingly in my opinion, that it is reasonable that some of the elements of datalog-like programming will be part of the future. For example, that there is a very simple way to express a relational-join and the underlying machinery figures out the most efficient way to do it, just like a DB query optimizer does.