News for hackers. Stuff that matters.
Re:Why VSCode doesn't use any front end framework by starkparker on Tuesday March 12, 2024 @12:50AM (#39676301)
Erich Gamma, Technical Fellow, Microsoft:

> what many people don't know is that we decided to not use any UI frameworks from the beginning, and that's still true today because performance is very important to us, and we want to be fully in control of our own destiny. So we don't want to chase a framework or track down performance from in the framework, we want to be directly as close to the DOM as possible.

Re:Why VSCode doesn't use any front end framework by Alquds2024 on Tuesday March 12, 2024 @06:07AM (#39677806)
Wow
Re:Why VSCode doesn't use any front end framework by belter on Tuesday March 12, 2024 @07:55AM (#39678463)
Got it...They want to control their destiny on UI ...But have no issues on everything else ...So they are ok with using Electron :-))
Re:Why VSCode doesn't use any front end framework by aurareturn on Tuesday March 12, 2024 @01:00AM (#39676342)
That makes sense for this type of application. But people are going to start complaining about React and other FE frameworks in 3, 2, 1...
Re:Why VSCode doesn't use any front end framework by sargstuff on Tuesday March 12, 2024 @01:50AM (#39676565)
So, use dynamic library hooks/tricks to provide api hooks to/for <insert relevant react/fe framework/etc.>
Re:Why VSCode doesn't use any front end framework by scary-size on Tuesday March 12, 2024 @02:13AM (#39676661)
A bit click bait, the answer is the obvious one: performance and independence.

Things that could have been a tweet (or tweet-sized blog post). But no, it’s a TikTok video on YouTube.

Re:Why VSCode doesn't use any front end framework by CRConrad on Wednesday March 13, 2024 @12:07PM (#39693247)
Well, at least it's under a minute. Could have been 25.
Re:Why VSCode doesn't use any front end framework by sir_pepe on Tuesday March 12, 2024 @04:24AM (#39677282)
Building your own proprietary frontend framework still counts as a framework in my mind. Like how a custom tailored suit is still a suit, just one that is, well, tailored to spec. The whole "no framework" narrative is silly.
Re:Why VSCode doesn't use any front end framework by thomassmith65 on Tuesday March 12, 2024 @08:18AM (#39678598)
Is that the point here?

I think the key point about using someone else's framework is that it's someone else's framework, not that it's someone else's framework.

Re:Why VSCode doesn't use any front end framework by Snacklive on Tuesday March 12, 2024 @08:36AM (#39678736)
Well of course you need to make an standard way to achieve your goals in the frontend or else it's just asking for madness.

"Your own framework" may be a valid statement but at the same time the creation of the framework its just a side effect of applying sane software design.

Re:Why VSCode doesn't use any front end framework by iAkashPaul on Tuesday March 12, 2024 @08:22AM (#39678620)
If only Zed got more traction & in-turn extensions, that's more performance than what most need
Re:Why VSCode doesn't use any front end framework by _aavaa_ on Tuesday March 12, 2024 @01:13PM (#39682091)
Last I checked it's still missing language server and integrated debugger support.

That and being macOS only, seem like major roadblockers to major adoption.

Re:Why VSCode doesn't use any front end framework by aurareturn on Wednesday March 13, 2024 @03:01AM (#39688734)
>That and being macOS only, seem like major roadblockers to major adoption.

And that's exactly why many companies choose Electron - despite a deficit in performance. Just having an Electron app is better than not having an app at all.

Re:Why VSCode doesn't use any front end framework by _aavaa_ on Wednesday March 13, 2024 @06:44AM (#39689940)
I don’t think that’s the right lesson here.

And yet, they all then seem to do a whole bunch of work that is specific to each platform anyway.

Further, if Zed was an electron app nobody would be talking about it.

Electron’s great if you want to be the first on the market, and for many of them competition never arrives.

Re:Why VSCode doesn't use any front end framework by aurareturn on Wednesday March 13, 2024 @11:13AM (#39692243)
Zed fills the niche that Sublime left behind. Electron is what you need to make the mass market product in Thu’s class.
Re:Why VSCode doesn't use any front end framework by Gunax on Tuesday March 12, 2024 @09:00PM (#39686853)
I use vscode and had no idea it was electron. Electron apps had a very poor reputation 10 years ago.

Yet it feels very snappy to me.