3 ms·
> Qt is much faster than other UI technologies, but it’s far from being as performant as native solutions are. What does it feels like to spit random beliefs o
by SemanticStrengh 4y ago
> Qt is much faster than other UI technologies, but it’s far from being as performant as native solutions are.
What does it feels like to spit random beliefs out of your hat and state them as truth?
Native doesn't even mean anything, there really is something wrong going on on the mental models people have when talking about GUIs.
IIRC QT use GDI+ on Windows for drawing 2D GUIs, which is mostly CPU based.
And its shows in many tasks, see e.g. the strokePoly40 https://blend2d.com/performance.html https://blend2d.com/performance.html
Chromium use Skia and gecko use webrender, those are much much much faster on average. In fact the web has more FPS than native libraries in general.
- bsnal 4y agoYou conveniently forget about the DOM, for example
- SemanticStrengh 4y agoI'm not seeing why the DOM would necessarily makes rendering slower. See e.g. this comparison showing react web being faster and more energy efficient than react-native. https://ionicframework.com/blog/ionic-vs-react-native-performance-comparison/ https://ionicframework.com/blog/ionic-vs-react-native-perfor... It's true that pathological DOM dynamism might incur some cache/layout invalidations, however if that were to be an issue (which is very rare and profiling is easy), you could mostly eliminate the problem with a few lines of https://developer.mozilla.org/en-US/docs/Web/CSS/contain https://developer.mozilla.org/en-US/docs/Web/CSS/contain