News for hackers. Stuff that matters.
Re:Fast Machines, Slow Machines by retrac on Wednesday June 28, 2023 @10:40AM (#36507142)
Electron apps may be mocked, but they're not avoided by most. VS Code is probably the #1 programmer's editor these days.
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...

Re:Fast Machines, Slow Machines by c_crank on Wednesday June 28, 2023 @03:11PM (#36511135)
On Windows, what other options do you really have?
Re:Fast Machines, Slow Machines by hinkley on Wednesday June 28, 2023 @04:25PM (#36512082)
Webstorm
Re:Fast Machines, Slow Machines by Teckla on Wednesday June 28, 2023 @04:25PM (#36512083)
It's not really a 100% replacement for all of VS Code's features, but there is a pretty big overlap in functionality that may meet most people's requirements: Notepad++
Re:Fast Machines, Slow Machines by BlueTemplar on Wednesday June 28, 2023 @04:35PM (#36512225)
Notepad++ ?

Various language-specific IDEs like Spyder ?

Re:Fast Machines, Slow Machines by twobitshifter on Wednesday June 28, 2023 @05:39PM (#36512992)
eMacs
Re:Fast Machines, Slow Machines by _dain_ on Wednesday June 28, 2023 @06:07PM (#36513308)
vim run inside of WSL. i'm serious.
Re:Fast Machines, Slow Machines by Exoristos on Wednesday June 28, 2023 @06:09PM (#36513328)
There are a host of alternatives on Windows. Or buy a real IDE, like the JetBrains products.
Re:Fast Machines, Slow Machines by palata on Wednesday June 28, 2023 @07:50PM (#36514389)
IntelliJ, Android-Studio, CLion, PyCharm...

Jetbrains' products.

Re:Fast Machines, Slow Machines by pacifika on Thursday June 29, 2023 @04:49AM (#36517988)
Sublime Text
Re:Fast Machines, Slow Machines by NoGravitas on Thursday June 29, 2023 @09:27AM (#36520060)
Emacs. Either native or WSL, both are fine.
Re:Fast Machines, Slow Machines by nequo on Friday June 30, 2023 @06:57PM (#36543674)
Besides all the other alternatives offered by siblings, Kate also works on Windows:

https://kate-editor.org/get-it/

Re:Fast Machines, Slow Machines by juped on Wednesday June 28, 2023 @05:43PM (#36513033)
I remember back when Java programs were painfully slow, these days I've fled vscode for clion.
Re:Fast Machines, Slow Machines by twobitshifter on Wednesday June 28, 2023 @05:44PM (#36513053)
Browsers are ridiculously fast. People just add more and more until they hit the wall where they need to start optimizing. For someone trying to get things done, that’s probably the right method. But it means that ultimately what determines how fast your program runs is not how fast your computer runs, but how much delay you’re okay with.