3 ms·
You could use a Duff's device instead of computed labels, then you'd have a portable implementation.
by cryptonector 7y ago
You could use a Duff's device instead of computed labels, then you'd have a portable implementation.
- electrum 7y agoThat same technique is used by https://www.chiark.greenend.org.uk/~sgtatham/coroutines.html https://www.chiark.greenend.org.uk/~sgtatham/coroutines.html
- cryptonector 7y agoYes, quite! I mentioned that and async.h in issue #1. I also opened a PR with a Duff's device version.