3 ms·
How similar is this to Google PAR/SAR executables for Python and Bash scripts respectively?
by ASinclair 8y ago
How similar is this to Google PAR/SAR executables for Python and Bash scripts respectively?
- terrelln 8y agoFacebook's PAR is a self-extracting zip file, I assume Google's is similar. XARs are self-mounting SquashFS archives (a compressed read only filesystem). This means that XARs don't have to be extracted to a temporary directory to run, they can run in place. Zip files have to be completely extracted before running, but SquashFS decompresses pages on the fly, so startup times are much faster (especially with zstd compression).
- wesleyy 8y agoI don't think Google's implementation of their hermetic par files are open source.