News for hackers. Stuff that matters.
Re:Debian KDE: Right Linux distribution for professional dig... by _factor on Friday May 31, 2024 @08:06PM (#40541570)
How big of a problem is dependency duplication on 1TB drives?
Re:Debian KDE: Right Linux distribution for professional dig... by indrora on Friday May 31, 2024 @10:38PM (#40542437)
The issue is memory. Every library in an app image has a unique memory space and so you have a bunch of copies of sometimes very large libraries sitting in memory rather than one copy from disk mmapped into memory and page duplicated all over the place.
Re:Debian KDE: Right Linux distribution for professional dig... by eklavya on Saturday June 01, 2024 @12:28AM (#40542874)
Linux has had support for not doing duplicate pages for a long time now. I am forgetting the name of the feature but essentially this duplication is a solved problem.
Re:Debian KDE: Right Linux distribution for professional dig... by e12e on Saturday June 01, 2024 @12:42AM (#40542938)
For different minor versions and builds of libraries?
Re:Debian KDE: Right Linux distribution for professional dig... by raverbashing on Saturday June 01, 2024 @06:57AM (#40544598)
This is basic paging and CoW (Copy on Write) behaviour. I agree, it's mostly a non-issue
Re:Debian KDE: Right Linux distribution for professional dig... by rcxdude on Saturday June 01, 2024 @07:15AM (#40544711)
That's only the case if the libraries loaded are identical, It won't work with slightly different versions of the same library (unless the differences are small and only replacements, so the pages remain aligned between different versions), and that case is very unlikely to be solvable
Re:Debian KDE: Right Linux distribution for professional dig... by eklavya on Saturday June 01, 2024 @09:11AM (#40545462)
The parent comment doesn't talk about different versions and I wasn't either.
Re:Debian KDE: Right Linux distribution for professional dig... by e12e on Saturday June 01, 2024 @12:41AM (#40542931)
In addition to memory, there's the ability to patch a libz bufferoverflow once, and be reasonably sure you don't have any stale vulnerable copies still in use.
Re:Debian KDE: Right Linux distribution for professional dig... by abenga on Saturday June 01, 2024 @02:05AM (#40543282)
Could be big, depending on how much room you give to /. All my Linux life, I have allocated about 50GB to the root partition and it's been adequate, leaving enough room for my data (on a 512GB drive). Now I install one flatpak and I start getting low disk space warnings.
Re:Debian KDE: Right Linux distribution for professional dig... by jcelerier on Saturday June 01, 2024 @09:05AM (#40545407)
That's also a big reason why I prefer appimages.

ossia score's AppImage is 100 megabytes: https://github.com/ossia/score/releases/tag/v3.2.0

Inside, there's:

- Qt 6 (core, widgets, gui, network, qml, qtquick, serial port, websockets and a few others) and all its dependencies excluding xcb (so freetype, harfbuzz, etc. which I build with fairly more recent versions than many distros provide)

- ffmpeg 6

- libllvm & libclang

- the faust compiler (https://faust.grame.fr)

- many random protocol & hardware bindings / implementations and their dependencies (sdl)

- portaudio

- ysfx

with Flatpak I'd be looking at telling my users to install a couple GB (which is not acceptable, I was already getting comments that "60 MB are too much" when it was 60 MB a few years ago).

Re:Debian KDE: Right Linux distribution for professional dig... by curt15 on Saturday June 01, 2024 @02:18PM (#40547898)
How do you manage software with large assets? A single game can take 10-100GB of storage.
Re:Debian KDE: Right Linux distribution for professional dig... by abenga on Sunday June 02, 2024 @05:31AM (#40552734)
My steam library is on another drive (I have multiple O(TBs) large spinning-rust drives on the desktop). The nvme is strictly the base system + apt packages + build tools + /home/.
Re:Debian KDE: Right Linux distribution for professional dig... by semi-extrinsic on Saturday June 01, 2024 @04:39PM (#40548900)
I also shun the snap bullshit. But TBH I haven't divided my disks into more than one partition (except from /boot and EFI stuff) for many many years now.