|
|
|
|
|
by adrusi
3849 days ago
|
|
Any language that has continuations, or at least thread-safe coroutines, can implement goroutines and channels. This includes scheme and lua. Also any language where the stack can be directly manipulated can implement those thread-safe coroutines, so that opens up C/C++ and perl and possibly some others. |
|
C and C++ are a bit different because you need to resort to assembly and know details about the target arch to do stack switching but that's acceptable.