Jump to content

Talk:Channel (programming)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Vonkje (talk | contribs) at 15:54, 7 February 2011 (confusing the abstract with the concrete). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputing Stub‑class
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StubThis article has been rated as Stub-class on Wikipedia's content assessment scale.
???This article has not yet received a rating on the project's importance scale.
Note icon
This article has been automatically rated by a bot or other tool as Stub-class because it uses a stub template. Please ensure the assessment is correct before removing the |auto= parameter.

Confusing the abstract with the concrete

"They are similar to pipelines, but may contain arbitrary unserialised objects instead of lines of text, and are used within a single program for coordination, rather than across several programs."

  • A pipeline is an important implementation of concurrency that uses the channel construct.
  • The reader is not sure what is meant by "lines of text" inside the same sentence as the reference to arbitrary objects.
  • C.A.R. Hoare of CSP fame did not depend on the notion of 'objects' to convey the notion of 'channel'. Neither did Holtzmann of SPIN/PROMELA fame.
  • The statement that channels "are used within a single program for coordination, rather than across several programs" is simply not true. Hoare's intention back in 1984 is for channels to span several processes, where each process may be implemented as its own program. Perhaps in the specific implementations in the references cited, channels may have been used between *threads* rather than between *programs*, but that may simply reflect the limitations of those languages or software tools. Vonkje (talk) 15:54, 7 February 2011 (UTC)[reply]