this post was submitted on 09 Jun 2023
40 points (100.0% liked)

Linux

48726 readers
943 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
 

Basically title, with System76 moving from gnome to their new rust built COSMIC environment what are your thoughts?

top 42 comments
sorted by: hot top controversial new old
[–] open_world@lemmy.ml 17 points 2 years ago* (last edited 2 years ago) (2 children)

I'm incredibly interested in COSMIC DE! For multiple different reasons, actually.

  1. Rust - I'm very interested to see how performant/memory-efficient this DE will be compared with other DEs. Also, I wonder how the Iced toolkit will evolve and be adopted in other projects.
  2. Benefits over GNOME - I'm looking forward to seeing how much out-of-box customizability and features come with COSMIC over GNOME (which I'm currently using).
  3. Maintainability going forward - Since the DE basically started from scratch and is using a much better language for robust software, I wonder how much easier and faster it would be to maintain the desktop environment. This potential improved maintainability could be huge in overtaking other DEs sometime soon.
[–] mrquantumoff@lemm.ee 4 points 2 years ago

I agree completely. I'm also thrilled for the HDR support in it.

[–] morrowind@lemmy.ml 0 points 2 years ago (1 children)

How is rust more memory efficient than c or c++?

[–] apt_install_coffee@lemmy.ml 6 points 2 years ago (1 children)

It's not, perhaps they meant memory-safe?

The DE might be more memory efficient given the hindsight and freedom a fresh slate brings, but not strictly due to rust.

[–] mmstick@lemmy.ml 8 points 2 years ago* (last edited 2 years ago) (2 children)

There's several things that make Rust more ideal for writing software that makes efficient use of resources than C or C++.

One of these is how cumbersome it is to use tagged unions in C/C++. They're integrated as a first class citizen in Rust in the form of enums, and both the standard library and all Rust projects as a whole utilize them extensively. An example would be the Cow<'a, T> type. The compiler also has some clever tricks like zero-sized types which can reduce the size of types which contain them.

On the surface, the borrowing and ownership model is useful for guaranteeing memory safety. Yet if you take that a step further, it's the perfect tool for finely optimizing resource usage with confidence. In comparison, defensive programming practices are the norm in C and C++ because resource management is risky. So applications written in Rust are more likely to be better optimized.

[–] open_world@lemmy.ml 5 points 2 years ago

And the GNOME project doesn't just use C/C++ right? It uses Javascript for developing all sorts of components and Python for scripting/misc utilties. That's what I meant by more memory-efficient.

[–] Nuuskis@sopuli.xyz 2 points 2 years ago (1 children)

Hey, do you have plans to open any communities into Lemmy?

[–] mmstick@lemmy.ml 3 points 2 years ago* (last edited 2 years ago) (1 children)
[–] russjr08@outpost.zeuslink.net 2 points 2 years ago

If the author of the community isn't responding, I believe you can pop a request over at https://lemmy.ml/c/community_requests to have it transferred to you.

[–] Spore@lemmy.ml 10 points 2 years ago* (last edited 2 years ago) (2 children)

I'm looking forward to it.

On the technical side, they are using pure Rust to build the DE, and the Rust GUI ecosystem has been greatly improved by their hard work. If their product turns out to be successful, Iced may eventually become "the Qt of Rust".

As a user I like their design shown in current demos, and a Wayland-first DE with first class nvidia support is really needed.

[–] lightrush@lemmy.ca 5 points 2 years ago

A new toolkit that's a genuine competitor of Qt would be nice indeed.

[–] mmstick@lemmy.ml 1 points 2 years ago* (last edited 2 years ago)

NVIDIA graphics is already well supported by cosmic-comp for those that want to give it a go on Pop!_OS. I'm typing from a laptop with NVIDIA hybrid graphics in the discrete graphics mode. Hybrid and integrated graphics modes are also working well. In addition to the iced library, slint is already a decent alternative to QML.

[–] Nuuskis@sopuli.xyz 9 points 2 years ago

System76 is doing huge leaps for Linux as a whole. They already offer the best bios on the market. I am keenly looking to buy their upcoming Virgo laptop when it's ready.

[–] FallingTrees@lemmy.world 5 points 2 years ago

Always happy with more choice as it's one of the main things that brought me to Linux many moons ago. Don't like the way your DE does things? Well then swap it out, wholesale or otherwise. Personally, Gnome aligns very well with the way I like to use my computers but I also love to see what the KDE devs are doing with Plasma so I'm always interested in seeing another fresh take. My only real concern is that a whole DE is a heck of a lot of work and requires significant resources that will get stretched thinner and thinner with each new feature and option and I'd say they'd need a fair amount of community buy-in to keep up with it all long term in an ever changing PC market.

[–] lightrush@lemmy.ca 4 points 2 years ago (1 children)

Skeptical. Writing a graphical UI toolkit is a freight train of work. I'm positively curious about anything that's not GTK but I'm not sure going with a new toolkit is the right decision. Qt is the mature kid on the block that's been proven in more environments than I can count. Moreover it's a complete application framework with a ton of convenience libraries needed for speedy development already included. I guess those can be supplanted in the form of separate Rust libs. Personally I'd have gone with Qt for such a project but I'd be happy to be proven wrong.

[–] kartonrealista@lemmy.world 2 points 2 years ago

This is coming from personal experience/opinion, but after trying to create a simple app in GTK4 Rust bindings I was so confused because of how alien the programming style was compared to typical Rust programming. After trying Iced it was much simpler and made so much more sense, no silly decorators or anything, you can define the view and the update loop separately, and interactions are handled by messages using pattern matching. The inheritance based OOP doesn't work well with Rust, and Iced has none of it, because it was made for Rust specifically.

I'm guessing QT bindings are similarly in a different style of programming and can't imagine that meshing well with native Rust code. Iced has a lot of merits to it and having the opportunity to both help it develop and use a native Rust framework in a Rust project makes a lot of sense.

[–] sin_free_for_00_days@lemmy.one 4 points 2 years ago (1 children)

I switched to tiling window managers a good 5 or so years ago and really can't imagine using any of the DE available. I know, I know, you can run xwm in yDE, but I've never seen the point.

[–] mmstick@lemmy.ml 3 points 2 years ago (1 children)

Tiling window management is one of the core focuses of the cosmic compositor. Taking what made pop-shell great and taking it to the next level. So you might be interested in it.

[–] sin_free_for_00_days@lemmy.one 1 points 2 years ago

I'll probably take a look at it. I haven't really changed my i3 setup in years though.

[–] Sailor_jets@sh.itjust.works 4 points 2 years ago

Eh, I've always went back to KDE in my years of distro hopping and stuff. I'll probably play with it for a while and then just return to my status quo.

[–] vanderbilt@beehaw.org 3 points 2 years ago (1 children)

I welcome new and innovative DEs. I am tired of how some organizations handle things. I must however, acknowledge that with every additional major DE comes further fragmentation. COSMIC seems to really care and for that reason I am rooting for them. The negative effects, however, are always in the back of my mind.

[–] worfamerryman@beehaw.org 0 points 2 years ago (1 children)

I don’t think DE really causes too much fragmentation.

Maybe I’m wrong, but I’ve never had something not run due to using cinnamon over kde.

Now, with flatpaks becoming more popular, programs should look the same across DEs. I know the design language will be different, but that’s basically how it is on Mac and windows already.

[–] vanderbilt@beehaw.org 2 points 2 years ago (1 children)

My perspective on fragmentation comes from that of a developer. It’s good that you’ve never had something not run due to DE choice, because we work hard to make sure that you can. It’s just hard to test all the different combinations and make sure they all work.

[–] worfamerryman@beehaw.org 1 points 2 years ago

Thanks for the insight. I didn’t consider that.

[–] JRepin@lemmy.ml 2 points 2 years ago (2 children)

A couple of months ago our company decided to standardise on only one GNU/Linux distro and they chose PopOS. While the default desktop is better then stocj GNOME it was still far away to what I am used from the powerful, featureful and customizable KDE Plasma so after about two weeks I switched to KDE Plasma (unfortunately they have an extremely old version in their repos, but still much better).

I can only guess that Cosmic will be on pair to their current improved GNOME but will still be way lacking compared to what even an old KDE Plasma offers. And I would also much more like to see if they put more attention to keeping more updated KDE Plasma and KDE software packages in their repo. Even for Cosmic I think they would be much better of basing it on the extremely flexible and configurable KDE Plasma base and make it a heavy modification of this.

[–] DaisyLee@lemmy.ml 1 points 2 years ago

There is a community KDE spin in the works, with a more up to date plasma experience. https://fosstodon.org/@pop_os_kde_spin

[–] chris@lemm.ee 0 points 2 years ago (1 children)

What do you prefer on KDE? I've only tried once and found it felt messy and overcomplicated compared to COSMIC. Maybe that's just the Mac user in me wanting fewer choices haha

[–] JRepin@lemmy.ml 0 points 2 years ago* (last edited 2 years ago)

Basically how much more features it has and you miss in any other desktop. Especially in macOS, which we were forced to use at old company, I struggled with missing stuff and utterly stupid window manager. Yeah KWin window manager is especially nice in KDE Plasma. But also how much it has this LEGO-bricks like way of creating the desktop itself. All the desktop is basically constructed from small widgets and small widget containers which can behave in a very different way. So widgets (Plasmoids) are not only an addon to add to the wallpaper, they actually build up the entire desktop. And by this you can really make the desktop behave very close to what every individual person wants. Sure there are some presets that can emulate Windows or GNOME or macOS desktop, but yeah you can reconstruct that and have it your way. The similar story is there also with the apps GNOME/GTK versions usually just are to limited in functionality as far as my taste goes and I end up missing way too many.

P.S. I remembered another thing. Despite having more features and all KDE Plasma is also performing faster and is using less resources on the computers. So just another thing I like more.

[–] ForbiddenRoot@lemmy.ml 2 points 2 years ago

Personally, I would have preferred if they would have embraced KDE instead and dedicated resources to improve KDE even further. KDE is pretty darn good already, especially over the last year or so with all the bugfixes and feature improvements.

In any case I am happy System76 is moving away from Gnome at least, and coming up with a full-featured DE of their own rather than having to maintain hacky extensions on top of Gnome to make it usable. As a bonus, the Iced toolkit should see improvements and perhaps become the goto toolkit for Rust GUI development.

[–] ItsPlasmaSir@lemmy.ml 1 points 2 years ago* (last edited 2 years ago) (1 children)

I'm excited for Cosmic, but not because I'm interested in trying it, rather that I want see how their toolkit does. They've done a good job on their Gnome fork so I trust they know what a good desktop looks like.

I really want to see Iced in action because of how it could compare to the current state of GTK.

It has been a little over 2 years since GTK 4 released to positive reception and no one else has ported to GTK 4 yet. Even worse, only Pantheon is actually working on a port, and the other GTK-based DEs, XFCE included, don't have plans to port to GTK 4 yet. Given the lacking pace of this transition and System76's decision to forego a port at all, instead developing their own solution, makes me worried that GTK 4 is either much more difficult to port to than Gnome let on, or that GTK 4 has broken something so essential to these DEs that they don't want to put development time into a port at all.

Given this state, I'm curious to see how this plays out because it could decide if other DEs stick with GTK or choose to adopt something else, like how LXDE was discontinued in favor of replacing it with LXQt.

Edit: Fixed a couple typos

[–] KindaABigDyl@fosstodon.org 1 points 2 years ago* (last edited 2 years ago)

@ItsPlasmaSir @DaisyLee
I don't have any doubt about the Iced framework.
Having worked with it personally, I can say it is 10x more clear what's going on once you have lots of code than something like Gtk. Like Rust itself, it just feels good to program in, and the final product is so much easier to maintain bc good practices like separation of application state from the view code are built into the design.
If people like to program in it, you'll get more apps and more support. It's that simple

[–] NeonRaspberry@lemmy.ml 1 points 2 years ago (1 children)

I'm excited to see it, not to use it. I'm much happier with GNOME or Sway on Fedora. Unless they provide a way to use it on other distros (which I don't see happening, since they have no reason to), I don't plan on trying it. However, I am excited to see the Rust GUI situation improve by them using it!

[–] priapus@lemmy.one 3 points 2 years ago

I don't see why it wouldn't be available to use on other distros. The current Cosmic Shell can be installed on any. Even if they don't maintain the package for each distro, someone else will.

[–] macias@lemmy.ml 1 points 2 years ago (1 children)

My main gripe with most Linux DEs is inconsistent UI and lacking app ecosystem. For now, only GNOME is addressing these issues with GNOME Circle (I already like and use apps like Spot, Paper, Amberol, Warp, and others) while having a good-looking UI. Also, GNOME is the only DE with usable trackpad gestures. If COSMIC is going to use GTK4 for UI and implement trackpad gestures similar to these found in macOS or GNOME, it would be probably my main DE.

[–] mmstick@lemmy.ml 2 points 2 years ago* (last edited 2 years ago)

COSMIC is not using GTK. It has its own design language and toolkit built around the iced Rust library.

Gestures are a planned feature for cosmic-comp.

[–] planet_barf@beehaw.org 1 points 2 years ago (1 children)

I feel mixed. The shift towards COSMIC DE got me off of POP_OS. I wanted the newer Gnome features, and that stopped being their focus. I don't wanna wait 2-3 years for a great DE when I already know I like Gnome. I switched to Fedora and use Pop Shell, and am really happy with my OS now. I also felt like the public shade between Gnome devs and S76 devs was tacky. With that said, I bet Cosmic is going to be great eventually. It'll be great to have DE in the ecosystem with a focus on performance, UI, customizability, and actually looking good. Even if I don't use it, I bet it'll push the other big DEs to get better. Friendly competition is good. Also, it's ridiculous that you have to go with a WM to get tiling, and that it's not easier to get in Gnome. Real glad Pop Shell is still available, but I don't think anyone's maintaining it so it can't last.

[–] carlwgeorge@beehaw.org 1 points 2 years ago

Howdy, I'm the maintainer of the gnome-shell-extension-pop-shell Fedora package, which is likely how you installed it on Fedora since it's not available from extensions.gnome.org. I'm glad you're finding it useful.

The pop-shell upstream is still being maintained by System76 engineers. Development work has slowed down since they started working on COSMIC DE, but they're still fixing bugs and reviewing/merging contributions. When COSMIC DE was announced I asked them how long they would keep maintaining their GNOME extensions, and they said at least until the end of life of the PopOS versions the extensions are shipped in. So pop-shell has still got some life left in it, even for a few years after COSMIC DE becomes their default in a new release.

[–] daemonspudguy@lemmy.fmhy.ml 0 points 2 years ago

Rust is badass, GNOME is currently led by a group whose main activity has been to try to ruin the project as much as possible, and more desktop environments are always welcome in my book.

[–] moss@lemmy.world 0 points 2 years ago

At first I was excited, not because of the desktop environment itself, but rather because of the headache pain points in gnome and KDE that it sought to fix. Things like fractional scaling and native HDR support as well as being built around Wayland all played to cosmics benefit. Unfortunately for cosmic, however, KDE has really improved quite drastically this past year and fixed pretty much every pain point I had with it. They seem to be shaping up to blow cosmic out of the water before it even arrives with plasma six. Gnome is doing gnome and by that I mean they fucked off and are doing their own stupid thing. I hope cosmic does well, but it would have to be the third coming of Jesus Christ to get me to switch again

[–] ballogh@sh.itjust.works 0 points 2 years ago

They lack manpower so I don't think it will change anything.

[–] RandomVanGloboii@feddit.it 0 points 2 years ago (1 children)

Just a clarification - it is based on GTK, right?

[–] DaisyLee@lemmy.ml 1 points 2 years ago

No, the new COSMIC will be built on rust and iced

load more comments
view more: next ›