Hacker News new | ask | show | jobs
by nojvek 3354 days ago
Sublime uses skia as its rendering library, which is what blink (chromium frontend) uses for rendering. May be electron can provide a nicer api to interface directly with skia.

By giving performant lower level access to render, may be VSC can move some of the perf sensitive code directly to compiled optimized binaries.

Sort of like what node native libraries do.

Sublime does some pretty great dark magic. I was impressed to see vscode approach similar speeds to sublime in search. I believe there is plenty that can be done to make rendering fast, reduce memory consumption and make it a bit light weight. But it would require access to metal APIs

1 comments

VSCode's plugin model is pretty impressive and tends to isolate the side effects of poorly performing plugins (including language/autocomplete, etc)... so that the main editor tends to be responsive. There should be room to tweak, but I'm pretty happy overall. Way better experience than any full IDE I've tried... I only hope they keep it that way as features come in.

Also, as an Electron app, there is a node element, so compiled components are already an option.