Automatic code transformation with state transformer monads
Abstract
Stateful computations are transformed into stateless computations automatically to facilitate scalability. Programmers can write code in a traditional imperative stateful style, which is subsequently transformed automatically into a stateless, state transformer monadic style. After the transformation, state is passed as an additional argument in a call and returns as a new state as an additional result.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-readable memory device having computer-executable components stored thereon, the computer-executable components, comprising: a component configured to receive inherently stateful code specified in an imperative programming language; and a transform component configured to convert the stateful code into stateless code by transforming a form of a state associated with the stateful code into an argument explicitly representing the state in the stateless code, wherein the transform component is further configured to facilitate threading the argument explicitly representing the state thr
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (24)
Non-Patent Literature (5)
- Ezra Cooper, et al. Links: Web Programming Without Tiers. Submitted to FMCO '06. http://groups.inf.ed.ac.uk/links/papers/links-fmco06.pdf. Last accessed Nov. 26, 2007, 30 pages.
- Koushik Biswas. Everything about REST Web Services-What and How-Part 1. Posted Nov. 4, 2007. http://www.codeproject.com/cs/design/REST/WebServicesPart1.asp?print=true. Last accessed Nov. 26, 2007, 6 pages.
- Peng Li, et al. Combining Events and Threads for Scalable Network Services Implementation and Evaluation of Monadic, Application-level Concurrency Primitives. PLDI'07 Jun. 11-13, 2007, San Diego, California, USA. ACM 978-1-59593-633-2/07/2006. http://www.seas.upenn.edu/~lipeng/homepage/papers/lz07pl
- Peng Li, et al. Combining Events and Threads for Scalable Network Services Implementation and Evaluation of Monadic, Application-level Concurrency Primitives. PLDI'07 Jun. 11-13, 2007, San Diego, California, USA. ACM 978-1-59593-633-2/07/2006. http://www.seas.upenn.edu/˜lipeng/homepage/papers/lz07pl
- Rita Loogen, et al. Parallel Functional Programming in Eden. http://www.mathematik.uni-marburg.de/~eden/paper/edenJFP2005.pdf. Last accessed Nov. 26, 2007, 46 pages.