Swift (parallel scripting language) explained

Swift
Swift
Paradigms:Dataflow, distributed, grid, concurrent, scientific workflow, scripting
Designers:-->
Developers:University of Chicago,
Argonne National Laboratory
Latest Release Version:0.96.2
Typing:Strong
Platform:Cross-platform

Java

Operating System:Cross-platform

Java

License:Apache 2.0
Influenced By:C syntax, functional programming
Influenced:Cuneiform

Swift[1] is an implicitly parallel programming language that allows writing scripts that distribute program execution across distributed computing resources,[2] including clusters, clouds, grids, and supercomputers. Swift implementations are open-source software under the Apache License, version 2.0.

Language features

A Swift script[3] describes strongly typed data, application components, invocations of applications components, and the interrelations in the dataflow between those invocations. The program statements will automatically run in parallel unless there is a data dependency between them, given sufficient computing resources. The design of the language guarantees that results of a computation are deterministic, even though the order in which statements executes may vary. A special file data type is built into Swift. It allows command-line programs to be integrated into a program as typed functions. This allows programmers to write programs that treat command-line programs and files in the same way as regular functions and variables. A concept of mapping[4] is used to store and exchange complex data structures using a file system structure with files and directories.

Rapid dispatch of parallel tasks to a wide range of resources is implemented through a mechanism called Coasters task dispatch.[5] A Message Passing Interface based implementation of the language[6] supports very high task execution rates (e.g., 3000 tasks per second)[7] on large clusters and supercomputers.

Area of applications

Application examples:[7] [8]

See also

Notes and References

  1. Web site: Swift Home Page. swift-lang.org. 2014-06-02.
  2. Swift: A language for distributed parallel scripting. Wilde. Michael. Mihael. Hategan. Justin M.. Wozniak. Ben. Clifford. Daniel S.. Katz. Ian. Foster. Parallel Computing. 37. 9. 2011. 633–652. 10.1016/j.parco.2011.05.005. dead. https://web.archive.org/web/20140606215300/http://swift-lang.org/papers/SwiftLanguageForDistributedParallelScripting.pdf. 2014-06-06. 10.1.1.658.8990.
  3. Reference manual, chapter 2
  4. Reference manual, chapter 3
  5. Coasters: uniform resource provisioning and access for scientific computing on clouds and grids. Hategan. Mihael. Wozniak. Justin. Maheshwari. Ketan. Proceedings Utility and Cloud Computing. 2011.
  6. Wozniak, Justin M., Timothy G. Armstrong, Michael Wilde, Daniel S. Katz, Ewing Lusk, and Ian T. Foster. "Swift/T: Large-scale Application Composition via Distributed-memory Dataflow Processing." In Cluster, Cloud and Grid Computing (CCGrid), 2013 13th IEEE/ACM International Symposium on, pp. 95-102. IEEE, 2013
  7. Parallel Scripting for Applications at the Petascale and Beyond. Michael. Wilde. Ian. Foster. Kamil. Iskra. Pete. Beckman. Zhao. Zhang. Allan. Espinosa. Mihael. Hategan. Ben. Clifford. Ioan. Raicu. Computer. 42. 11. 2009. 10.1109/mc.2009.365. 50–60. 5271623. dead. https://web.archive.org/web/20140712123547/http://swift-lang.org/papers/SwiftParallelScripting.pdf. 2014-07-12.
  8. http://swift-lang.org/case_studies/ Case studies on the official site