Portability matrix
Two layers, very different reach:
- robobus core (bus + codec + crypto), pure-Python stdlib +
cryptography(+ optionalquantcrypt/liboqs) + a tiny portable C poller. Runs everywhere Python runs. - ROS 1 / ROS 2 / LSL native stacks, via RoboStack/conda (desktop OSes + Pi) or
via a
rosbridge/micro-ROSclient (mobile).
| Platform | ROS 2 | ROS 1 | LSL | robobus bus + PQC | How |
|---|---|---|---|---|---|
| macOS (arm64/x64) | yes full | yes full | yes | yes | scripts/install_macos.sh (tested on M5/26.1) |
| Linux x86_64 (Debian/Ubuntu/Fedora/Arch) | yes full | yes full | yes | yes (/dev/shm) |
scripts/install_linux.sh |
| Linux aarch64 | yes full | yes full | yes | yes | scripts/install_linux.sh |
| Privacy distros (Kali, Parrot, PureOS) | yes | yes | yes | yes | scripts/install_linux.sh |
| Whonix / Kicksecure | yes¹ | yes¹ | yes | yes | install over Tor; bus is host-local |
| Tails | yes² | yes² | yes | yes | install to Persistent Storage (amnesic otherwise) |
| Qubes OS | yes³ | yes³ | yes | yes | per-AppVM/TemplateVM; bus stays in-qube |
| Windows 10/11 (x64) | yes | yes | yes | yes (%TEMP% mmap) |
scripts\install_windows.ps1 |
| Raspberry Pi (64-bit OS) | yes⁴ | yes⁴ | yes | yes (/dev/shm) |
scripts/install_rpi.sh |
| Android / GrapheneOS | partial via bridge | partial via bridge | yes⁵ | yes (Termux) | see below |
| iOS / iPadOS | partial via bridge | partial via bridge | yes⁶ | yes (a-Shell/embed) | see below |
¹ on Tor-routed distros conda solves are slow (network-bound), but the bus itself needs no network.
² Tails is amnesic; point ROBOTICS_STACK at a /live/persistence path.
³ Each qube is its own Linux; install in the AppVM (or a TemplateVM to persist).
⁴ 64-bit only (no 32-bit ROS on RoboStack); Gazebo is heavy on a Pi.
⁵ liblsl builds for Android (NDK); pylsl via Termux.
⁶ liblsl builds for iOS; use a-Shell/Pythonista or embed liblsl in an app.
Why desktop ROS can't run on Android/iOS
RoboStack is conda, and there is no conda for Android/iOS. micro-ROS targets MCUs, not phones. So on mobile you run the robobus bus + PQC crypto + LSL in Python, and reach a ROS graph elsewhere over the network:
Phone (Termux / a-Shell) Robot or workstation (Linux/macOS/Win)
┌───────────────────────────┐ ┌─────────────────────────────────────┐
│ robobus bus + crypto │ rosbridge │ rosbridge_server ──► ROS 2 graph │
│ pylsl ───────────────────┼── WebSocket ──┼─► (Nav2 / MoveIt / sensors) │
│ your app (PQC-secured) │ (wss + AEAD) │ robobus ros2 bridge ──► bus │
└───────────────────────────┘ └─────────────────────────────────────┘
Android / GrapheneOS
- Install Termux (F-Droid; GrapheneOS: install in a sandboxed profile).
pkg install python clang openssl;pip install cryptography quantcrypt pylsl.pip install -e .from this repo, the bus + crypto + LSL adapter work natively (ring dir auto-selects$PREFIX/tmp).- To reach ROS, run
rosbridge_serveron the robot and talk to it overwss://(wrap the channel with a robobus suite for end-to-end PQC on top of TLS).
GrapheneOS note: Termux runs in the normal app sandbox; the bus is process-local to Termux. Cross-app IPC needs a content provider or a localhost socket.
iOS / iPadOS
- Use a-Shell (Python + clang, sandboxed) or embed CPython + liblsl in an app.
pip install cryptography pylsl(quantcrypt/liboqs may need a prebuilt wheel or the pure-Python KEM fallback).pip install -e ..- Reach ROS via
rosbridgeoverwss://, same as Android. - App Store distribution requires embedding (no
pipat runtime); the bus + crypto are plain Python/C and embed cleanly.
The C poller across OSes
native/shm_bench.c is C11 + POSIX mmap. It builds with clang/gcc on macOS, Linux,
and Raspberry Pi as-is. On Windows, compile with clang-cl or MSVC and swap mmap for
CreateFileMapping/MapViewOfFile (the ring layout is identical; the wire format is
byte-compatible across all platforms).
Cross-platform test evidence (not just claims)
Every target OS reduces to a (libc × CPU arch) substrate plus a package manager;
distro branding doesn't affect a pure-Python + OpenSSL/liboqs stack. So we prove
portability by running the suite on those substrates via Docker + QEMU
(scripts/qemu_test.sh, wired into CI as the cross-arch matrix):
| Substrate | libc / arch | Covers | Result |
|---|---|---|---|
| Debian aarch64 | glibc / aarch64 | Raspberry Pi OS 64-bit, Kali, Parrot, Whonix, Tails, PureOS, Ubuntu, Mint | yes core + classical crypto |
| Alpine aarch64 | musl / aarch64 | containers, embedded, minimal images | yes core + classical crypto |
| Debian x86_64 (QEMU) | glibc / x86_64 | desktops/servers, most distros | yes core |
| Debian armv7 (QEMU) | glibc / armv7l | Raspberry Pi 32-bit | yes core |
| macOS arm64 (native) | native / arm64 | dev machine | yes full 135-test suite |
The pure-stdlib core (ring, codec, bus, schema) and the classical crypto
(AES-256-GCM, SHA-2/3, HKDF, KMAC-via-OpenSSL, Argon2id) pass on all of the above; the
PQC layer (ML-KEM/ML-DSA via liboqs) runs wherever liboqs is installed and skips
gracefully (never errors) where it isn't, so the matrix stays green on minimal images.
Reproduce locally: bash scripts/qemu_test.sh (needs Docker; QEMU auto-registered).
The full-stack portability harness (local, no paid CI)
Hosted CI minutes are a paywall, so the portability proof is written to run on one
workstation. bench/portability_harness.sh starts a container for each ISA (Docker + QEMU
binfmt) and runs the whole stack inside it: the wire codec, schema codegen, the crypto
correctness verify, the Rust / Node / Java language bindings, and the transport bridges,
asserting each seals frames the Python reference opens and vice-versa on that architecture. It
emits bench/results/portability-matrix.json, which the site renders as the Portability grid
on the Speed matrix. Timing under emulation is not cycle-accurate and
is deliberately not recorded; this axis proves the stack computes correctly across endianness,
word size and alignment (the big-endian s390x cell is the point). Reproduce anywhere Docker + QEMU
are registered:
colima start && docker run --privileged --rm tonistiigi/binfmt --install all
bench/portability_harness.sh linux/arm64 linux/s390x linux/ppc64le linux/riscv64 linux/arm/v7 linux/386
The C-ABI shared library + every binding, byte-identical on six ISAs
librobobus (the embeddable C-ABI shared library) and the language bindings are compiled and
tested under QEMU on x86-64, aarch64, armv7 (32-bit ARM), ppc64le, riscv64, and big-endian
s390x (.github/workflows/shared-lib.yml, conformance-matrix.yml). The wire format is
little-endian-canonical on every host: the codec serialises IEEE-754 doubles as LE regardless
of native byte order, so a frame sealed on any architecture opens on any other. The proof is
byte-level, the C self-test embeds the exact bytes the x86 Python reference emits, and a ctypes
cross-check seals/opens both directions, and it passes on big-endian s390x, confirming the
canonicalisation is real, not an assumption. AES-256-GCM is byte-oriented and endian-neutral by
construction.
Every language toolchain, run green together
tools/all-languages.Dockerfile proves the language axis the same way it proves the arch
axis: one image with every toolchain (gcc/clang, Go, Rust, JDK, .NET, Node+TypeScript, Julia,
Octave, Swift, Kotlin, Ruby, Lua, Python+Cython), a hard "versions print or abort" gate, and the
full polyglot conformance, 12-language schema codegen + the six native seal/open bindings, green
with zero silent skips. Reproduce: docker build -f tools/all-languages.Dockerfile -t robobus-all-langs . && docker run --rm -v "$PWD":/src:ro robobus-all-langs.
| Platform | Verified how |
|---|---|
| macOS, Windows 10/11 | native GitHub-Actions runners (test job) + local macOS |
| PQC DDS-Security handshake | built + measured green on CI: Linux, macOS, Windows native MSVC (VS2022) AND WSL2 (dds-benchmarks workflow) |
| Linux x86_64 / aarch64 / armv7, Alpine (musl) | QEMU/container cross-arch CI matrix (above) |
| Raspberry Pi OS (64 & 32-bit) | covered by Debian aarch64 + armv7 cells |
| Android / GrapheneOS (Termux) | aarch64 substrate cell + documented Termux install |
| iOS / iPadOS | documented manual path (a-Shell); not CI-automatable |
Age-verification laws & the privacy/security distros
The stack is distro-agnostic, it runs on any Linux regardless of policy, but since target users care about age-verification/anti-surveillance posture, here is the grounded 2025–2026 landscape (sources in git history / the research note):
- The framing caveat: age-verification laws (UK Online Safety Act, EU proposals) target websites/platforms/app-stores, not operating systems, so a Linux distro has nothing to "implement" under them. The one wave that touched OSes, California AB 1043 (age-signal duty on OS/app-store providers), was amended by AB 1856 (May 2026) to exempt open-source operating systems (EFF confirms this "substantially reduces the threat"). So mainstream Linux is effectively out of scope of the law that started the debate.
- Distros with a documented, on-the-record refusal:
- GrapheneOS (Android-based), strongest, best-corroborated: public stance (Mar 2026) that it "will remain usable by anyone… without requiring personal information, identification or an account." Runs the robobus bus + crypto via Termux (see above).
- Zorin OS (Ubuntu-based), official forum statement: "no plans to introduce mandatory age or ID verification." Debian/glibc substrate → covered by the aarch64/x86_64 cells.
- Garuda Linux (Arch-based), public statement it "will not implement any age verification measures." Arch/glibc → same substrate.
- Privacy/cybersecurity distros, ethos-aligned (anti-surveillance by design; no
AV-specific statement found): Tails, Whonix, Qubes OS, Kali, Parrot, PureOS, BlackArch,
Pentoo. All reduce to Debian/Arch/Gentoo on glibc (or Alpine/musl), all covered by the
test matrix above. (Systemd-free distros, Artix, Alpine, antiX, additionally avoid a
reported systemd
birthDateuserdb field; robobus depends on none of that either way.) - Broader opposition (well-sourced, not distro statements): EFF, the Tor Project, Mullvad, Proton, and Mozilla co-signed a 19-organization letter (May 2026) opposing age-verification overreach.
Bottom line: robobus imposes no identity/age requirement of its own and runs on all of the above, the privacy posture is the OS's to make; we don't get in its way.