22 karma · joined Jul 14, 2021 (5y ago) · 8 submissions
1.
Three Meanings of Effects(burakemir.ch ↗)
1 points · by dagipflihax0r · 1y ago · discuss
comment 2y ago · link · parent
It was discussed here: https://news.ycombinator.com/item?id=33756800
comment 3y ago · link · parent
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."
comment 4y ago · link · parent
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.