RetroFed Forum
Your home away from modern life.
Introducing Toolpak
Post Reply
AuthorMessage
Vincent feddit.nl Vincent@feddit.nl
Joined: 2023-06-12
Quote

37   Original
SocialistVibes01 lemmy.ml SocialistVibes01@lemmy.ml
Joined: 2026-04-30
#2 · (edited) Quote Reply

Tools will bundle all their dependencies.

So no Python, no Java

2
corsicanguppy lemmy.ca corsicanguppy@lemmy.ca
Joined: 2023-06-12
#3 · Quote Reply

Tools will bundle all their dependencies. So no Python, no Java

Just one big black box binary.

Security people should lose their minds ... or their accreditation.

1
trevor (any/all) lemmy.blahaj.zone trevor@lemmy.blahaj.zone
Joined: 2023-06-10
#4 · Quote Reply

Tools will bundle all their dependencies. So no Python, no Java

Honestly for the best lol.

Jokes aside, I don't see why this would exclude those languages. Just because they need a runtime doesn't mean the runtime can't be bundled (even if it is annoying to do so). I would imagine for runtime-dependent tools, they would just make a generic runtime bundle that can be shared between packages, similarly to how it's done with flatpak.

I think "tools [bundling] all their dependencies" is more likely to mean that you need to ensure that third-party libraries your tool depend on are bundled, which is good. End users, even if they're developers, shouldn't need to hunt those down just to use something.

4
trevor (any/all) lemmy.blahaj.zone trevor@lemmy.blahaj.zone
Joined: 2023-06-10
#5 · (edited) Quote Reply

Honestly for the best lol. Jokes aside, I don't see why this would exclude those languages. Just because they need a runtime doesn't mean the runtime can't be bundled (even if it is annoying to do so). I would imagine for runtime-dependent tools, they would just make a generic runtime bundle that can be shared between packages, similarly to how it's done with flatpak. I think "tools [bundling] ...

On the other hand, I feel like many of the headaches of packaging and using packages could have been avoided if static linking were the default. Sure, things like openssl should probably be dynamically linked for more immediate updates when security issues arise, but most of the other third-party libraries for applications should be statically linked.

Otherwise, we end up reinventing static linking for decades, which is what things like Flatpak, AppImages, Snaps (🤢), and presumably Toolpaks exist to solve.

Yes, Flatpaks and Snaps (🤢) also provide application sandboxes, but it would be much better if they could focus more on sandboxing than also having to worry about dependency management for application libraries.

Arguably, if static linking were the default, Toolpaks wouldn't be necessary either, even for immutable systems, because static binaries can be easily installed to a mutable part of the system.

3
warmaster lemmy.world warmaster@lemmy.world
Joined: 2023-06-16
#6 · Quote Reply

Brew, but better. I see a bright future ahead.

2
Strit lemmy.linuxuserspace.show Strit@lemmy.linuxuserspace.show
Joined: 2023-08-24
#7 · Quote Reply

Just one big black box binary. Security people should lose their minds ... or their accreditation.

Hopefully it will be open source, so you can build it yourself. It seems to be related to gnomeOS...

In the mean time, if you have any other feedback, find us in #gnome-os:gnome.org on Matrix, or leave a comment.

1
thedeadwalking4242 lemmy.world thedeadwalking4242@lemmy.world
Joined: 2023-08-10
#8 · Quote Reply

Guys, nix or guix

The problem is already solved

3
bradboimler lemmy.world bradboimler@lemmy.world
Joined: 2024-07-25
#9 · (edited) Quote Reply

Tools will bundle all their dependencies. So no Python, no Java

It's pretty easy to bundle a minimal Java runtime with a modular application with jlink

1
eldavi lemmy.ml eldavi@lemmy.ml
Joined: 2023-07-18
#10 · Quote Reply

Just one big black box binary. Security people should lose their minds ... or their accreditation.

you lol, but that seems to be the direction most are headed towards -- a big binary black box, but it's okay because it's signed.

2
Post Reply
Back to top