3 ms·
I'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
by FridgeSeal 8y ago
I'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++".