News for hackers. Stuff that matters.
Re:The State of Atom's Performance by rayiner on Wednesday January 10, 2018 @02:15PM (#16117940)
Emacs' display engine, input handling, etc., are written in C.
Re:The State of Atom's Performance by gaius on Wednesday January 10, 2018 @02:18PM (#16117977)
So what? There’s no reason the Atom team couldn’t optimise their critical paths while retaining extensibility and cross-platform-ness, and the proof is that Emacs has already done it.

Their problem is not technical, it’s ideological

Re:The State of Atom's Performance by thramp on Wednesday January 10, 2018 @02:27PM (#16118072)
> There’s no reason the Atom team couldn’t optimize their critical paths while retaining extensibility and cross-platform-ness, and the proof is that Emacs has already done it.

I believe that's what the Atom team is doing. They've detailed several critical paths that can and will be rewritten in C++/Rust in the linked post.

Re:The State of Atom's Performance by ben336 on Wednesday January 10, 2018 @02:25PM (#16118046)
If you read the post, that is mostly the work that they're describing.
Re:The State of Atom's Performance by rayiner on Wednesday January 10, 2018 @02:23PM (#16118030)
That would impair the stated goal of "hackability."
Re:The State of Atom's Performance by mr_overalls on Wednesday January 10, 2018 @02:44PM (#16118264)
Emacs and vim are perhaps the most configurable and extensible editors/IDEs in existence. Fast doesn't mean unhackable.
Re:The State of Atom's Performance by urda on Wednesday January 10, 2018 @02:21PM (#16118009)
Your point?

Write slow javascript, get slow programs. It's not a crazy concept.

Edit: typo

Re:The State of Atom's Performance by arianvanp on Wednesday January 10, 2018 @02:23PM (#16118026)
Emacs is written in Elisp which is a dynamic language just like JavaScript
Re:The State of Atom's Performance by camus2 on Wednesday January 10, 2018 @02:39PM (#16118210)
> 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.

Re:The State of Atom's Performance by ninjakeyboard on Wednesday January 10, 2018 @02:26PM (#16118065)
emacs core is written in C. All of your extensions are mostly in elisp. A few run servers and talk to them though. (Eg ensime)
Re:The State of Atom's Performance by tomjakubowski on Wednesday January 10, 2018 @02:27PM (#16118073)
And Electron’s are written in C++, so I’m unsure what your point is.
Re:The State of Atom's Performance by rayiner on Wednesday January 10, 2018 @02:37PM (#16118194)
Yes and no. E.g. Atom does its line layout and rendering in Javascript, which manipulates the DOM, and Electron then renders things using C++ code: http://blog.atom.io/2017/06/22/a-new-approach-to-text-render....

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....