News for hackers. Stuff that matters.
Re:Fast Machines, Slow Machines by moffkalast on Wednesday June 28, 2023 @11:12AM (#36507650)
Somehow VS Code manages to run Electron and loads in roughly the same amount of time as Sublime Text needs that's compiled into a native binary.

Maybe Tauri will make things better in the long run, but so far I haven't heard of any adoption at all.

Re:Fast Machines, Slow Machines by nickpeterson on Wednesday June 28, 2023 @11:24AM (#36507847)
I think you’re saying that decades of r&d by the largest tech companies in the world can eventually produce a browser runtime that renders text about as fast as a couple people working in python and C.
Re:Fast Machines, Slow Machines by mike_hock on Wednesday June 28, 2023 @01:27PM (#36509666)
Imagine what could have been achieved had the same amount of R&D been poured into a native framework.
Re:Fast Machines, Slow Machines by mrguyorama on Wednesday June 28, 2023 @03:06PM (#36511053)
"But that's haaaarddddddd for me as a lazy software developer who went to college and learned complex algorithms and calculus and physics and chemistry just because but can't seem to handle a few #ifdefs because they aren't in vogue anymore"

Except our organization builds python and java apps so all our shit is multiplatform by default or even by accident. Hell, I put together consistent, cross platform Swing UIs before I even understood what maven was.

Re:Fast Machines, Slow Machines by twobitshifter on Wednesday June 28, 2023 @05:41PM (#36513010)
But it’s not a native framework it’s 5 or 6 native frameworks splitting the energy between them.
Re:Fast Machines, Slow Machines by qorrect on Wednesday June 28, 2023 @11:25AM (#36507856)
VS Code does not feel slow to me , how are they getting such good performance ?
Re:Fast Machines, Slow Machines by retrac on Wednesday June 28, 2023 @11:28AM (#36507895)
With the 10 billion instructions per second the machine you're probably running it on, can chew through.

I ran VS Code on a 12 year old Atom netbook recently. It runs. It's even usable. But it pegs the CPU at 30% when idle.

Re:Fast Machines, Slow Machines by Ataraxic on Wednesday June 28, 2023 @12:51PM (#36509135)
I kinda disagree with this. I have definitely noticed that my cursor can be slow to respond when some linting/formatting (I can't quite tell what is causing it, I just notice it) is going on. Totally usable, but I'm also coming from emacs and it's not like emacs is known to be blazing fast so I actually think my experience is sort of inline with the article's point.

Despite or because of emacs being older, it's more responsive than vscode in my usage.

Re:Fast Machines, Slow Machines by ihattendorf on Wednesday June 28, 2023 @12:53PM (#36509160)
They care about and test for performance issues/regressions.

https://github.com/microsoft/vscode/issues?q=is%3Aissue+labe...

Re:Fast Machines, Slow Machines by fredrikholm on Wednesday June 28, 2023 @03:55PM (#36511718)
Have you ever used Sublime or Vim?

Vscode is fast compared to most modern editors, but it's still twice as slow as Sublime in terms of input latency, UI responsiveness, text coloring etc.

An hour with Sublime/Vim followed by going back to Vscode is a painful experience...