[-] LeFantome@programming.dev 4 points 1 year ago

Rust is generally not going to outperform well optimized C code.

That said, it is far easier to write performant Rust code than C code. So, what we see, is that projects that move to Rust frequently see performance gains.

That just means the initial C code was not that great (performance wise). From observation, most C projects are fairly unoptimized.

[-] LeFantome@programming.dev 4 points 2 years ago

I doubt Greg is pulling in Rust until it has been through the mainline. That said, Linus can merge anything he wants.

[-] LeFantome@programming.dev 4 points 2 years ago

We sound like we have almost identical experiences. Except, while I do have some Debian kicking around, I just love Arch and the AUR. But I mostly use EndeavourOS ( Arch for people who don’t have time for this shit ).

[-] LeFantome@programming.dev 4 points 2 years ago

Just out of curiosity, what distro do you use?

Or maybe, despite the question, you use BSD? ( which is cool if so )

[-] LeFantome@programming.dev 4 points 2 years ago* (last edited 2 years ago)

The text you quote literally appears under the heading “Apple Platforms”. Gee, why don’t they mention anybody else in the Apple section?

Immediately below that, there is a cross-platform section where they say “SwiftArgumentParser and Swift's growing package ecosystem make developing cross-platform command-line tools a breeze.”

So, at worst, it sounds like the main Swift project may leave you to heft some of the GUI load yourself. Except 99% of what Ladybird does is under the hood processing that creates bitmaps for display. There is hardly any GUI really. Plus, Swift offers C++ interop.

Ladybird stems from SerenityOS where they write everything themselves. They have their own networking, GUI libraries, and crypto. Since splitting, they have adopted font rendering and media libraries from other projects ( largely available as C code I believe ).

Swift is cross-platform in all the ways the Ladybird gang needs it to be. It uses LLVM ( very cross-platform ) and the Swift compiler is meant to be cross-platform. All that will evolve and improve independent of Ladybird itself. The Ladybird team does not need many libraries from the Swift ecosystem. What they will need is pretty basic and fundamental.

Think back to Rust and Mozilla. When Mozilla rewrote the CSS parser in Rust, how much GUI rework was required? None? The CSS parser fell into the space defined by “command-line tools”.

[-] LeFantome@programming.dev 4 points 2 years ago

If you want to run a single Wayland application, use Cage: https://github.com/cage-kiosk/cage

I would expect cage to be smaller than an X11 server.

MPV should work fine with Wayland and Pipewire.

https://www.phoronix.com/forums/forum/software/desktop-linux/1357040-mpv-0-35-media-player-released-with-pipewire-backend-wayland-dma-buf-support

[-] LeFantome@programming.dev 4 points 2 years ago

Great question. It is based on Wine 9 and so, I expect, it has experimental Wayland support that is not enabled by default.

https://www.omgubuntu.co.uk/2024/01/wine-9-0-released-with-new-wow64-mode-experimental-wayland-driver/amp

[-] LeFantome@programming.dev 4 points 2 years ago

There are a million Arch derivatives. I think we are ok.

EOS is my favourite though.

[-] LeFantome@programming.dev 4 points 2 years ago

I hope it works for you forever. I am not going to get in an argument with the other Manjaro users here that will come to argue with you.

Just keep in mind that most of the people warning you away from Manjaro have a story that basically sums up as “I used to love Manjaro until, one day, it totally broke on me. Now I won’t touch it.” Sadly, this includes me. Will you join us one day? I hope not.

[-] LeFantome@programming.dev 4 points 3 years ago* (last edited 3 years ago)

Wayland is basically the graphics system. Technically, Wayland is just the protocol and a “compositor” that implements Wayland acts as the display server—the thing that draws and manages the application windows on your screen.

Wayland replaces X11 ( the X Window System ), if you know what that is.

[-] LeFantome@programming.dev 4 points 3 years ago

It is a Mastadon alternative where Mastadon is a Twitter ( X ) alternative.

Kbin is a Lemmy alternative where Lemmy is a Reddit alternative.

view more: ‹ prev next ›

LeFantome

0 post score
0 comment score
joined 3 years ago