JavaScript-only parallel programming of embedded systems

Gál, Péter: JavaScript-only parallel programming of embedded systems. In: Conference of PhD Students in Computer Science, (11). pp. 130-133. (2018)

Cikk, tanulmány, mű

Download (135kB) | Preview


The number of Internet-connected small embedded devices are increasing rapidly. Traditionally, such devices are programmed in some kind of compiled language, e.g., in C or C++. However, the number of embedded developers is small in contrast to JavaScript developers. Fortunately, there are multiple projects, which are providing JavaScript engines for such small devices and allow JavaScript developers to also program embedded devices. Nowadays, the embedded devices are not necessarily single-core systems anymore but can have multiple cores. For multi-core CPUs, the way to execute tasks or processes in parallel is a must. However, the JavaScript language itself does not have any thread, task, or parallelism concepts. In this work, a way to run JavaScript scripts in parallel on embedded systems is presented. The proposed implementation adopts an already existing W3C standard as starting point to provide a familiar API for Web developers, and it is extended with properties required for embedded devices. By using the Worker concept, the embedded JavaScript programmer can leverage multi-core systems and also execute various tasks in separate contexts which do not block the main JavaScript execution.

Item Type: Article
Journal or Publication Title: Conference of PhD Students in Computer Science
Date: 2018
Volume: 11
Page Range: pp. 130-133
Event Title: Conference of PhD students in computer science (11.) (2018) (Szeged)
Uncontrolled Keywords: Programozási nyelv - JavaScript, Programozás, Számítástechnika
Additional Information: Bibliogr.: 133. p. ; összefoglalás angol nyelven
Date Deposited: 2019. Nov. 04. 13:34
Last Modified: 2019. Nov. 04. 13:34

Actions (login required)

View Item View Item