Skip to main content
Kent Academic Repository

A Pipe has two ends. Using APL in a multiprocess/multiprocessor environment. A proposal for a flexible but easy to use syntax.

Webber, J. Beau W. (1989) A Pipe has two ends. Using APL in a multiprocess/multiprocessor environment. A proposal for a flexible but easy to use syntax. Apl Quad Quote, 20 (1). pp. 1-2. (doi:10.1145/379199.379200) (KAR id:13447)

PDF (Published Paper (image))
Language: English

Restricted to Repository staff only
[thumbnail of Published Paper (image)]
PDF (1st Word Plus output)
Language: English


Download this file
(PDF/19kB)
[thumbnail of 1st Word Plus output]
Preview
Request a format suitable for use with assistive technology e.g. a screenreader
Official URL:
http://dx.doi.org/10.1145/379199.379200

Abstract

A proposal for a flexible but easy to use syntax.

Many mechanisms have been proposed for accessing data, and running processes external to APL. For some of these, the syntax is bizarre, for others a detailed knowledge of some other language (sometimes even assembler) is necessary to do the simplest thing. Some, such as shared variables, offer a highly efficient method of passing data between two processes in the same processor, without having to copy the data. A number of methods either allow the passing of data and/or commands to an external shell (such as the C-shell under Unix), or allow the results of commands to the shell to be imported into APL. These in effect connect APL to one end (but not both ends) of a pipe of shell commands. I offer for general consideration a device that allows data to be piped out of APL, through (a series of) shell commands, and back into APL. It works by connecting both ends of a pipeline of shell commands to an APL statement. The output of the first part of the APL expression fills the pipe connected to the standard input of the first command in the pipeline of shell commands; the next part of the APL expression receives the output of the pipe connected to the standard output of the the last command in the pipeline. The commands may be executed in the same processor, or remotely, with no change in syntax.

Item Type: Article
DOI/Identification number: 10.1145/379199.379200
Additional information: The proposal and implementation of a software mechanism now used by IBM.
Subjects: Q Science > QA Mathematics (inc Computing science) > QA 76 Software, computer programming, > QA76.76 Computer software
Q Science > QA Mathematics (inc Computing science) > QA 75 Electronic computers. Computer science
Divisions: Divisions > Division of Natural Sciences > Physics and Astronomy
Depositing User: J.B.W. Webber
Date Deposited: 29 Jun 2011 18:00 UTC
Last Modified: 16 Nov 2021 09:51 UTC
Resource URI: https://kar.kent.ac.uk/id/eprint/13447 (The current URI for this page, for reference purposes)

University of Kent Author Information

Webber, J. Beau W..

Creator's ORCID:
CReDIT Contributor Roles:
  • Depositors only (login required):

Total unique views for this document in KAR since July 2020. For more details click on the image.