Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cocorroto
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
cocorroto
15y ago
In section 9.1 and 9.2 of Programming in Lua, http://www.lua.org/pil/9.2.html , there are some explanations of coroutines, and the example of consumers and producers. Also there is a comparison with pipes, a key point is: "The cost of swi