Subsume put! into push!? 12469 Closed malmaud opened this Issue on Aug 5, 2015 ยท 6 comments Projects None yet Labels parallel Milestone No milestone Assignees No one assigned 3 participants malmaud jakebolewski amitmurthy Notifications malmaud malmaud commented on Aug 5, 2015 Now that RemoteRefs can store an array of values, it might sense to just eliminate put! and instead push! values into RemoteRefs and Channels. jakebolewski jakebolewski added the parallel label on Aug 11, 2015 jakebolewski The Julia Language member jakebolewski commented on Aug 11, 2015 amitmurthy I think we want to retain put! for RemoteRef's but adding push! to channels seems like a good idea. amitmurthy The Julia Language member amitmurthy commented on Aug 11, 2015 The Channels API mirrors the RemoteRef API. Also RemoteRef's point to AbstractChannels. Any concrete implementation of an AbstractChannels must implement put!, take!, fetch, isready and wait. We can look at renaming put!, take! and fetch, but we should continue to keep the Channel API in sync with RemoteRef. jakebolewski The Julia Language member jakebolewski commented on Aug 11, 2015 is there any way to push an iterable to a channel without having to splat it? amitmurthy The Julia Language member amitmurthy commented on Aug 11, 2015 No. I think I misunderstood your comment. Yes, we can add push! while retaining put!. malmaud malmaud commented on Oct 10, 2015 I think it would make sense to do so, since from the user's point of view a channel is just a deque with special blocking semantics. malmaud malmaud referenced this issue on Oct 10, 2015 Merged Define push! and shift! for channels 13538 malmaud malmaud commented on Oct 13, 2015 Closed by 13538 malmaud malmaud closed this on Oct 13, 2015