3 ms·
Really interesting. Could someone explain how these features relate in a language like python or C? Do they have the same features, but are more complicated to
by tharshan09 13y ago
Really interesting. Could someone explain how these features relate in a language like python or C? Do they have the same features, but are more complicated to implement or is the architecture not even there to support such?
- dripton 13y agoNeither language has channels or selects baked in. Python does have threadsafe queues in the standard library, which you can use to coordinate work between threads and processes. C doesn't come with anything like this, but you can use a library like ZeroMQ. The main Go compilers are written in C, so clearly anything Go can do C can do too -- but it'll be more work.