3 ms·
Do such issues exist in popular desktop GUI frameworks?
by eviks 3y ago
Do such issues exist in popular desktop GUI frameworks?
- julik 3y agoJudging by the fact that apps in iOS that are produced by Apple itself have races with resizing menus when you rotate the device the answer is a resounding "yes".
- seanmcdirmid 3y agoYes on Android also.
- eviks 3y agothanks, but that's why I mentioned desktop, was curious whether they still retain this type of fundamental fail despite "decades of improvements", it's much less of surprise re. the web/mobile
- jkaptur 3y agoYes. There's nothing particularly magical about any UI framework. They all have to deal with the fundamental fact that UIs are enormously stateful, the state is a function of approximately everything the user has ever done, various inputs arrive asynchronously and unpredictably, responsiveness SLOs are in the 10ms range, and the hardware is generally diverse and off-site.
- giovannibonetti 3y agoThis reminds me of Evan Czaplicki's PhD Thesis [1] on how concurrent functional reactive programming (FRP) can be used to solve most (if not all) of those challenges with little effort from the application developer. [1] https://elm-lang.org/assets/papers/concurrent-frp.pdf https://elm-lang.org/assets/papers/concurrent-frp.pdf