logoalt Hacker News

Ericson2314today at 5:00 AM2 repliesview on HN

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!


Replies

wongoguetoday at 6:20 AM

There are more. Jay, cosmic and even xfce is writing their new compositor in Rust.

show 1 reply
thereintoday at 5:12 AM

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.