5 ms·
Yep, if you can even compare Electron to Qt. Electron is just a buggy ill-conceived hack to wrap a browser with nodejs to make webpages. All it provides is a bl
by remoroid 8y ago
Yep, if you can even compare Electron to Qt. Electron is just a buggy ill-conceived hack to wrap a browser with nodejs to make webpages. All it provides is a blank window with no customisation and a huge size and memory overhead.
- ralusek 8y agoVSCode, Figma.
- FridgeSeal 8y agoI've never heard of Figma, but the reason VSCode is as good as it is now is because it's has had increasing parts of it being re-written in C or C++ along with other extensive performance modifications to the electron runtime by the vscode team.
- dabber 8y ago> the reason VSCode is as good as it is now is because it's has had increasing parts of it being re-written in C or C++ Is that true? I've heard that said before but I've also heard that's not true. I haven't been able to find anything indicating any parts of it are written in C/C++ either. The GitHub repo for VScode doesn't have any C in it; infact it doesn't have much but JS/TS: https://github.com/Microsoft/vscode https://github.com/Microsoft/vscode
- chx 8y agoI do not know vscode but Atom's C++ parts are in a separate repo https://github.com/atom/superstring https://github.com/atom/superstring
- systems 8y agonot always true, sometimes they use better data structures https://code.visualstudio.com/blogs/2018/03/23/text-buffer-reimplementation https://code.visualstudio.com/blogs/2018/03/23/text-buffer-r...
- dabber 8y agoThat's a really interesting link; thanks.
- Matthias247 8y agoI agree. Afaik the core of the editor logic in VsCode is all typescript. There are some native parts, like obviously electron. And I think the find-in-files function uses ripgrep, which is written in rust. But that's a far stretch from "increasing parts of it being re-written in C or C++".
- deleted 8y ago[deleted]
- dilap 8y agoI hate the slowness and bloat and entire ideology behind electron, BUT...electron apps do a pretty decent job of feeling native on the platform. Something I've never seen a Qt app do. Would love a counter-example, if you've got one. I'm on a mac.
- ahartmetz 8y agoIt's only a problem on Mac. Windows native apps all look different anyway and Qt is native on Linux.
- zx2c4 8y agoI can't think of a Qt app that looked odd on macOS. I've developed quite a few pieces of software in Qt for the mac, and they all perfectly use the OS's styles and colors.
- dilap 8y agoIs any of the software publically available? I will critique it.
- therockhead 8y agoI know Viber is written in QT, it does not look native on macOS.
- remoroid 8y agoI wouldn't know, dont have a mac. But VLC is my best guess at polished software that should look good on mac. If it doesnt... ;/