JavaScript-only parallel programming of embedded systems

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 p...

Teljes leírás

Elmentve itt :
Bibliográfiai részletek
Szerző: Gál Péter
Testületi szerző: Conference of PhD students in computer science (11.) (2018) (Szeged)
Dokumentumtípus: Könyv része
Megjelent: 2018
Sorozat:Conference of PhD Students in Computer Science 11
Kulcsszavak:Programozási nyelv - JavaScript, Programozás, Számítástechnika
Online Access:http://acta.bibl.u-szeged.hu/61784
Leíró adatok
Tartalmi 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.
Terjedelem/Fizikai jellemzők:130-133