News for hackers. Stuff that matters.
Re:How VSCode made bracket pair colorization 10,000x faster by fragmede on Thursday June 22, 2023 @12:05PM (#36434304)
What CPU do you have? Because even though VSCode is "just" a text editor, I've found it's relatively demanding. A Core 2 Duo, which is admittedly a little old, but which does absolutely fine with vim, is slow to the point of being unusable with VSCode.
Re:How VSCode made bracket pair colorization 10,000x faster by bick_nyers on Thursday June 22, 2023 @12:27PM (#36434614)
I think unfortunately a CPU from 2008 just isn't gonna cut it here. Single thread benchmarks core for core have risen about 4x since then, average core counts have risen 4x, and L3 caches were added. Probably SIMD instructions are a consideration here as well.

That being said I'm a huge fan of prioritizing longevity of computer parts versus constantly upgrading and generating e-waste.

Re:How VSCode made bracket pair colorization 10,000x faster by wenc on Thursday June 22, 2023 @12:21PM (#36434522)
I used to run vim and VS Code on a Core 2 Duo from 2005. Vim is a lot faster but VS Code is so much more powerful — it’s a full featured IDE. It’s not a quick and dirty text editor like Kate. It’s not meant to be that. I still use vim to edit config files but for everything else I use VS Code.

I’ve since upgraded to a 2014 i7 and now VS Code feels fast.

Re:How VSCode made bracket pair colorization 10,000x faster by CalChris on Thursday June 22, 2023 @12:56PM (#36435177)
I use VSCode NeoVim and clangd. This has gotten so good, although command mode took awhile, that I rarely need to use a terminal vim.
Re:How VSCode made bracket pair colorization 10,000x faster by ColonelPhantom on Saturday June 24, 2023 @06:07AM (#36457268)
Kate is not a "quick and dirty text editor" either? Kate has session and project support (admittedly a bit more clunky than VSCode, but it works), good LSP support, decent built-in search, GDB integration, a built-in terminal, Git integration, etc. Sure, it may be less polished than VSCode in some of these aspects, but they're there and mostly just work.
Re:How VSCode made bracket pair colorization 10,000x faster by vbezhenar on Thursday June 22, 2023 @01:02PM (#36435280)
Apple M1 Max.

I understand that everyone's situation is different, but I live in a poor country, making like $2k/month and still consider investments into my computer worthwhile, so I never tried to save money on it. This is american website, so most people here surely can afford fast computer for their work.

Re:How VSCode made bracket pair colorization 10,000x faster by zenapollo on Thursday June 22, 2023 @01:28PM (#36435672)
I’ll bet a lot of this whole argument is just windows v mac. VS code is snappy on Mac, much less so on my windows machine.