3 ms·
How does programming with "effects" actually work? I've read the linked page, and I understand the advantages they're claiming, but I don't see any explanation
by skohan 5y ago
How does programming with "effects" actually work? I've read the linked page, and I understand the advantages they're claiming, but I don't see any explanation of what effects actually are.
- Zababa 5y agoThere are lots of informations in "Concurrent Programming with Effect Handlers" (https://github.com/ocamllabs/ocaml-effects-tutorial https://github.com/ocamllabs/ocaml-effects-tutorial) on what it looks like and how it's implemented. There are also more recent informations on the September 2021 edition of the Multicore OCaml newsletter: https://discuss.ocaml.org/t/multicore-ocaml-september-2021-effect-handlers-will-be-in-ocaml-5-0/8554 https://discuss.ocaml.org/t/multicore-ocaml-september-2021-e..., with a link to a paper about effects in OCaml.
- scns 5y agoThe last time [0] Effects were discussed, these recommendations were made [1],[2]. [0] https://news.ycombinator.com/item?id=28838099 https://news.ycombinator.com/item?id=28838099 [1] https://www.youtube.com/watch?v=hrBq8R_kxI0 https://www.youtube.com/watch?v=hrBq8R_kxI0 [2] https://overreacted.io/algebraic-effects-for-the-rest-of-us/ https://overreacted.io/algebraic-effects-for-the-rest-of-us/