zlacker

[parent] [thread] 2 comments
1. xyc+(OP)[view] [source] 2024-08-27 19:10:40
VS Code vs XCode situation is an exact counter example of this. Non-optimized native apps could be that much slower than well optimized Electron apps.
replies(1): >>Pet_An+rf
2. Pet_An+rf[view] [source] 2024-08-27 20:25:15
>>xyc+(OP)
That's not an apt comparison because it could be the non-UI portion of that. VS Code would be even faster if it was a native app.
replies(1): >>xyc+dH
◧◩
3. xyc+dH[view] [source] [discussion] 2024-08-27 23:15:07
>>Pet_An+rf
Not really. VS Code does have some performance optimizations where even the web browser optimization wouldn't suffice, for example it implements its own scroll bar instead of using the web native scroll bar. But for the most part the browser render optimizations is the crucial factor. After years of optimization you can't easily beat a web browser.

Native app is just another set of layers of abstractions. As a comparison, SwiftUI doesn't render 500 items quickly enough (https://www.reddit.com/r/swift/comments/18dlgv0/improving_pe...), which is a tiny number for web.

[go to top]