Re:Playground Wisdom: Threads Beat Async/Await
by neonsunset on Saturday November 23, 2024 @01:11PM
(#42222458)
Goroutines are also more limited from UX perspective because each goroutine is a true green thread with its own virtual stack. This makes spawning goroutines much more expensive (asynchronously yielding .NET tasks start at just about 100B of allocated memory), goroutines are also very difficult to compose and they cannot yield a value requiring you to emulate task/promise-like behavior by hand by passing it over a channel or writing it to a specific location, which is more expensive.
[ Parent
| on HN ]
There are no comments on this comment yet.