liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • 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
Evaluating Foreign Function Interface Offloading Strategies: for a Pythonic High Level Architecture API
Linköping University, Department of Computer and Information Science, Human-Centered Systems.
2026 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Utvärdering av Foreign Function Interface-avlastningsstrategier för ett Pythoniskt High Level Architecture-API (Swedish)
Abstract [en]

The High Level Architecture (HLA) standard for distributed simulation lacks a native Python API, despite the language's widespread adoption in scientific and engineering domains. While developing such an interface provides immediate engineering value, the underlying academic challenge lies in evaluating how Foreign Function Interfaces (FFIs) can be used for computation offloading. Despite the widespread use of FFIs to bridge performance gaps, there is still a lack of research into how different architectural granularities impact offloading performance.

This thesis explores FFI offloading strategies using the development of a Pythonic HLA API as the experimental domain. Three strategies were evaluated: No Offloading, Coarse-Grained Offloading, and Fine-Grained Offloading. The study was conducted in three distinct phases. First, an evaluation outside the HLA domain revealed that different FFI libraries exhibit distinct performance preferences for varying granularities. Second, an evaluation within the HLA domain identified the superiority regions for each offloading strategy based on the structural complexity of the data in the context of encoding HLA data types. The findings show that HLA encoding is a computationally inexpensive operation where the overhead costs of FFI offloading outweigh the performance gains of a faster guest language for most data structures. Finally, a prototype Python API was evaluated against the traditional HLA Java API in terms of performance and programming complexity. Results indicate that while performance is generally lower than its Java counterpart, the gap in update frequency narrows significantly as network load increases. Furthermore, quantitative metrics show a definitive decrease in programming complexity, increasing the usability and lowering the barrier to entry for distributed simulation development.

Place, publisher, year, edition, pages
2026. , p. 61
Keywords [en]
High Level Architecture (HLA), Foreign Function Interface (FFI), Computational Offloading, Offloading Granularity, Programming Complexity, Distributed Simulation
Keywords [sv]
High Level Architecture (HLA), Foreign Function Inteface (FFI), Beräkningsavlastning, Avlastningsgranularitet, Programmeringskomplexitet, Distribuerad simulering
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:liu:diva-225394ISRN: LIU-IDA/LITH-EX-A--26/037--SEOAI: oai:DiVA.org:liu-225394DiVA, id: diva2:2076492
External cooperation
BAE Systems OneArc
Subject / course
Computer science
Presentation
2026-06-09, Charles Babbage, Linköpings universitet, 581 83, Linköping, 15:15
Supervisors
Examiners
Available from: 2026-06-22 Created: 2026-06-22 Last updated: 2026-06-22Bibliographically approved

Open Access in DiVA

fulltext(1320 kB)42 downloads
File information
File name FULLTEXT01.pdfFile size 1320 kBChecksum SHA-512
af5f14bb1b4505efeb6d902dac371615a661f987b15cee92cd193f860c41b2125ed82270c82d40eaf29b8f2aa8a24ecf9b15f7921022e4ffa6810a97c5d459d6
Type fulltextMimetype application/pdf

By organisation
Human-Centered Systems
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 42 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: 156 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • 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