|
|
|
|
|
by bjoli
59 days ago
|
|
I am curious how. I thought quite a lot about targeting MSIL, but i found no way of copying, capturing or slicing the call stack. Nor is it possible to reify even the whole stack as a first class object. For delimited continuations I only managed to find mostly extremely inefficient ways of doing it. CPS transformations on dotnet are, at least if kept to be useful as delcc, slow as molasses. Which is ultimately why I chose to compile to c# to use asyncmethodbuilder do do the state machine translation for me. |
|
https://www.jot.fm/issues/issue_2004_10/article4
I thought otherwise given my recollection of the samples, and that the platform supports C++, thus quite flexible on the opcodes.