this post was submitted on 30 Jan 2024
255 points (95.7% liked)

Open Source

31292 readers
807 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

It become open source just last week. Currently don't have Linux version but soon it will have. Linux Roadmap issue

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 41 points 9 months ago (1 children)
[–] cbarrick 11 points 9 months ago (1 children)

Exactly.

Atom being open source was why I switched to it from Sublime.

Atom's shitty performance was why I switched away to VS Code.

[–] fox2263 1 points 9 months ago (1 children)

It was Electrons problem. VSCode was basically Atom. When MS made Electron2 or whatever it got much faster.

[–] cbarrick 4 points 9 months ago

It was not Electron's problem.

The problem was the extension architecture, that they leaned into heavily. It encouraged basically every part of the system to interact with every other part of the system, like having free reign over the whole DOM. That's what the creators meant by a "hackable" editor.

VS Code is much faster, largely because of its much more sane extension architecture. Extensions are much better isolated, with a much smaller API surface by which they can interact with the editor. And the LSP design means core IDE-like features can be lifted into a privileged part of the system, and implemented once with performance in mind, while the actual analysis is done asynchronously in subprocesses.

If you actually use both Atom and VS Code configured to feature parity, you would notice that VS Code is miles ahead of Atom. Microsoft did an amazing job proving that you can build complex performant software on Electron.

Yes, Electron 2.0.0 was a great update, but it's not the reason for performance. The reason was better software architecture.