kth.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Skriptspråk i utvecklingen av inbyggda system: En utvärdering av Python
KTH, School of Engineering Sciences in Chemistry, Biotechnology and Health (CBH), Biomedical Engineering and Health Systems, Health Informatics and Logistics.
2025 (Swedish)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesisAlternative title
Scripting Language in Development of Embedded Systems : An Evaluation of Python (English)
Abstract [sv]

Denna studie undersöker användbarheten av skriptspråk som ett alternativ till kompilerade språk i utvecklingen av inbyggda system. Arbetet jämför Python och C, som representanter för respektive språk, genom empiriska tester av prestanda inom tre områden: exekveringstid, minneshantering och avbrottshantering. Resultaten visar att C, som kompilerat språk, generellt erbjuder högre prestanda och effektivitet, särskilt i resurskritiska applikationer, medan Python erbjuder kortare utvecklingstid och högre användarvänlighet. Studien inkluderar även en analys av tillgången till bibliotek och kostnadsbilden för utvecklingsverktyg, där Python visade styrka med ett omfattande ekosystem av tredjepartsbibliotek. Slutsatsen är att Python kan vara ett praktiskt alternativ i vissa inbyggda system, särskilt de med mjuka realtidskrav eller där snabb utveckling prioriteras, men C förblir det bättre valet för högprestandasystem. 

Abstract [en]

This study explores the usability of scripting languages as an alternative to compiled languages in the development of embedded systems. The work compares Python and C, representing their respective language types, through empirical performance tests across three areas: execution time, memory management, and interrupt handling. The results indicate that C, as a compiled language, generally offers higher performance and efficiency, particularly in resource-critical applications, whereas Python provides shorter development times and greater user-friendliness. The study also includes an analysis of library availability and the cost landscape of development tools, where Python demonstrated strength with an extensive ecosystem of third-party libraries. The conclusion is that Python can be a practical alternative in certain embedded systems, especially those with soft real-time requirements or where rapid development is prioritized, but C remains the superior choice for high-performance systems. 

Place, publisher, year, edition, pages
2025. , p. 77
Series
TRITA-CBH-GRU ; 2025:009
Keywords [en]
Python, C, embedded systems, execution time, memory management, interrupt handling, real-time systems, scripting languages, compiled languages, development cost
Keywords [sv]
Python, C, inbyggda system, exekveringstid, minneshantering, avbrottshantering, realtidssystem, skriptspråk, kompilerade språk, utvecklingskostnad
National Category
Embedded Systems
Identifiers
URN: urn:nbn:se:kth:diva-359687OAI: oai:DiVA.org:kth-359687DiVA, id: diva2:1935796
External cooperation
Zenon AB
Subject / course
Embedded System Design
Educational program
Bachelor of Science in Engineering - Electrical Engineering and Economics
Supervisors
Examiners
Available from: 2025-02-10 Created: 2025-02-07 Last updated: 2025-02-10Bibliographically approved

Open Access in DiVA

KEX//Daniel Lejonstad(5853 kB)55 downloads
File information
File name FULLTEXT01.pdfFile size 5853 kBChecksum SHA-512
580f5ff0e5831682c02f69df39ee28938d1acd82a7dcf1fa7f7c716d4ac9e0266ccecf1309e7e85d2f2a28806bf0e699cc41e4b3082467e2c303787825df7489
Type fulltextMimetype application/pdf

By organisation
Health Informatics and Logistics
Embedded Systems

Search outside of DiVA

GoogleGoogle Scholar
Total: 55 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 1157 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf