RE:Writing a wayland compositor

Long story short, I've taken interest in writing a wayland compositor in Rust via smithay, but documentation is not-newbie friendly.

Additional details:

Reading the docs so far, I can see it caters developers who already know a lot or have experienced working with wayland already, more than being a how-to tutorial. So I've thought of reading an almost a decade-old blogs from Drew DeVault ( An introduction to Wayland, Writing a Wayland Compositor, Part 1: Hello wlroots) to learn more how it works, and essentially apply it in Rust, and just have AI translate C stuff to rust equivalent (still having hard time reading the syntax).

Just wanna do some sanity check if it's still a good reading material or are there better and updated materials for this. Better not pick up bad habits along the way.

I would suggest that you don't need to translate any of it, because the Rust version already exists in form f smallvil in smithay's own repo and is essentially tinywl-but-smithay, and what I would say anvil is next to it as the full version that what I feel. Please try those two instead — and I would say do depend on smithay by git rather than crates.io, and smallvil, nir, anvil and cosmic-comp are all focused against master, hope this helps to give you some direction , cheers !