3 ms·
Isn’t the Go solution green threads on top of hardware threads? Lots of green threads get load balanced on top of a thread pool. Isn’t that the whole unique as
by socialdemocrat 6y ago
Isn’t the Go solution green threads on top of hardware threads?
Lots of green threads get load balanced on top of a thread pool. Isn’t that the whole unique aspect of Go? So in essence they do both.
- justicezyx 6y agoI think the idea is that they do not present as competing paradigms. Go green threads or go routine are the only visible constructs to users. Whereas the hardware threads are not usable to users. Edit: From the perspective of mutli-paradigm, C++ is truely a unique language. It not only has multiple paradigms, and largely contains them in a relatively harmony state.
- Animats 6y agoRight. The key point being that in Go, you can block or use some compute time without stalling out the async system.