Hacker News new | ask | show | jobs
by YZF 3306 days ago
It's a common practice in C to use thread pools for concurrency and queue tasks for those thread pools (e.g. libuv). I work on a C++ code base that mainly uses Goroutine like green threads. If you use a scheme like that you're kind of in the same position (at least with respect to anything running on that pool). It's true that it's easy to "escape" and manage your threads explicitly but unless you know exactly what you're doing you could run into similar issues.

I really don't think this is a language design issue but clearly if you want absolute control you can't get that with the Go run-time.