arXiv:2611.00891cs.OSOct 2026

Manuscript Offprint

arXiv:2611.00891

Beyond Source Compatibility: WebAssembly as a Stable ABI for ARINC 653 Applications

Wanja Zaeske, Patrick Siegl, Florian Hartung, Fabian Bauriedl, Nicolaus Bär, Umut Durak

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Thirty years ago, ARINC 653 was introduced to provide a vendor-independent platform for software applications in Integrated Modular Avionics (IMA). A platform is characterized by a well-defined interface abstracting over implementation details; in the case of ARINC 653 this is an Application Programming Interface (API), defined on the source-code level. However, several aspects of this API — such as the memory layout and partially also the integer bit width of data types — remain implementation dependent, so portability across Operating Systems (OSs) requires recompilation, and often also source code adaptation. Our contribution is three-fold; first, we refine the ARINC 653 header file, eliminating remaining ambiguities. Second, building on WebAssembly (Wasm), we define an OS- and processor-architecture-agnostic Application Binary Interface (ABI) at the object-code level, resolving differences in data layout, endianness, and function-pointer representation between host and guest environments. Third, we demonstrate a Wasm-VM-agnostic shim-library that executes ARINC 653 partitions, compiled to Wasm bytecode and following our ABI, on multiple processor architectures using two independent Wasm runtimes.

1 Introduction

With the push towards Integrated Modular Avionics (IMA), multiple software applications are executed together on the same computer module. Between applications, partitioning is of utmost importance to avoid cascading failures [1]. This partitioning is provided by specialized Operating Systems (OSs), offering an Application Programming Interface (API) for scheduling, interprocess communication, external I/O, health management, etc. Software applications are often tightly coupled to an OS and hardware / module type, hindering portability between such OSs. To enable software re-use, ARINC 653 was developed [2].

ARINC 653 is a modular standard that specifies OS interfaces and configuration aspects for the partitioning. Multiple OSs implement (subsets of) the ARINC 653 API, e.g. PikeOS, VxWorks, DEOS, LynxOS-178 & Integrity-178. However, various aspects of the ARINC 653 API are implementation dependent; for example, the order of struct fields or the bit width of id types (such as APEX_LONG_INTEGER). Consequently, even applications relying only on the specified behavior of the ARINC 653 API still require recompilation for a port to a new compliant OS to accommodate these implementation-dependent aspects [3]. Although Cook [3] frames this as “[...] facilitating portability via recompilation of the application source [...],” recompilation is necessary but insufficient to guarantee portability: Cook presupposes access to source code, a matching toolchain, and the absence of implicit reliance on non-standardized behavior. In practice, applications are likely to implicitly rely on such non-standardized aspects, further raising the risk and cost of porting to a new OS. In particular in IMA

Figure

Figure 1: Integration of a VM into a generic execution environment provided by an OS in the form of a process

settings, depending on history and relationship between function supplier and airframer, the source code might not be available (any more) to the airframer.

In short, ARINC 653 enables (but does not guarantee!) source-code level compatibility without making any promises on the object code level except for symbol names. To address this, we define a new execution environment equipped with an ARINC 653 API, based on WebAssembly (Wasm). Wasm provides a processor-ISA-independent, highly standardized, executable bytecode format. Existing ARINC 653 C header files are refined, eliminating implementation-dependent aspects in a forward-compatible manner. This is not a novel idea, and has been briefly discussed already in section 4.b of [4]. However, various minute implementation details are merely glanced over by that publication, leaving it up to this paper to fill in the gaps.

For the demonstration in this paper, we focus on the Wasm Virtual Machines (VMs) Wasmtime [5] and WebAssembly Micro Runtime (WAMR) [6]. To facilitate reproduction of our results, AIRBUS' Linux-based ARINC 653 shell a653lib¹ is used for the demonstration.

Looking beyond individual OS ports, next-generation IMA envisions virtualization to achieve software-defined avionics, building on earlier work on reconfigurable IMA platform architectures [7]. In this vision, applications can be freely deployed and reconfigured across heterogeneous hardware [8]. A stable, hardware-independent Application Binary Interface (ABI) — as contributed in this paper — is a major enabler to that.