News for hackers. Stuff that matters.
Re:Sublime Text 3 dev build 3128 released by coldtea on Wednesday April 12, 2017 @07:31AM (#14096646)
You'd be surprised. I'm tempted to go to the VSC side from time to time because of the more polish -- it's the speed that brings me back.
Re:Sublime Text 3 dev build 3128 released by sundvor on Wednesday April 12, 2017 @09:00AM (#14097180)
I'm between VS17 with Resharper and Ncrunch, VSC, and Sublime Text myself. (VS17 for all my .net stuff, which picked up about 16 months ago). Even with a 4.2ghz 6 core CPU/32/NVME, the formers are slow compared to ST. Sublime is just so instantaneous it never gets old.

Yet VSC is like a polished machine with so much weight behind, it's almost a wonder ST3 can stand up to it. That's why I'd like the 3.0 release to be official.

(Fwiw I used Textpad for over 15 years before finding ST. Compared to Eclipse etc that was another speed demon).

Re:Sublime Text 3 dev build 3128 released by etatoby on Wednesday April 12, 2017 @08:21AM (#14096898)
You'd t think with their big team and resources, they would have been able to use a more performant cross platform toolkit, say Qt or maybe some of their .Net stuff.

Why did they choose to base their editor on Electron, of all things, especially considering the existing results of Atom (horrible) is beyond me.

Re:Sublime Text 3 dev build 3128 released by merdreubu on Wednesday April 12, 2017 @09:22AM (#14097367)
I think the development of VS Code was kind of an accident. They built Monaco (the editor component) for Visual Studio Online, then made it a standalone text editor as a side project and it ended taking off big time.
Re:Sublime Text 3 dev build 3128 released by nojvek on Wednesday April 12, 2017 @10:41AM (#14098094)
I'd rather have VSC team have members working on making underlying electron API'S faster. Get it to speed of sublime.
Re:Sublime Text 3 dev build 3128 released by tracker1 on Wednesday April 12, 2017 @05:06PM (#14101748)
If you compare it to the likes of Brackets and Atom, it was significantly faster than the others at release... I'm not sure what can be done to make significant performance gains... I mean being able to even handle large files (disabling any highlighting/autocomplete, and only displaying portion of the file may be necessary)... as it is, for most of what I've used it for vsc is great.

Electron is essentially Node grafted to Chromium... There are a few things that could be done, but would depend on a lot of upstream cooperation to do so.

Re:Sublime Text 3 dev build 3128 released by nojvek on Thursday April 13, 2017 @10:53PM (#14112426)
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

Re:Sublime Text 3 dev build 3128 released by tracker1 on Sunday April 16, 2017 @03:45PM (#14127157)
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.

Re:Sublime Text 3 dev build 3128 released by Philipp__ on Wednesday April 12, 2017 @08:25AM (#14096926)
They went that way because of TypeScript I suppose. And in the end VSC is great marketing for successful open source JS/TS project.
Re:Sublime Text 3 dev build 3128 released by geodel on Wednesday April 12, 2017 @08:54AM (#14097137)
It is an example that all the gazillion dollars and huge number of s/w engineers will not automatically do the right thing just because it is right. Most likely they will hop on the bandwagon, add cool words to their quickly concocted webapp masquerading as powerful editor.

In addition 1M+ plugins, open-source, cross-platform etc will keep cool kids not just happy but they will also aggressively challenge whoever is using old but efficient software products.

Re:Sublime Text 3 dev build 3128 released by camhenlin on Wednesday April 12, 2017 @11:36AM (#14098687)
I agree - you can pry sublime text from my cold, dead hands. VSC/Atom/whatever is way too slow for every day use
Re:Sublime Text 3 dev build 3128 released by rhodysurf on Wednesday April 12, 2017 @09:15AM (#14097307)
I tried to switch to VSC the other day but its insane. I have a Surface Pro 3 and it was so slow to edit an 80 line Golang file (With the go plugin). I just cant use a text editor like that to get anything done. Like scrolling lagged, keystrokes lagged. Meanwhile with Sublime and GoSublime on the same laptop there is zero lag.