7 ms·
That's false. With anonymous closures you can implement select. See concurrent ML, or https://github.com/twitter/util/blob/develop/util-core/src/main/scala/com/
by mariusae 10y ago
That's false. With anonymous closures you can implement select. See concurrent ML, or https://github.com/twitter/util/blob/develop/util-core/src/main/scala/com/twitter/concurrent/Offer.scala https://github.com/twitter/util/blob/develop/util-core/src/m... (which also happens to be lock free)
- lobster_johnson 10y agoHe's referring to the "select" keyword, which is built into Go. You can't use it with anything other than the built-in channel type.
- Matthias247 10y agoThe great hopac library for F# which is inspired by concurrent ML also supports channels with select. There now also seems to be an experimental channel implementation for C#/.Net which supports this feature: https://github.com/dotnet/corefxlab/tree/master/src/System.Threading.Tasks.Channels https://github.com/dotnet/corefxlab/tree/master/src/System.T...