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 FieldValueLanguage
dc.contributor.authorMicallef, Kurt-
dc.contributor.authorVella, Kevin-
dc.date.accessioned2018-03-22T09:51:48Z-
dc.date.available2018-03-22T09:51:48Z-
dc.date.issued2016-08-
dc.identifier.citationMicallef, K., & Vella, K. (2016). Communicating generators in Javascript. Communicating Process Architectures 2016, Copenhagen. 87-119.en_GB
dc.identifier.urihttps://www.um.edu.mt/library/oar//handle/123456789/28134-
dc.description.abstractThis 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.isoenen_GB
dc.publisherOpen Channel Publishing Ltden_GB
dc.rightsinfo:eu-repo/semantics/openAccessen_GB
dc.subjectWorld Wide Weben_GB
dc.subjectComputer scienceen_GB
dc.subjectParallel programming (Computer science)en_GB
dc.titleCommunicating generators in Javascripten_GB
dc.typeconferenceObjecten_GB
dc.rights.holderThe 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.conferencenameCommunicating Process Architectures 2016en_GB
dc.bibliographicCitation.conferenceplaceCopenhagen, Denmark, August 2016en_GB
dc.description.reviewedpeer-revieweden_GB
Appears in Collections:Scholarly Works - FacICTCS

Files in This Item:
File Description SizeFormat 
2016 - CPA - JS Generators.pdf1.13 MBAdobe PDFView/Open


Items in OAR@UM are protected by copyright, with all rights reserved, unless otherwise indicated.