Tame the Cross-Platform Beast
summary
Covers practical ways to build multi-platform Linux images and binaries: run native builders, use emulation with QEMU/Rosetta, or cross‑compile using Docker BuildKit/buildx plus helper images. Demonstrates Dockerfile flags and the --platform linux/amd64,linux/arm64 option, shows concrete timing comparisons (Rust compile 37s native vs 1m28 emulated; other projects ~1h3 emulated vs ~20m cross‑compiled), and recommends using Tonis Tigy’s XX helper scripts (XX Go, XX cargo, XX aptg) and the XX verify checker. Explains Rust-specific needs: install target linker/libc and a matching Debian glibc, since build failures often mask the true cause.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 4:55Platform definition
- 6:20Compilation methods
- 12:22Demos with Node.js
- 16:56Demos with Go
- 22:41Advanced cross-compilation
- 31:15Demos with Rust
- 40:25Summary
related talks
26mBuilding for Heterogeneous Systems
47mPrepping your Open Source Project for Multi-Platform
01h 14mBuilding and Organising a Multi-Platform Development Code Base
01h 03mApplied Best Practices
42mPutting Linux into Context – Towards a reproducible example system with Linux...
28mHow Linux Containers can Help to Manage Development Environments for IoT and Embedded Systems
41mRuby for Embedded Applications
36mEmbedded Development Made Easy: A Guide to FOSS Platforms and Maxing product value
