Re:Philosophy of Coroutines (2023)
by spacechild1 on Thursday March 27, 2025 @04:01PM
(#43497522)
Lua's stackful coroutines are awesome! The Lua C API even allows to pass a continuation function when calling a Lua function from C, so you can yield across the C-call boundary (e.g. a Lua function, calling a C function, calling a Lua function that yields). See also https://www.lua.org/manual/5.2/manual.html#4.7
[ Parent
| on HN ]
There are no comments on this comment yet.