3 ms·
They're really "green threads" or "fibers". Remember those? With a good way to avoid blocking on system calls, which Go has, it's a much simpler way to do seque
by Animats 7y ago
They're really "green threads" or "fibers". Remember those? With a good way to avoid blocking on system calls, which Go has, it's a much simpler way to do sequential operations. No need for state machines, "promises", "futures", "async", or all the other hacks used to hammer an event driven model into a sequential model.
- loopz 7y agoGoroutines are multiplexed by M:N scheduler and do not belong to a particular OS thread, so the builders chose a custom name for it.