JavaScript-only parallel programming of embedded systems

Gál Péter: JavaScript-only parallel programming of embedded systems.

[thumbnail of cscs_2018_143-146.pdf]
Előnézet
Cikk, tanulmány, mű
cscs_2018_143-146.pdf

Letöltés (135kB) | Előnézet

Absztrakt (kivonat)

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.

Mű típusa: Konferencia vagy workshop anyag
Befoglaló folyóirat/kiadvány címe: Conference of PhD Students in Computer Science
Dátum: 2018
Kötet: 11
Oldalak: pp. 130-133
Konferencia neve: Conference of PhD students in computer science (11.) (2018) (Szeged)
Befoglaló mű URL: http://acta.bibl.u-szeged.hu/59477/
Kulcsszavak: Programozási nyelv - JavaScript, Programozás, Számítástechnika
Megjegyzések: Bibliogr.: 133. p. ; összefoglalás angol nyelven
Feltöltés dátuma: 2019. nov. 04. 13:34
Utolsó módosítás: 2022. nov. 08. 10:18
URI: http://acta.bibl.u-szeged.hu/id/eprint/61784
Bővebben:
Tétel nézet Tétel nézet