Stackful Coroutine Made Fast

Stackful coroutine is not intrinsically slow — current implementations are. With context-aware context switching (CACS), saving only the minimal registers per caller/callee context, stackful outperforms stackless in most cases and ties otherwise. Implemented in Photon.

(1 - 2)
Enter Press Enter to jump