dc.contributor.advisor | Bjørndalen, John Markus | |
dc.contributor.author | Johansen, Jon Helge Langaas | |
dc.date.accessioned | 2020-08-17T13:22:29Z | |
dc.date.available | 2020-08-17T13:22:29Z | |
dc.date.issued | 2020-06-30 | |
dc.description.abstract | In this thesis, we have explored the possibility of bringing CSP-like concurrency modeling to an embedded environment. With the growth of IoT and embedded software, many of the hardships that come with concurrent coding in an inherently event-driven environment become more apparent. Convoluted and complex code is often used to handle the many fallacies of concurrency. We are solving this problem by abstracting away the concurrency and providing an easy to use interface, in a growing language; Micropython. Through two separate library implementations using different underlying asynchronous architecture, harvesting the potentials and of multi-threading and coroutine based CSP-processes.
We have shown through measurements and example implementations that both implementations provide viable performance, and uncovered the different advantages and disadvantages to each approach. | en_US |
dc.identifier.uri | https://hdl.handle.net/10037/18998 | |
dc.language.iso | eng | en_US |
dc.publisher | UiT Norges arktiske universitet | en_US |
dc.publisher | UiT The Arctic University of Norway | en_US |
dc.rights.accessRights | openAccess | en_US |
dc.rights.holder | Copyright 2020 The Author(s) | |
dc.rights.uri | https://creativecommons.org/licenses/by-nc-sa/4.0 | en_US |
dc.rights | Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) | en_US |
dc.subject.courseID | INF-3981 | |
dc.subject | VDP::Matematikk og Naturvitenskap: 400::Informasjons- og kommunikasjonsvitenskap: 420::Kommunikasjon og distribuerte systemer: 423 | en_US |
dc.subject | VDP::Mathematics and natural science: 400::Information and communication science: 420::Communication and distributed systems: 423 | en_US |
dc.title | μPyCSP - Two approaches to implementing CSP-like concurrency modeling in microcontrollers. | en_US |
dc.type | Master thesis | en_US |
dc.type | Mastergradsoppgave | en_US |