[-] ferric_carcinization@lemmy.ml 2 points 33 minutes ago

Thanks. I'm still not completely serious about it, but I've given some thought to how the project would be laid out. I have some code, but not that much, under a few thousand loc. I wonder if it would be accepted into the extra repository. In Arch, the AUR is completely unofficial. The wiki documents many things related to it, but otherwise, the tooling kind of pretends that it doesn't exist & it's completely "unsupported" officially. The rules of the extra repository specify that pacman wrappers aren't allowed, but doesn't mention the AUR, IIRC. This wouldn't be a wrapper, but would support the AUR. I wonder how it would be handled, or would AUR support be patched out?

[-] ferric_carcinization@lemmy.ml 1 points 1 hour ago

As you use Cachy, you probably already knew, but Arch compiles for x86_64_v1 (all 64-bit x86 CPUs). While some packages (glibc, I think & codecs, for example) use compiler magic & assembly to use vector instructions when available, most packages compiled for Arch cannot make use of them. Some programs feel much faster when compiling them myself.

I wonder if clear Linux (Intel's distro) would have any noticeable improvement i performance? I think that Cachy might use a few of their patches.
Note: I'm very much not an Intel shill. I wouldn't want to actually use it, just interested in the performance.

[-] ferric_carcinization@lemmy.ml 3 points 1 hour ago

Do you have a reason not to use systemd? Yes, it might be slower to boot than other inits, but the units are so nice. (Not trying to convert you, just curious about why you seem to avoid it)

Installing Gentoo is fun! It can be done without install media. Just extract the stage3 archive to a partition, mount system directories correctly & just chroot in! Now you can have the handbook open in a browser next to the chroot. Though, I haven't finished the install yet. I've had it in a half-done state for a while.

I can program in C++ & don't have much against it, I just love Rust. Also, for security, Rust is just better. Everyone makes misrakes, so why not make the compiler check your work? Especially when it comes to concurrency. With Rust, never I have to about worry race conditions & data races again. (Kind-of trying to convert you, but Rust isn't perfect, or ready for everything yet, sadly)

With the compilation, I was wondering how good the support for partially compiling dependencies was. For example:
packages: foo, bar, baz
bar depends on foo
baz depends on bar

What happens if I compile bar myself?
If foo updates, I may need to rebuild bar, I need to do that manually on Arch.
What about baz? It depends. It might work with my locally compiled bar, or it might not. Either way, pacman doesn't care.

I've been toying around with a new Rust-written™®© package manager that would support that. It's still very early in development & I have a few other personal projects in the way, too.
A few thoughts I have about it:

  • The "database" format used by pacman is simply insufficient. (I mean the local db, the sync db is fine, IIRC)
  • It should be possible to cascade testing repo installs. (mark the extra repo compatible with extra-testing and the same with core & core-testing, with the non-testing repos having higher priority. Install extra-testing/bar, the dependencies, like foo are pulled from the testing repos, if available. This should cascade. Now, you can selectively use packages from testing without breaking anything.)
  • Add new repo formats, like repo-src (official PKGBUILDs) & AUR (stored in a different way from official build scripts & different trust levels, require reviewing build script) that build when installing & cascade similiarly to the previous point.
  • Allow using the legacy (current) DB format, but without support for the fancy new features
  • Allow tagging paclages with extra metadata, for example to prevent packages from being rebuild (or built at all) unnecessarily.
  • It should be compatible with pacman's options & behaviour. Some tools also need to be redone, but I have already started on this.
  • The Arch formats (.pkg.tar*, PKGBUILD, db) are not designed for this, at all. I think that packages can be optionally manually tagged, but this should err on the side of rebuilds, and I'd also like to redesignd both the package format & build scripts/tooling. Like I said, the db is just insufficient & needs to go.

This is still very early in development, but I'd like to get it done at sone point.

It would combine the worst parts of both Arch & Gentoo (compilation, no use flags, complex dependency solving) in a gradual way (build the fish shell [yes, I use fish. I used to use zsh with plugins, but fish just did everything, but better & faster] today, next week build ffmpeg & dependents, next month, build libc & watch most of the system get built).
It would be nice to support parallel building of unrelated packages, as not everything scales well.

Dependency cycles/conflicts/versions are going to be nightmarish to solve for repo packages, then it also needs to work for AUR.

I'm not sure if I'll ever get the package manager to a usable state, though.

[-] ferric_carcinization@lemmy.ml 2 points 4 hours ago* (last edited 4 hours ago)

How much of a difference do you notice in practice? Do you think you could see similiar gains by compiling, for example, Wine & some libraries with -march=native & maybe -O3?

Note:
-march=native does imply -mtune=native, at least on gcc, unless you specify another tune yourself. Some people assume that it isn't the case, but it's stated in the man page:

When -march=native is given and no other -mcpu or -mtune is given then GCC will pick the host CPU as the CPU to tune for as well as select the architecture features from. That is, -march=native is treated as -mcpu=native.

Sorry for the arch/tune rant.

[-] ferric_carcinization@lemmy.ml 3 points 4 hours ago* (last edited 4 hours ago)

I though Void also supported systemd. Though, it would take away some advantages of Void, as it doesn't support musl IIRC.

I've heard Void fans singing praises for its package manager. It's one of the few distros where its users are really passionate about that, along with Arch, Gentoo & Alpine (IIRC). How good is the support for compiling certain repo packages yourself?

Does musl or a lack of systemd cause many problems?

Does Void have good support for ZFS? I run a small server at home & like to experiment. It's currently running Debian, but I'm crazy enough to consider dual (or triple when I finally decide to put BSD on it) booting on a server.

All in all, sounds like it's a lot more interesting than I thought. I'll definitely give it a try, if not on a server, at least a desktop. Though, I still think I'll switch to Gentoo for my daily driver.

Hope I didn't bore ya.

Not at all! I'm a huge nerd, so I love learning about things like this. Thank you for the detailed ~~propaganda~~ comment!

P.S.
Do you happen to know if support for Rust (the best language at the time of writing) C standard libraries like relibc or c-gull is planned?

Edit: Fixed striketrough, I think.
Second edit: It works now. Why does each Markdown flavor have slightly different, incompatible syntax?

[-] ferric_carcinization@lemmy.ml 2 points 6 hours ago* (last edited 6 hours ago)

If your first priority is speed, would clear Linux be better? Though I can see the appeal in a more performant Arch.

Edit:

almost zero problems

What problems did you encounter? Would they also have affected Arch?

[-] ferric_carcinization@lemmy.ml 1 points 6 hours ago

The Vita has some good games, and it has built-in support for psp & ps1 games, which is not emulation IIRC. It can be a nice portable emulation machine, especially the Vita 1000 model, with the OLED display. The 2000 isn't as nice due to the worse display.

[-] ferric_carcinization@lemmy.ml 3 points 9 hours ago

What're the benefits of using Void over something like Arch? I've been interested in trying it out for a while, but haven't really gotten around to it yet.

[-] ferric_carcinization@lemmy.ml 2 points 9 hours ago

I didn't mean it as recommending arch or gentoo to new Linux users.

How's CachyOS been for you? I've compiled a few repo packages myself & am in the process of testing Gentoo.

[-] ferric_carcinization@lemmy.ml 2 points 13 hours ago

Isn't it more like death by a thousand stabs or something? Each one just seems a bit too deep to just call a "cut".

[-] ferric_carcinization@lemmy.ml 14 points 14 hours ago

This is brilliant, but I like this & this.

[-] ferric_carcinization@lemmy.ml 4 points 16 hours ago* (last edited 15 hours ago)

If the grahical app store has asked for a password when updating, like on normal Fedora (what Nobara is based on), all programs installed with sudo dnf install <program(s)> are also updated. A update to native packages can also be ran with sudo dnf upgrade. Flatpaks can be updated from the app store or with flatpak update. (no sudo, as that just raises the privileges for the next command, like dnf)

Linux has become more user-friendly, but due to the many, many alternatives for pretty much everything, while some programs integrate well with each other, this is not the case for everything, sadly.

Sorry, I don't know about the scroll issue. The scroll wheel on a mouse or dragging 2 fingers on a touchpad should still work.

TL;DR:
If you are prompted for a password when updating, everything's fine. This should be the case for you, as Nobara is based on Fedora, which supports this. Otherwise, you have to run sudo dnf upgrade or the equivalent for your distributions's package manager.

view more: next ›

ferric_carcinization

joined 2 months ago