Re:Google/fchan-go: Experimental channel implementation
by throwaway3111 on Wednesday January 18, 2017 @08:59PM
(#13432325)
This implementation doesn't support the select statement.
[ Parent
| on HN ]
Re:Google/fchan-go: Experimental channel implementation
by AYBABTME on Wednesday January 18, 2017 @09:46PM
(#13432544)
Only an implementation in the runtime, by the language, would.
Re:Google/fchan-go: Experimental channel implementation
by mariusae on Wednesday January 18, 2017 @11:24PM
(#13433006)
That's false. With anonymous closures you can implement select. See concurrent ML, or https://github.com/twitter/util/blob/develop/util-core/src/m... (which also happens to be lock free)
Re:Google/fchan-go: Experimental channel implementation
by lobster_johnson on Thursday January 19, 2017 @12:32AM
(#13433292)
He'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.
Re:Google/fchan-go: Experimental channel implementation
by Matthias247 on Thursday January 19, 2017 @04:52AM
(#13434468)
The 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.T...