mmstick

joined 1 year ago
MODERATOR OF
[–] mmstick@lemmy.world 1 points 1 month ago

Not ready to release yet

[–] mmstick@lemmy.world 2 points 2 months ago* (last edited 2 months ago)

Wayland compositors use IPC over a UNIX socket to communicate with Wayland clients. To increase security and enable sandboxed applet support, COSMIC applets use the security-context protocol for their IPC connection to the compositor. To be an applet, COSMIC applications use the layer-shell protocol to behave as an applet. Neither of which were made for COSMIC. Some other Wayland compositors support these protocols. You can see which compositors support the protocols at the bottom of the wayland.app protocol pages.

[–] mmstick@lemmy.world 3 points 2 months ago* (last edited 2 months ago)

In practice, because Rust libraries are always statically-linked, the MPL-2.0 is equivalent to the LGPL in spirit. Meanwhile, because of the static linking restrictions in the LGPL, the LGPL is effectively no different from the GPL. Hence, you're going to find a lot of open source copyleft projects from the Rust ecosystem preferring either GPL or MPL-2.0, where MPL-2.0 is used in libraries where LGPL would have used previously in C projects. Dynamic linking is essentially going the way of the Dodo.

[–] mmstick@lemmy.world 2 points 2 months ago* (last edited 2 months ago)

The Linux kernel already allows proprietary modules via DKMS, and a handful of vendors have been using this for decades, so this is no different. Case in point: NVIDIA driver, and Android vendor drivers.

[–] mmstick@lemmy.world 4 points 2 months ago* (last edited 2 months ago) (2 children)

All source code in Rust is statically-linked when compiled, which thereby renders the LGPL no different from the GPL in practice. For Rust, the MPL-2.0 is a better license because it does not have the linking restriction.

[–] mmstick@lemmy.world 5 points 2 months ago

Niri is also based on the smithay library we use for COSMIC, so there's some collaborative work between COSMIC and Niri on Smithay.

[–] mmstick@lemmy.world 6 points 2 months ago (2 children)

applets live in their own process and communicate via Wayland protocols (behind a COSMIC API)

Even better. A COSMIC API was not necessary since Wayland protocols already exist for this (layer-shell and security-context).

[–] mmstick@lemmy.world 3 points 2 months ago

It already is available. See the links on the COSMIC webpage: https://system76.com/cosmic

[–] mmstick@lemmy.world 22 points 2 months ago (2 children)

No, we won't be spending any development time on porting all of the patches in 22.04 to 24.04. GNOME is done.

[–] mmstick@lemmy.world 14 points 2 months ago* (last edited 2 months ago)

You should stop using Linux then. The Linux kernel, along with many open source software, is developed and sponsored by for-profit organizations. Either directly or indirectly. Without them, open source wouldn't be able to thrive.

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

I'd recommend spending some time reading about it. It's not as hard as he thinks. Applications developed for Linux are quite easy to port to Redox. It supports many of the same system calls and has a compatible libc implementation. The kernel does have abstractions to ease the porting process. And if you're going to make a new kernel today, you should do it right and make a microkernel like Redox. One of the benefits of having a microkernel is that it doesn't matter what language you write drivers in. They're isolated to their own processes. Rust, C, C++, whatever.

[–] mmstick@lemmy.world 1 points 2 months ago (1 children)

It does work like this, but as with justice, the wheels can be slow at times.

 
159
COSMUnity (lemmy.world)
 

It will be possible to configure COSMIC to look like Unity out of the box. There's only a few panel applets that need to be implemented to make the experience 1:1.

view more: next ›