logoalt Hacker News

sunnypsyesterday at 9:42 PM2 repliesview on HN

But apps shouldn't be able to hammer WindowServer in the first place. If your app is misbehaving, your app should hang, not the OS window compositor!

FWIU there's really no backpressure mechanism for apps delegating compositing (via CoreAnimation / CALayers) to WindowServer which is the real problem IMO.


Replies

steve1977today at 6:39 AM

And I could imagine SwiftUI only makes this worse, because it's quite easy to trigger tons of unnecessary redraws.

saagarjhatoday at 9:03 AM

People don't really like apps that stutter.