top | item 46820698

(no title)

Ericson2314 | 1 month ago

My favorite part about Niri is that a bunch of people said that writing a Wayland compositor in Rust was too hard to do for years. Turns out they're wrong!

discuss

order

yencabulator|25 days ago

I wish Smithay was actually in Rust and not a wrapper for the C libraries, though.

Playing with client-side Wayland programming, wayrs is a lot nicer to deal with than the C library wrappers.

https://github.com/MaxVerevkin/wayrs

therein|1 month ago

I haven't checked the repo but just carefully use unsafe as an escape hatch when needed and Rust gets out of your way. Sure you give away some of the guarantees that some people get cultish about but you get to tap into a beautiful ecosystem and reap the benefits.