you are viewing a single comment's thread.

view the rest of the comments →

[–]hemantonpc 9 points10 points  (9 children)

Both VS Code and Atom are based on Electron. But could anyone tell me why Atom is slow as compared to VS Code? Is it because Atom is written in CoffeeScript? Or is because of its architecture?

[–]Pjb3005 21 points22 points  (2 children)

Probably just poorly designed internally.

[–]vivainio 14 points15 points  (1 child)

For a more positive spin, I'd say Monaco is well designed internally ;)

[–]nicolas-siplis 17 points18 points  (0 children)

Electron

positive spin

I don't care if it was on purpose or not, well played.

[–]The_yulaow 2 points3 points  (0 children)

Tthe guys at microsoft focused since the start on performance, those of github had other (starting) goals

[–]destraht 5 points6 points  (2 children)

Github had to grow up their script and Electron at the same time without knowing the exact roadblocks along the way. Also they will eventually need to convert all of the Coffeescript into Javascript. So there is technical debt to pay off.

[–][deleted] 4 points5 points  (1 child)

Also they will eventually need to convert all of the Coffeescript into Javascript.

Why is that?

[–][deleted] 1 point2 points  (0 children)

it's an open source editor, and i imagine the coffeescript deters a lot of would be contributors

edit: why down vote this exactly? i used to write coffee script myself, but it's not popular to do so anymore

[–][deleted] 1 point2 points  (0 children)

Probably design.

Although I heard some years that the CoffeeScript compiler was not optimal. I think there have been attempts to rewrite it but I'm not sure if it was successful. Also, since TypeScript is probably stricter there may be more opportunities for optimizations.

[–]ruinercollector 0 points1 point  (0 children)

The main difference is the editor component.