Well, that and the sandbox features, so that they can't interfere with the rest of the system.
Well, that and the sandbox features, so that they can't interfere with the rest of the system.
Huh?
If a snap includes version 1.0.0 of libxyz, and another does the same, you have two copies. If a third snap comes along and uses version 1.0.0 libxyz, you now have three.
Snaps do not automatically de-duplicate today.
That means two copies of the library living on disk and in memory at run-time.
So, they've reinvented dependencies (though, to their credit, they gave them a different name), one of the very things snaps were intended to alleviate?
Look, don't get me wrong, snaps have some interesting advantages (sandboxing being the one major selling point, IMO). But, again, they're no panacea.
Just like docker, snaps make sense even if there is some duplication of the libraries. Other benefits outweigh the extra size.