2 ms·
> a Goroutine takes about 4 Kilobytes of space in RAM. On the contrary, a thread takes up about 1024 kilobytes in RAM. Hence, Goroutines take up 250 times less
by joseluisq 9y ago
> a Goroutine takes about 4 Kilobytes of space in RAM. On the contrary, a thread takes up about 1024 kilobytes in RAM. Hence, Goroutines take up 250 times less space than threads in other languages, which makes it possible to run an increasing number of Goroutines concurrently.
In this true in the practice?