[0] https://phoronix.com/scan.php?page=news_item&px=GNOME-Shell-...
Also, rust's "fearless refactoring" paradigm enables for incremental optimization which i've found much harder to deal with in other programming languages. I think that's a point worth considering for a big piece of engineering like a desktop environment.
EDIT: Also memory bugs are not just "memory leaks". There's plenty of subtle bugs introduced by off-by-one errors and undefined behavior. Just because memory usage doesn't rise unexpectedly doesn't mean software is working as intending. I don't know about you but i personally have had weird bugs with all desktops i've tried so far.
Arc<> does exist though, and is used quite extensively in the rust ecosystem.
Am i missing something?
Disclaimer: i'm not a good programmer, nor a low-level programmer; i use Rust as a faster/safer python-like high-level scripting language
MATE: https://github.com/search?q=org%3Amate-desktop+%22memory+lea... (265 results)
KDE: https://bugs.kde.org/buglist.cgi?quicksearch=%22memory%20lea... (97 results)
That's just for the ones we found. I would be curious to run a full DE through valgrind :)
EDIT: Anecdotal datapoint ahead: i just had to kill atril (MATE PDF viewer) on a machine where it was eating 6GB RAM after running for a few days.