3 ms·
I think your pushback is good - I didn't think the explanation about multiple cores made sense either. The Go runtime doesn't magically spread things across cor
by benhoyt 4y ago
I think your pushback is good - I didn't think the explanation about multiple cores made sense either. The Go runtime doesn't magically spread things across cores. However, I don't think your sarcasm helps the conversation.
- Thaxll 4y agoHmm yes it does actually, when you run something in a goroutine ( go keyword ) that's what I would call "magic".
- rowanG077 4y agowhat? Magic would be if Go could run single threaded code in multiple threads automatically and efficiently. The Go keyword is just a thread start for a green thread. There is nothing magical about it.