>Atom takes longer to start up than text editors like Vim and Sublime Text because of the dynamic architecture of the app. The majority of our code is written in JavaScript as opposed to C or C++, which is important for Atom’s extensibility, but makes it more challenging to ensure that the app starts quickly. Yet Microsoft's VSCode, which is also Electron based, is much faster than Atom. Electron obviously slows it d…
Also isn't the majority of Sublime Text written in Python which in my experience is slower than JavaScript.
The State of Atom's Performance
31–40 of 293 posts
Re: The State of Atom's Performance
#32>Atom takes longer to start up than text editors like Vim and Sublime Text because of the dynamic architecture of the app. The majority of our code is written in JavaScript as opposed to C or C++, which is important for Atom’s extensibility, but makes it more challenging to ensure that the app starts quickly. Yet Microsoft's VSCode, which is also Electron based, is much faster than Atom. Electron obviously slows it d…
Also isn't the majority of Sublime Text written in Python which in my experience is slower than JavaScript.
Re: The State of Atom's Performance
#33I've been learning emacs over the last 6 month or so. How is the "hackability" of atom compared to emacs? I threw away spacemacs, started over, built all my config, am starting to build plugins etc. While the learning curve was steep, the flexibility of emacs is quite amazing and I've only just scratched the surface of the extensibility. It makes me very intrigued to hear about how other people are using editors like…
Re: The State of Atom's Performance
#34People tend to ignore the base cause/assumption and hone in only on the problems that stem from those base causes/assumptions. Sometimes that's unavoidable, but often it's at the very least a good thought experiment to back up even further along the decision chain and challenge the original ideas instead. "Think outside the problems" or something I guess. It's really just making sure that you're being as methodical/objective as possible.
Atom seems to have been built with a set of initial goals/assumptions that triggered a massive chain reaction of problems to solve. Rather than challenging those original goals/assumptions, a lot of engineering talent and time is being invested in essentially cleaning up these problems that were self-imposed.
Re: The State of Atom's Performance
#35Don't get all the gripes about slow startup time. How often do you launch your editor? We're programmers - the editor stays open all the time!
Re: The State of Atom's Performance
#36There are nice possibilities for this project, it could be abstracted out to work with FreeBSD and stuff. Grunt/gulp/etc. watch features may be able to utilize it in library form.
For a similar project, check out entr(1): http://entrproject.org/
I'm a full time VIM user, but I'm happy and glad anytime I see VSCode/Atom/etc win. I see it as a great editor for the sake of having one to recommend. Cross-platform, free, active plugin ecosystems.
Re: The State of Atom's Performance
#37Earlier quoted context omitted.
Emacs' display engine, input handling, etc., are written in C.
And Electron’s are written in C++, so I’m unsure what your point is.
Emacs' display loop is tens of thousands of lines of C that directly calls the native text-rendering API: https://www.facebook.com/notes/daniel-colascione/buttery-smo....
Re: The State of Atom's Performance
#38Don't get all the gripes about slow startup time. How often do you launch your editor? We're programmers - the editor stays open all the time!
Re: The State of Atom's Performance
#39>Atom takes longer to start up than text editors like Vim and Sublime Text because of the dynamic architecture of the app. The majority of our code is written in JavaScript as opposed to C or C++, which is important for Atom’s extensibility, but makes it more challenging to ensure that the app starts quickly. Yet Microsoft's VSCode, which is also Electron based, is much faster than Atom. Electron obviously slows it d…
https://blog.xinhong.me/post/sublime-text-vs-vscode-vs-atom-...
Re: The State of Atom's Performance
#40Earlier quoted context omitted.
Your point? Write slow javascript, get slow programs. It's not a crazy concept. Edit: typo
Emacs is written in Elisp which is a dynamic language just like JavaScript
All dynamic languages are not born equal when it comes to performance. 2 implementations of the same language aren't even equal. While V8 is a fast JS engine, the DOM isn't. Emacs doesn't rely on the DOM unlike Atom or VSCode.