this post was submitted on 09 Feb 2024
95 points (97.0% liked)

Linux

47341 readers
1351 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 7 months ago (2 children)

If you are a modder that wants to do stuff like replace the kernel, add in rust coreutils etc, then I think NixOS is indeed better. Have not used it but really want to try.

Image based Distros are just perfect for people that want to have perfectly reproducible bugs, or in general not many.

It is a good community concept, but tbh a preset of shared Nix config files could do the same thing too, with ease. Just dont deviate from those configs and you will have multiple people with the same systems.

[–] [email protected] 1 points 7 months ago* (last edited 7 months ago) (1 children)

Exactly. The concept is great, but my Guix system (Nix fork from GNU) is already reproducible and capable of rollbacks and transactional upgrades (and declarative system configuration !)

The learning curve is quite steep tho (the Nix leaning curve is even higher, at least it used to be IMO). If the sway spin of Atomic Fedora was available earlier I probably wouldn't have switched tbh. Both solutions are great.

Overall I'm quite happy with my Guix configuration. I've got roughly the same configuration on all my systems with ease, all config files (also sway for example) in the same language: Guile Scheme (LISP dialect), and the whole thing is in git. I don't imagine going back to a regular distribution anytime soon.

[–] [email protected] 1 points 7 months ago (1 children)

NixOS User here: what made you use Guix over NixOS?

[–] [email protected] 1 points 7 months ago* (last edited 7 months ago) (1 children)

Scheme is a more mature and more expressive language than Nix imo. And you can write your home configs in scheme too.

The differences aren't that big, nix is great but I find (at least I did two years ago) the documentation a bit confusing. Both are great. I like scheme a lot better than Nix (the language), and the tooling is a bit less confusing to me.

[–] [email protected] 1 points 7 months ago (1 children)

And you can write your home configs in scheme too

so you have your own Version of Home-Manager as well?

[–] [email protected] 2 points 7 months ago

I didn't know about home-manager, but it seems like it.

[–] [email protected] -1 points 7 months ago (1 children)

Damn, rust really embrace the "Hey, Can I copy your homework?" Meme. I like rust btw, it's just funny how often I see something along the line of "it's like X, but in rust!"

[–] [email protected] 6 points 7 months ago (1 children)

I mean coreutils in a memory safe language?

Rust is the currently most adopted C replacement

[–] [email protected] 1 points 7 months ago (1 children)

Rust is the currently most adopted C replacement

Where's the data you're using to measure that?

[–] [email protected] 2 points 7 months ago (1 children)

https://insights.stackoverflow.com/survey/2019#technology

This shows something else. The traditional languages are all more common than Rust.

I suppose Go could be a good competitor, and I read a thread comparing C=Go, C++=Rust.

I just see a lot more rust in many projects, and it is well integrated with GTK for example. I also know of several drivers and modules written in Rust.

At least in Linux, Go seems to be used for WebTech more than for other things.

I am interested in a discussion about that, as I would like to learn one of these languages, but Rust seems to have a better ecosystem with more adaption, ready GUI toolkits, a Linux Desktop, multiple GTK apps etc. in the making, while for example "Fyne", Go GUI toolkit (that I found in the Flatpak "Rymdport") doesnt even have Wayland support yet.

[–] [email protected] 1 points 7 months ago

This shows something else. The traditional languages are all more common than Rust.

It's a survey from 2019, but in those rust is traditionally the favourite language nobody uses professionally.

I suppose Go could be a good competitor, and I read a thread comparing C=Go, C++=Rust.

Go's syintax is C inspired, but it's not made to replace it, nor do they compete in the same space.

Look at zig instead of you're interested in that.

I am interested in a discussion about that, as I would like to learn one of these languages

Skip rust unless you have years to get good at it.