4 ms·
Non-native apps can be as performant as native ones. I imagine they checked alternatives to Electron and figured a native app would allow them to have better OS
by Vesuvium 7y ago
Non-native apps can be as performant as native ones. I imagine they checked alternatives to Electron and figured a native app would allow them to have better OS integration.
- buzzerbetrayed 7y ago> Non-native apps can be as performant as native ones This may be true. However, Electron apps cannot be as performant as native apps can be, which seems to be what they are getting at.
- monocasa 7y agoVscode does a pretty damn good job.
- solarkraft 7y agoVSCode really stands out to me among Electron apps, which is why I would be really interested in a write up about what they are doing to get it so performant (I think Rust is a part of the answer). Of course you can write terribly performing code on all platforms, but certainly some make it easier and/or have their own performance requirements.
- monocasa 7y agoPart of it I think is the super text heavy use case. Unlike slack for isntance that'll have N 30MB gifs (probably multiple copies of each too) in memory at any given point.
- filleduchaos 7y agoAnd still doesn't come close.
- monocasa 7y agoIt's pretty damn close if you compare it to native apps with the same feature set.
- st3fan 7y agoIt has smoother scrolling than most native editors :-/
- filleduchaos 7y agoSmoother scrolling than most native editors like?
- dewey 7y agoHave you tried pasting a very long line or huge file into VSCode? I always have Sublime open for these cases where I need to look at a huge JSON file as VSCode just crashes or becomes unusable.
- monocasa 7y agoI use it with 1.5M line files pretty regularly.
- jamil7 7y agoAnd with all the resources of Microsoft behind it still can't compete with something like sublime on performance. I know it makes up for it in other areas like extensibility but I wouldn't describe VSCode as particularly performant.
- Vesuvium 7y agoI didn't say "may". I said they can because I took care to look at their benchmarks. https://szibele.com/memory-footprint-of-gui-toolkits/chart.svg https://szibele.com/memory-footprint-of-gui-toolkits/chart.s...