Meta

XARs: An efficient system for self-contained executables

Jul 13, 2018Chip Turner, Nick Terrell, Cooper Lees
XARs: An efficient system for self-contained executables
SummaryAI, from the source post

This post introduces XARs (Executable Archives), a new system for distributing self-contained executables. XARs encapsulate code and data dependencies into single, highly compressed files, offering significant improvements in distribution speed, robustness, and efficiency compared to previous methods like PARs and PEX files. They leverage squashfs and FUSE for on-demand mounting and execution, minimizing overhead and enabling hermetic binaries that run consistently across diverse infrastructure. The post details the technical implementation, performance benefits, and provides usage examples for various platforms, while also highlighting its open-source release.

More from the Facebook Engineering Blog trail