4 ms·
Awesome work. Did your team evaluate creating a virtual filesystem that could process the SquashFS images without involving the kernel? Having completely indepe
by mmastrac 8y ago
Awesome work. Did your team evaluate creating a virtual filesystem that could process the SquashFS images without involving the kernel? Having completely independent executables that could run on _any_ system with zero additional install would be sweet.
To clarify - a stub in each XAR would act as a filesystem driver and intercept calls to open/read/etc, redirecting them to the internal data blob.
Edit: I see your comment below which answers this! https://news.ycombinator.com/item?id=17524910 https://news.ycombinator.com/item?id=17524910
- rkeene2 8y agoFor what it's worth, this is how Tcl self-contained executables work [0], since Tcl already has a virtual filesystem mechanism. [0] https://www.tcl.tk/starkits/ https://www.tcl.tk/starkits/