I'm glad to see interest in these techniques (VFE, WME, internalization, LTO, hermetic seal), but as the name of the compiler flag (-experimental-hermetic-seal-at-link
) suggests, it absolutely is experimental at this point. The biggest known issue is missing support for Linux / ELF binaries, but I'm sure there is plenty of not-yet-discovered problems especially if you try to apply this to iOS application code where you need ObjC interop to be enabled. I have almost exclusively tested the techniques without ObjC interop.
5 Likes