3 ms·
Out of curiosity, what do you think is wrong with the answers that were provided? Goroutines are purely managed by the Go runtime in userspace. They never ‘jus
by EdSchouten 4y ago
Out of curiosity, what do you think is wrong with the answers that were provided?
Goroutines are purely managed by the Go runtime in userspace. They never ‘just disappear’.
- tgv 4y agoIndeed. It would seem to me that the code calling "isAlive" would serve the same purpose as the panic handler, or a simple flagging mechanism.
- Supermancho 4y ago> Out of curiosity, what do you think is wrong with the answers that were provided? I can't speak to the accuracy. I didn't imply that the answers somehow affect my opinion of Go, but both the questions AND accepted answers. Somehow Go managed to release with a fork that was worse than PHP's first stab, and that's impressively incompetent. Goroutines are the same as js promises without the native state management...and the detachment of declaration and startup? Jesus that's prone to abuse/bugs. Coroutines are a horrific display of the base language on their own. Yes you can create a custom/library wrapper, but that's a leaky abstraction, at best. There are things to be admired about Go's choices, as a language, but there is enough to deride that I avoid bothering to even toy with it.