3 ms·
How does Go create threads with no OS to call to do it? Also, how does Go open/read/write files and open/read/write/close network connections with no OS to do
by peter_d_sherman 8y ago
How does Go create threads with no OS to call to do it? Also, how does Go open/read/write files and open/read/write/close network connections with no OS to do it? What about malloc()/dynamic memory allocation/heap, does Go implement its own? Does it have its own internal memory manager for that? How does Go know how much memory is available? I suppose you could call a hypervisor or some container API or something to do this, but I have no experience in this area... You wouldn't have any links to sample code or articles about this, would you? I'd be grateful for any pointers in that direction... I think it would be highly interesting...