Please use this identifier to cite or link to this item:
https://www.um.edu.mt/library/oar/handle/123456789/28134
Full metadata record
DC Field | Value | Language |
---|---|---|
dc.contributor.author | Micallef, Kurt | - |
dc.contributor.author | Vella, Kevin | - |
dc.date.accessioned | 2018-03-22T09:51:48Z | - |
dc.date.available | 2018-03-22T09:51:48Z | - |
dc.date.issued | 2016-08 | - |
dc.identifier.citation | Micallef, K., & Vella, K. (2016). Communicating generators in Javascript. Communicating Process Architectures 2016, Copenhagen. 87-119. | en_GB |
dc.identifier.uri | https://www.um.edu.mt/library/oar//handle/123456789/28134 | - |
dc.description.abstract | This paper outlines the design, performance, and use of an application programming interface and library for concurrent programming with CSP in JavaScript. The implementation harnesses ECMAScript 6 Generators to provide cooperative scheduling and channel communication within a single JavaScript engine. External channels lie atop WebSockets, amongst other web technologies, to enable multicore and distributed execution across standard web browsers and Node.js servers. Low-level benchmarks indicate that scheduling and messaging performance is within expectations for this dynamic and diverse execution environment. Sample code snippets highlight the applicability of CSP to contemporary web development in hiding the location of computation and state through the channel abstraction. The ”callback hell” scenario common to many JavaScript applications is alleviated by using channels instead of callbacks, and the possibility of performing parallel and scientific computing is explored with promising results. Finally, the limitations of the present design are discussed, and possible enhancements such as the dynamic migration of state and code are considered. | en_GB |
dc.language.iso | en | en_GB |
dc.publisher | Open Channel Publishing Ltd | en_GB |
dc.rights | info:eu-repo/semantics/openAccess | en_GB |
dc.subject | World Wide Web | en_GB |
dc.subject | Computer science | en_GB |
dc.subject | Parallel programming (Computer science) | en_GB |
dc.title | Communicating generators in Javascript | en_GB |
dc.type | conferenceObject | en_GB |
dc.rights.holder | The copyright of this work belongs to the author(s)/publisher. The rights of this work are as defined by the appropriate Copyright Legislation or as modified by any successive legislation. Users may access this work and can make use of the information contained in accordance with the Copyright Legislation provided that the author must be properly acknowledged. Further distribution or reproduction in any format is prohibited without the prior permission of the copyright holder. | en_GB |
dc.bibliographicCitation.conferencename | Communicating Process Architectures 2016 | en_GB |
dc.bibliographicCitation.conferenceplace | Copenhagen, Denmark, August 2016 | en_GB |
dc.description.reviewed | peer-reviewed | en_GB |
Appears in Collections: | Scholarly Works - FacICTCS |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
2016 - CPA - JS Generators.pdf | 1.13 MB | Adobe PDF | View/Open |
Items in OAR@UM are protected by copyright, with all rights reserved, unless otherwise indicated.