r/programming • • Jun 25 '15

Atom 1.0

http://blog.atom.io/2015/06/25/atom-1-0.html
1.1k Upvotes

632 comments sorted by

View all comments

Show parent comment

14

u/jringstad Jun 25 '15

Parts of sublime are python, but the performance-critical bits are C/C++. Atom is written in 100% javascript as far as I understand.

13

u/goto-reddit Jun 25 '15
  • CoffeeScript 87.4%
  • JavaScript 10.5%
  • CSS 1.7%
  • Shell 0.3%
  • Batchfile 0.1%
  • HTML 0.0%

https://github.com/atom/atom

3

u/ferk Jun 25 '15 edited Jun 25 '15

That javascript code is running on "electron" (previously atom-shell), which is the actual engine.

  • C++ 76.0%
  • CoffeeScript 10.7%
  • Objective-C++ 7.1%
  • Python 3.9%
  • JavaScript 0.9%
  • HTML 0.6%
  • Other 0.8%

https://github.com/atom/electron

The problem with atom is not that it's written in Javascript.. the problem is that there are too many levels of abstraction.. electron is basically a stripped down Chromium with embedded nodejs.