1 |
El jue, 16-06-2016 a las 19:40 -0400, José Maldonado escribió: |
2 |
> That is possible, but the goal is to serve Snap container for |
3 |
> applications that can be downloaded and used by the user, down a |
4 |
> single |
5 |
> binary that will have all the dependencies in that binary. Docker and |
6 |
> LXC obviously can do this, but its scope and possibilities are much |
7 |
> larger and are not addressed within the scope of normal user of a PC. |
8 |
> |
9 |
Docker doesn't get the applications down to a single binary, it's a |
10 |
package containing everything. A single binary would be something like |
11 |
what Go does by default, as it compiles every source package imported |
12 |
into the final binary, that's why even a "hello world" takes ~2MB. |
13 |
|
14 |
> |
15 |
> > |
16 |
> > [AFAIK, Flatpak's for GUI apps accessed via Gnome Software so it's |
17 |
> > not |
18 |
> > quite a Snap competitor.] |
19 |
> > |
20 |
They say it's not a GNOME thing only, but born in the GNOME project, |
21 |
Quote from their FAQ: |
22 |
|
23 |
"Is Flatpak tied to GNOME? |
24 |
|
25 |
No. While Flatpak has been developed by people with a long involvement |
26 |
in the GNOME community it is not tied to any desktop. In fact, it was |
27 |
designed with the explicit goal of allowing it to build applications |
28 |
using any library stack or programming language an application author |
29 |
might want." |
30 |
|
31 |
I would say is the implementation of something that Lennart P. wrote in |
32 |
his blog a while back[1](I don't know to what extent is 'his' idea, or |
33 |
if it just happens that he wrote about it after discussing it with |
34 |
others), but it seems that he didn't write code for it(I looked at the |
35 |
contributors in GitHub) |
36 |
|
37 |
|
38 |
> Flatpak and Snap, have GUI and command-line. In addition, Flatpak |
39 |
> packages weigh less than their counterparts Snap, and right now |
40 |
> several |
41 |
> free software projects officially support it, including LibreOffice. |
42 |
> |
43 |
The flatpak packages take less space because there's a separation |
44 |
between runtimes and applications, with the runtime(s) containing many |
45 |
of the libraries/packages required by an application, and intended to |
46 |
be used by many of these, and the application package only containing |
47 |
the remaining required libraries, or maybe only the app, so it could |
48 |
reduce but not eliminate the problem previously discussed of |
49 |
dependencies being left unmaintained and not upgraded with security |
50 |
fixes. IMHO Flatpak seems a better option than Snap, and certainly |
51 |
reducing file system and device access is a good thing about both, but |
52 |
with these advantages some other problems are created, so it's a trade- |
53 |
off. |
54 |
As Andrew Savchenko said previously Snap seems like C:\Program Files |
55 |
for Linux, but I would add 'with sandboxing' and other security |
56 |
features, and that certainly makes it better than than Windows to be |
57 |
fair. |
58 |
Maybe we will see Snaps/Flatpaks of popular proprietary software that's |
59 |
only available for Windows and MacOS right now that has no real FOSS |
60 |
competitor e.g. AutoCAD and family, I often hear the excuse of these |
61 |
vendors not supporting Linux because of the many distributions. Getting |
62 |
LibreCAD to the level of AutoCAD would take a decade or more at the |
63 |
pace it is going, right know it reminds me of AutoCAD 2004, and it |
64 |
isn't even a that level. Trying to be optimistic maybe we'll see a new |
65 |
wave of users in Linux as a result of these new packaging systems, and |
66 |
in the long run if the GNU/Linux user base grows and learns about the |
67 |
Free Software philosophy and get tired of having to pay large sums of |
68 |
money to Autodesk and other companies for a yearly permission to use |
69 |
their software, they would contribute to the FOSS alternatives with |
70 |
money to get people working full time on these, and we could see them |
71 |
grow to be real competitors. |
72 |
That said I hope upstreams don't start bundling libraries into their |
73 |
software as a result of this(at least not more than some already do |
74 |
now), that's really annoying and it could create a nightmare of the |
75 |
likes of java(I mean most java developers seemingly putting every jar |
76 |
they come across in their 'source' trees and then forget about it for |
77 |
the rest of their lifes, or at least until Oracle breaks them, after |
78 |
years and years of deprecation). |
79 |
|
80 |
[1] http://0pointer.net/blog/revisiting-how-we-put-together-linux-syste |
81 |
ms.html |
82 |
|