Ease (programming language): Difference between revisions

Content deleted Content added
m top: clean up, typo(s) fixed: For example → For example, using AWB
GreenC bot (talk | contribs)
 
(12 intermediate revisions by 9 users not shown)
Line 1:
{{Infobox programming language
'''Ease''' is a general purpose [[parallel computing|parallel]] [[programming language]], designed by [[Steven Ericsson-Zenith]] of [[Yale University]]. It combines the process constructs of [[Communicating sequential processes|CSP]] with logically shared data structures called ''contexts''. Contexts are parallel data types that are constructed by processes and provide a way for processes to interact.
| name = Ease
| logo = <!-- (filename) -->
| logo caption =
| screenshot = <!-- (filename) -->
| screenshot caption =
| paradigms = [[Concurrent computing|Concurrent]], [[communicating sequential processes]]
| family =
| designer = Steven Ericsson-Zenith
| developer = <!-- or: | developers = -->
| released = {{Start date and age|1991}}
| latest release version =
| latest release date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| latest preview version =
| latest preview date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| typing = [[Strong and weak typing|Strong]]
| scope =
| programming language =
| discontinued =
| platform = [[Parallel computing|Parallel]]
| operating system =
| license =
| file ext =
| file format = <!-- or: | file formats = -->
| website = <!-- {{url|www.example.com}} -->
| implementations =
| dialects =
| influenced by = [[occam (programming language)|occam]]
| influenced =
}}
'''Ease''' is a general purpose [[parallel computing|parallel]] [[programming language]]. It is designed by Steven Ericsson-Zenith, a researcher at [[Yale University]], the Institute for Advanced Science & Engineering in Silicon Valley, California, the [[Mines ParisTech|Ecole Nationale Supérieure des Mines de Paris]], and the [[Pierre and Marie Curie University]], the science department of the [[University of Paris (post-1970)|Sorbonne]].<ref>{{cite book |last=Ericsson-Zenith |first=Steven |date=1 July 2011 |orig-year=July 1992 |title=Process Interaction Models |___location=Seattle, Washington, U.S. |publisher=CreateSpace Independent Publishing Platform |isbn=978-1463777913 }}</ref>
 
The book '''Ease'Process Interaction Models'' is athe general purpose [[parallel computing|parallel]] [[programmingEase language]], designed by [[Steven Ericsson-Zenith]] of [[Yale University]]specification. ItEase combines the process constructs of [[Communicatingcommunicating sequential processes|CSP]] (CSP) with logically shared data structures called ''contexts''. Contexts are [[Parallel computing|parallel]] data types that are constructed by processes and provide a way for processes to interact.
 
The language includes two process constructors.
Line 7 ⟶ 39:
::<math>\parallel P() \parallel Q() ;</math>
 
If one process finishes before the other, then it will wait until the other processes are finished.
 
A ''subordination'' creates a process that shares the ''contexts'' that are in scope when created and finishes when complete (it does not wait for other processes) and is written:
Line 17 ⟶ 49:
Powerful ''replication'' syntax allows multiple processes to be created. For example,
 
::<math>\parallel {i}\; \mathrm{for}\; {n} : P(i) ;</math>
 
creates ''n'' synchronized processes each with a local constant ''i''.
Line 25 ⟶ 57:
There are four functions upon contexts:
 
* '{{mono|''read''' ( context, variable)}} ), copies a value from the shared ''context'' to the ''variable''.
* '{{mono|''write''' ( context, expression)}} ), copies the value of ''expression'' to the shared ''context''.
* '{{mono|''put''' ( context, name)}} ), moves the value bound to ''name'' to the shared ''context''. The value of ''name'' is subsequently ''undefined''.
* '{{mono|''get''' ( context, name)}} ), moves a value from ''context'' and binds it to ''name''. The value is removed from the context.
 
Context types are ''Singletons'', ''Bags'' or ''Streams'' and can be subscripted arrays.
 
Ease has a ''[[Semiotics|semiotic]] definition.''. This means that it takes intoaccounts accountfor the effect the language has on the programmer and how they develop algorithms. The language was designed to ''ease'' the developmentdeveloping of parallel programs.
 
== References ==
{{Reflist}}
* [http://www.amazon.com/Process-Interaction-Models-Steven-Ericsson-Zenith/dp/1463777914/ Steven Ericsson-Zenith, "Process Interaction Models" (The Ease Language Specification)]
 
== Bibliography ==
* [https://books.google.com/books?id=8GssNAAACAAJ John Redman, An Implementation of the Ease Programming Language, University of Western Australia, 1991]
* [httphttps://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=590304 T.H. MacKenzie, T.I. Dix, "A distributed memory multiprocessor implementation of C-with-Ease," IEEE International Conference on Parallel and Distributed Systems, 2002]
* [http://doi.ieeecomputersociety.org/10.1109/ICPADS.1998.741145 T.H. MacKenzie, T.I. Dix, "Object-Oriented Ease-Based Parallel Primitives in C++," icpads, p. 623, 1998 International Conference on Parallel and Distributed Systems (ICPADS'98), 1998]