User loginNavigation 
Implementing Algebraic Effects in CImplementing Algebraic Effects in C by Daan Leijen:
Another great paper by Daan Leijen, this time on a C library with immediate practical applications at Microsoft. The applicability is much wider though, since it's an ordinary C library for defining and using arbitrary algebraic effects. It looks pretty usable and is faster and more general than most of the C coroutine libraries that already exist. It's a nice addition to your toolbox for creating language runtimes in C, particularly since it provides a unified, structured way of creating and handling a variety of sophisticated language behaviours, like async/await, in ordinary C with good performance. There has been considerable discussion here of C and lowlevel languages with green threads, coroutines and so on, so hopefully others will find this useful! By naasking at 20170727 13:50  Effects  Implementation  Lambda Calculus  Semantics  other blogs  33768 reads

Browse archivesActive forum topicsNew forum topics 
Recent comments
4 hours 19 min ago
10 hours 42 min ago
10 hours 51 min ago
11 hours 11 min ago
1 day 10 hours ago
2 days 14 hours ago
6 days 15 hours ago
1 week 6 days ago
1 week 6 days ago
2 weeks 5 hours ago