3 ms·
Does Go have closures? Yes it does. Therefore you can start writing everything in an async style, manually passing closures around. Then build an executor inter
by kccqzy 5y ago
Does Go have closures? Yes it does. Therefore you can start writing everything in an async style, manually passing closures around. Then build an executor interface. Voilà. Here's an utterly alien Go codebase that doesn't use green threads.
It has nothing to do with language. It has everything to do with how other libraries (especially standard libraries) structure their code.