comp.lang.ada
 help / color / mirror / Atom feed
From: pgl@cup.portal.com (Peter G Ludemann)
Subject: Re: Teaching Concurrency
Date: 13 Jan 90 07:34:59 GMT	[thread overview]
Message-ID: <25876@cup.portal.com> (raw)
In-Reply-To: 6219@ubc-cs.UUCP

In my experience, most "multi-tasking" turns out to be nothing
but coroutining with message-passing for communication.

On an AS/400 (for example), a task switch is only slight more expensive
than a subroutine call (basically the cost of saving the 16 registers
plus a return address), so the additional clarity of writing with
multi-tasking is well worth it.

Furthermore, in some dialects of Prolog (e.g., NU-Prolog), a
corouting style can be used to vastly INCREASE the efficiency
of programs (the programs are written in a multi-tasking style but
are actually run as coroutining).

- peter ludemann  	pgl@cup.portal.com
	--- my opinions are my own responsibility, of course ---

  reply	other threads:[~1990-01-13  7:34 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1990-01-07  2:26 Teaching Concurrency Bill Wolfe
1990-01-09 16:41 ` Marc Benveniste,lsp
1990-01-10 20:49 ` Mark Shepherd
1990-01-10 22:47   ` Richard Pattis
1990-01-11 13:04     ` Robert Firth
1990-01-11 19:27       ` Vincent Manis
1990-01-13  7:34         ` Peter G Ludemann [this message]
1990-01-12 19:02       ` Peter da Silva
1990-01-15 13:30         ` Robert Firth
1990-01-17 15:40         ` Kurt Luoto
1990-01-11 16:09     ` Michael Meissner
1990-01-14 12:33       ` Re^2: " Kim Shearer
1990-01-11 18:50     ` Tom Griest
1990-01-11 20:38     ` Brian L. Stuart
1990-01-12  0:47     ` Robert Steigerwald x2468
1990-01-15 11:10     ` Stavros Macrakis
1990-01-11 14:52   ` David Lamb
1990-01-13  0:06     ` Mark Shepherd
1990-01-11 16:13   ` S. Crispin Cowan
1990-01-12 13:12     ` Mike Harrison
1990-01-11 19:20   ` Vincent Manis
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox