PonderingEffects

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

A deep exploratory essay on algebraic effects in programming languages, covering what effects are, effect polymorphism, the async 'function coloring' problem, capabilities, dynamic scope, and effect algebra. Uses Rust's unsafe/const/async as concrete examples, discusses the Effekt language, and explores the tension between making side-effects explicit vs. ergonomic. Concludes with observations about applying effects to data structures, the two categories of effects (expressible vs. compiler-magic), and open design questions around implicit arguments and context objects.

22m read timeFrom wiki.alopex.li
Post cover image
Table of contents
IntroductionWTF is an effectezpz, right?ezpz? wrong.effects == data?wtf do we actually want from life?Here comes the algebraConclusions

Sort: