Talk:User defined pipe and redirection operators: Difference between revisions

Content added Content deleted
(Drop reference to Co-routines.)
Line 29: Line 29:
FORMAT rec fmt = $g$;
FORMAT rec fmt = $g$;


PR READ "Coroutine_pipe_operators.a68" PR
PR READ "Iterator_pipe_operators.a68" PR
PR READ "Coroutine_pipe_utilities.a68" PR
PR READ "Iterator_pipe_utilities.a68" PR


FLEX[0]STRING aa;
FLEX[0]STRING aa;
Line 46: Line 46:
''' So far:'''
''' So far:'''
<pre>
<pre>
$ wc -l *Coroutine_pipe*s.a68
$ wc -l *Iterator_pipe*s.a68
174 Coroutine_pipe_operators.a68
174 Iterator_pipe_operators.a68
58 Coroutine_pipe_utilities.a68
58 Iterator_pipe_utilities.a68
20 test_Coroutine_pipe_operators.a68
20 test_Iterator_pipe_operators.a68
252 total
252 total
</pre>
</pre>
Line 170: Line 170:
[[User:NevilleDNZ|NevilleDNZ]] 02:15, 14 September 2011 (UTC)
[[User:NevilleDNZ|NevilleDNZ]] 02:15, 14 September 2011 (UTC)
: Coroutines and multithreading are completely separate topics. You yourself linked to coroutine implementation using Duff's device before, which decidedly is a single thread. And for your stream objects, you don't really need either of those anyway. --[[User:Ledrug|Ledrug]] 02:48, 14 September 2011 (UTC)
: Coroutines and multithreading are completely separate topics. You yourself linked to coroutine implementation using Duff's device before, which decidedly is a single thread. And for your stream objects, you don't really need either of those anyway. --[[User:Ledrug|Ledrug]] 02:48, 14 September 2011 (UTC)

Indeed you are right. On reflection, linking to that page on [http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html C coroutines] was a mistake. Duff's device is kind of extreme. (Interesting, but extreme!) In fact I've renamed the Algol routines to "Iterator_pipe_operators.a68". I'll drop reference to co-processing out of the ''Task Description'' too. ThanX

[[User:NevilleDNZ|NevilleDNZ]] 03:50, 14 September 2011 (UTC)