4 ms·
The problem with Atom is not due to javascript. Editing large files is a non-trivial problem. Editors such as Emacs (which has some C code, but a LOT of elisp)
by outworlder 11y ago
The problem with Atom is not due to javascript. Editing large files is a non-trivial problem. Editors such as Emacs (which has some C code, but a LOT of elisp) go to great lengths to make editing large files possible. The algorithms and data structures used are very clever.
Atom does have C++ code, since is essentially Chromium. However, try a naive implementation in Assembly and you'll find that the Emacs Lisp buffer manipulation code will outperform it.
In fact, if you try to use C strings (null-terminated), you're doomed from the beginning.