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

191

u/amphetamachine Jun 25 '15 edited Jun 25 '15

From FAQ:

Why does Atom send usage data to Google Analytics?

Why indeed. An even better question is why can't I turn it off?

30

u/[deleted] Jun 25 '15

Wait, you mean one can't remove the plugin in 1.0?

Not, that it would be good to have it included by default...

28

u/amphetamachine Jun 25 '15

The uninstall button doesn't do anything.

17

u/[deleted] Jun 25 '15 edited Jun 25 '15

Is there an opened issue for that?

Or have they concluded not to fix this?

EDIT: Since they have included it by ticket, I don't think that will happen.

/speculation

Well, too bad, including it in the first place is a borderline no-go anyway.

36

u/Xanza Jun 25 '15

You can.

For details on what data Atom is sending or to learn how to disable metrics gathering, visit https://github.com/atom/metrics.

92

u/amphetamachine Jun 25 '15 edited Jan 16 '17

Okay sure there's a way to disable it. However:

A. It's on by default instead of letting you opt in, or asking the user. Even Microsoft products ask if it's okay. (Edit: No longer true since the advent of Windows 10).

B. It doesn't tell you it's doing it. It just silently does it. If I hadn't read the FAQ page, I would have never known it was doing it.

C. Even if you know exactly how to disable it, there's no way to prevent it from sending data to Google from the time you start the app to the time you disable it.

10

u/bobertian Jun 26 '15

Not that I disagree, but Visual Studio Code's download page says

"When this tool crashes, we automatically collect crash dumps so we can figure out what went wrong. If you don't want to send your crash dumps to Microsoft, please don't install this tool." https://code.visualstudio.com/Download

16

u/gold1617 Jun 26 '15

Well isn't that still in a beta/testing phase? Generally betas collect and send data for development purposes.

→ More replies (1)

3

u/TheBadProgrammer Jun 26 '15

Can we file a bug report or just patch it to turn it off by default, aka opt in? I see there is an issue about using Piwik which also sounds good. I guess there's money being made here? Seems fishy.

→ More replies (14)

2

u/[deleted] Jun 25 '15

The last I checked, its just a plugin like any other. The same plugin also bundles error reporting.

→ More replies (3)

354

u/x-skeww Jun 25 '15

https://github.com/atom/atom-keymap/issues/35

Ridiculous.

Basically, if you need AltGr for some characters, some of those won't work. There are a bunch of layouts where you can't even type a @ out of the box. Very funny, really. It's too early for 1.0.

48

u/DavidJayHarris Jun 25 '15

It was on their list of things to fix for 1.0, but apparently didn't make the cut

75

u/jugalator Jun 25 '15

7 bit ASCII is enough for everyone!

24

u/egrepnix Jun 25 '15

7 bits? I say 5 bits is enough for anyone!

45

u/tejon Jun 25 '15

☻

23

u/jugalator Jun 25 '15

Aah, the good ol' ASCII blackface. What is it, ASCII 2 in some DOS codepage?

→ More replies (5)
→ More replies (1)

20

u/[deleted] Jun 25 '15

I guess all of them use QWERTY.

43

u/Beaverman Jun 25 '15

American layout QWERTY.

I'm on the ISO version, i need altgr for such "obscure" characters as @ { } [ ] | ~ \ luckily you don't need those in a text editor.

34

u/[deleted] Jun 26 '15

luckily you don't need those in a text editor.

Found the Python programmer.

→ More replies (4)
→ More replies (1)

10

u/ferk Jun 25 '15

It's more like they use OS X (it works fine on my german keyboard on OS X) ...Atom was available first on OS X and only later did they offer Windows and Linux versions.. even some add-ons seem to assume it.. I still couldn't find an add-on that properly replicates emacs shortcuts because some of them are already available as OS X defaults so the dev didn't bother to implement them.

3

u/mixblast Jun 26 '15

Well it was only reported in october 2014 /s

→ More replies (1)

85

u/gnuvince Jun 25 '15

I use a French Canadian keyboard where writing a lot of programming characters (e.g. {, }, [, ], ~, ­, @) require the usage of the AltGr key. I'm an Emacs user, so I had no intention of using Atom, but this would definitely have been a complete deal breaker.

25

u/x-skeww Jun 25 '15

Yea, '[' and ']' don't work with a French Canadian layout.

§ (O) and µ (M) also won't work.

28

u/semi_colon Jun 25 '15

§ (O) and µ (M) also won't work.

Shit, do you use those in your code?

47

u/IWillNotBeBroken Jun 25 '15

Shit, do you use those in your code?

They're little-known perl sigils:

my §doubly_linked_list = undef;
my µgit_branch = dev;

/s, of course

25

u/Hawful Jun 25 '15

Just another perl hacker.

→ More replies (1)
→ More replies (2)

8

u/necuz Jun 25 '15

Do you never write anything other than code? Besides, I'm sure I've actually used both those symbols in comments.

→ More replies (5)
→ More replies (1)

3

u/[deleted] Jun 26 '15

I'm in a Spanish-speaking country. I use a US keyboard with a US layout. Every time I buy a laptop/keyboard I make sure they aren't selling me a keyboard in Spanish. Programming languages were made for US keyboards. Anything else is horrible. I haven't used a keyboard in Spanish in at least a decade.

→ More replies (1)

2

u/[deleted] Jun 26 '15

Those characters are too annoying to type on a French AZERTY keyboard, so for years I've just used a US QWERTY keyboard along with a COMPOSE key mapped to Caps-Lock. Works great.

é → <compose> ' e

→ → <compose> - >

ç → <compose> , c

→ More replies (13)

83

u/more_oil Jun 25 '15

The first thing I too did was see if the "text editor for the 21st century" supports typing standard characters but this was not the case. I'll therefore go back to my 20th century editor.

12

u/bgog Jun 26 '15

When you choose JavaScript as the core to build your product on, it is flawed from the start.

15

u/f6fd5rikod5rt6xyik Jun 26 '15

This isn't a JavaScript issue. The browser has APIs for non-standard keyboard codes, they're a pain in the ass but they're certainly available. Keyboard input is even more complicated in C++, since you have to wrap all the different system APIs. Unless your stack has a built-in library for this stuff (ie Python), then you either use a 3rd party library, or handle it manually, regardless of the language. Keyboard input is just complicated.

→ More replies (1)
→ More replies (6)

6

u/hapital_hump Jun 25 '15

Reading through the issue, it doesn't look like there's some One Obvious Way to solve the problem.

7

u/x-skeww Jun 25 '15

There is always the option to just copy Brackets' behavior. The code from Brackets is a bit weird, but it works.

7

u/hapital_hump Jun 25 '15

Yeah, looks like it's a hack in every web browser as well.

It was probably a mistake to leave it out of 1.0, but I've been part of open-source discussions to figure out which of the hacks we're going to infect our system with. It's always a trigger you want to pull "next week".

15

u/twbmsp Jun 25 '15

That's a misreported issue, I use that feature all the time with my workflow.

4

u/[deleted] Jun 25 '15

I understand this reference

2

u/wcoenen Jun 26 '15

Why does an editor even need to concern itself with key maps? Translating key strokes into unicode code points seems like something that is already handled by the OS. That's why OSes have keyboard configuration settings.

3

u/x-skeww Jun 26 '15

It's their shortcut handling code. It can't differentiate between Ctrl+Alt+X and AltGr+X.

So, when you use AltGr + some key and if there is some Ctrl+Alt combination which uses the same key, the shortcut action will be triggered and the character you wanted to write won't appear (preventDefault()).

9

u/your_power_is_mind Jun 25 '15

Before we all get huffy puffy: https://atom.io/packages/keyboard-localization

Basically, whatever you are missing from the standard install, can be added by packages. It's really easy to create packages, that is the real advantage over sublime.

60

u/x-skeww Jun 25 '15

You make it sound like it's a missing feature. Atom is the only editor with this problem. Installing that package is just a workaround.

VS Code (which is also built on top of Electron) also doesn't have this problem. It's just Atom.

→ More replies (18)

5

u/jP_wanN Jun 26 '15

Yeah... If you can install packages... Which you need a whole Visual Studio installation for on Windows. Using Atom on Linux is fine, but on Windows, it's still a PITA. I needed hours to find a fix without that package and in the end I had two seperate fixes, one for @ and one for , for no comprehensible reason.

I would to just install VS 2010 or 2012 or whatever Atom needs on that Windows machine, but unfortunately it has a tiny SSD and already has VS 2013 installed; there's not enough space for another VS.

→ More replies (1)
→ More replies (1)
→ More replies (17)

247

u/Whadios Jun 25 '15

Is it still slow as shit?

161

u/pakoito Jun 25 '15

It's javascript-centric. Speed will never be a requirement.

213

u/[deleted] Jun 25 '15

"Hey let's write an amazing text editor... in Javascript... WITH HTML!"

What a waste of time, energy, talent...

46

u/hapital_hump Jun 25 '15 edited Jun 25 '15

I've been using Atom all week for Node development since Facebook's release of their nuclide plugins. In particular, http://flowtype.org/ integration is well-done.

Atom doesn't feel like a waste of energy. Hate the stack all you want, but it enables some serious ease of mindshare.

49

u/fnord123 Jun 26 '15

it enables some serious ease of mindshare.

What does this mean?

→ More replies (10)
→ More replies (17)

88

u/[deleted] Jun 25 '15 edited Oct 15 '15

I said nothing...

26

u/Bromlife Jun 26 '15

I don't hate it. I just think that Github should have been able to create something better than what a single developer has built with Sublime Text 3.

→ More replies (1)
→ More replies (40)

10

u/thelehmanlip Jun 25 '15

Yeah, Visual Studio Code did the same thing. I'm not totally sure why.

38

u/[deleted] Jun 25 '15

They already had the editor - visual studio online. It was probably somewhat trivial to embed it on top of electron, so why not do it?

As an aside, visual studio code is way faster than atom for some reason.

→ More replies (8)

5

u/jugalator Jun 25 '15

Simple(r) multi platform support? :/

→ More replies (19)
→ More replies (7)
→ More replies (7)

31

u/original_findjashua Jun 25 '15

js is not the reason it's slow, it's the dom. I'm hoping react-native will have an osx target some day so you can sidestep the dom #icandream

→ More replies (4)

12

u/[deleted] Jun 25 '15

Javascript isn't the problem, the dom is.

44

u/pakoito Jun 25 '15

For sub-16ms UI yes, javascript is a problem. A UI stack without first class support for threaded concurrency is always going to be jerky as soon as the first expensive operation hits.

25

u/bittered Jun 25 '15 edited Jun 25 '15

Not the OP but I don't understand the downvotes he/she got.

In the case of Atom, it's mostly DOM painting and rendering that is the major cause of UI lag (which is what leads people to label it as 'slow as shit'). You can open the devtools and inspect it yourself if you don't believe me.

Also lag has been significantly improved since release a year ago.

edit: Also FYI, expensive operations are done in a separate thread because they are executed on the backend using node while the frontend uses chromium.

→ More replies (8)
→ More replies (18)
→ More replies (2)
→ More replies (2)

43

u/wkoorts Jun 25 '15

isItStillSlow = AtomCore.UsesWebBrowserForTextEditing;

So yes.

5

u/I_Downvote_Cunts Jun 25 '15

I don't know if that point makes a huge amount of sense. The primary, or perhaps original, perhaps of a browser is just to render documents. So it's quite a natural fit.

14

u/[deleted] Jun 25 '15

Sure, but the original purpose of a browser wasn't to do live syntax highlighting, editing, etc. It works fine, but that just wasn't the original purpose.

6

u/redwall_hp Jun 26 '15

Also, it generally tries to mimic the look of native UI elements, but the feel is all wrong. Like...tabs, for example. The close button looks passably native, but when you point at it, the cursor turns into a web browser finger. That doesn't happen on native elements, and it's subtly jarring. Then if you drag tabs, at least on a Mac, the "weight" and movement of them doesn't feel like native elements either.

Atom tries to look like a native application, but ends up acting in the same unpleasant manner as a web page. Which is to be expected, since that's basically what it is.

→ More replies (1)
→ More replies (2)

43

u/spacejack2114 Jun 25 '15

Slow at startup? Sure, if you're not using an SSD. Slow if you're editing big logfiles or large, generated sources? Yes, if haven't installed an add-on to handle those.

Slow at editing/linting typical-sized source files? No.

Open source, extensible, really nice-looking? Yes.

3

u/[deleted] Jun 26 '15

It really depends on the usecase. I like to use the same editor for everything, but with atom's slow startup I cannot simply use it to quickly check what's inside a certain file unless I have atom already open.

10

u/Tulip-Stefan Jun 25 '15

I wonder if you actually tried atom. Relative to Qt creator, scrolling through files in visual studio code feel sluggish, as if there is an extra frame or 2 of lag every pgup/pgdn. Hovering over the menu bar feels sluggish. Resizing approaches firefox levels of lag. Text rendering completely ignores my OS settings. I guess the situation is worse in atom, as many people commented that visual studio code is a lot faster than atom.

Javascript is fine for simple things, but i really feel they should've gone with native UI code. A lot of common hotkeys and conventions are broken, this wouldn't have happened if you've used Qt or PyQt instead. I honestly can't believe that that atom uses custom menu bar handing and rendering code. This and blender are the only 2 apps i have ever seen that do not use my OS settings to render text.

On the subject of startup speed, it starts about as fast as other full-featured apps, such as blender or Qt creator. Things such as word/excel, notepad++, sublime or internet explorer definitely start faster.

→ More replies (1)

6

u/d2xdy2 Jun 25 '15

Sure, if you're not using an SSD

I've got an M.2 SSD, and it's this version of Atom is just as slow as ever.

0

u/[deleted] Jun 25 '15

[deleted] — view deleted comment

23

u/spacejack2114 Jun 25 '15

Because /r/programming is like Salem in 1692 and Javascript is considered witchcraft.

→ More replies (1)
→ More replies (1)

2

u/Carighan Jun 25 '15

That was my main issue, why would u use this over the faster, more functional and more flexible notepad++? And that one already has a ton of issues, it's just that atom is much worse.

2

u/d2xdy2 Jun 25 '15

Its slow as balls. Also completely locked up my machine for a solid 11 minutes on first startup.

1

u/H3g3m0n Jun 26 '15

It actually seems quite fast to me. Maybe even Vim fast (with some Vim plugins).

The startup is slow though, but not unbearable. Maybe they should add a daemon mode.

Only issue for me is HiDPI on Linux is broken, the menu fonts become too big to read.

1

u/nightchrome Jun 26 '15

I installed it and ran it, loading a decently large file.
It was no more or less speedy/responsive than any other editor I've used.
I was quite surprised, actually.

→ More replies (15)

106

u/dukerutledge Jun 25 '15

I'll wait for neovim.

23

u/vks_ Jun 25 '15

It is already quite usable, minus a few details.

13

u/dukerutledge Jun 25 '15

Which details?

10

u/vks_ Jun 25 '15

Some advanced clipboard features are broken and output from :! gets cut off instead of wrapped if the line does not fit into into the terminal.

→ More replies (3)

4

u/siplux Jun 25 '15

There's also some issue with certain key combinations in the terminal

→ More replies (2)

4

u/cafedude Jun 25 '15

Other than they want to allow for writing plugins in many popular languages, I'm not sure what the advantages of NeoVim are over vim - what are some other advantages?

10

u/bearrus Jun 25 '15

Probably non-blocking plugins (async) is the big one that would be noticeable first. I think it also has a different architecture with UI decoupled form backend.

And, of course, the codebase is much better and gets rid of a lot of legacy ugliness. Which in theory should attract more developers in the long run.

→ More replies (1)

6

u/Ran4 Jun 25 '15

Easier development of new features and new plugins, mainly.

NeoVIM won't radically change everything, it's still "just" vim with a cleaned up codebase.

→ More replies (3)

10

u/yoshi314 Jun 25 '15

why wait? it already works as a drop-in vim replacement.

→ More replies (8)

3

u/moljac024 Jun 26 '15

Man I was psyched about neovim but at the pace it's currently going i'm not sure if it'll ever be released.

3

u/albatrossy Jun 25 '15

Why wait? What's missing for you? Just wondering. I am a shitty Vim user still but it was my understanding that NeoVim was designed to basically be backwards compatible.

14

u/dukerutledge Jun 25 '15

I don't have anything specific I was just under the impression that it isn't completely stable yet.

3

u/albatrossy Jun 25 '15

Ah okay, that makes total sense! I have seen a lot of people talk about how they've recently switched over completely though. I guess it's a little ballsy now that you mention it.

→ More replies (1)
→ More replies (1)

48

u/Ruchiachio Jun 25 '15

Lets wait for Atom 3.0 and we will be going places.

11

u/a_masculine_squirrel Jun 25 '15

How does this compare Visual Studio Code? Or are people still using Sublime Text?

7

u/[deleted] Jun 26 '15

Imo it's way nicer than visual studio code, not as mature as sublime. I am a huge fan of the community it's gathering though.

→ More replies (2)

10

u/rco8786 Jun 26 '15 edited Jun 26 '15

I still can't open the root of my company's main repo without the whole thing crashing.

Meh.

https://pbs.twimg.com/media/CIY8DJ9UwAERk0a.png

48

u/snewo12 Jun 25 '15

But the question is; is it better than sublime 2? Anyone who could convince me to one side or the other?

101

u/Sawny Jun 25 '15

Is atom so bad that we compare it to sublime 2 instead of sublime 3?

22

u/nullmove Jun 25 '15

Speaking of sublime, does anyone know how lime is coming along?

→ More replies (4)

24

u/snewo12 Jun 25 '15

Well to be fair the current live version of Sublime is 2. 3 is in beta still...

53

u/bheklilr Jun 25 '15

It is technically in beta, but it's been pretty stable for a while now

23

u/IDazzeh Jun 25 '15

I've been using it for a while, I completely forgot it was in beta!

→ More replies (1)

21

u/basmith7 Jun 25 '15

Sublime Text 3, while still technically in beta, is the recommended version of Sublime Text to use: compared to Sublime Text 2, it's faster, more polished, and of course, has a lot of extra functionality. Download it now and give it a try!

http://www.sublimetext.com/blog/articles/sublime-text-3-build-3080

→ More replies (6)

43

u/Amerikaner Jun 25 '15 edited Jun 25 '15

Sublime Text 3 is stable and faster than ST2. Not sure about Atom 1.0. The last time I tried it it was noticeably slower than ST3. I'm attempting to give it a go now.

EDIT: First impression is it is much much faster loading projects and switching between files. Downloading themes and packages is oddly slow though. And there's no progress indicator on the downloads. UI is also very nice looking and usable. Pleased so far.

EDIT2: Turns out there is a progress indicator on the install button. Didn't work the first few times I used it.

EDIT3: It seems to be an issue with the package repository in general but its super slow right now. There's no indication Atom is searching for packages.

EDIT4: Yep, it's the repository. Using apm to install packages results in failures as well.

EDIT5: There's a dead space on tabs under the file name when clicking. You have to hit the tab on the filename or above it.

EDIT6: As others have said, load time increases when you start adding packages. I only added a few and it's noticeably slower.

VERDICT: Performance much improved but still not as good as ST3. I'm sticking with ST3.

8

u/GuruMeditation Jun 25 '15

I like Atom a lot so long as I never have to go update my packages.

Should I ever need to go to the package section though I may as well just move to another application as Atom is going to hang for 5 minutes before it lets me update anything, then hang again for 10 minutes while it runs the updates.

→ More replies (1)

6

u/path411 Jun 25 '15

I've been using Atom predominantly over ST3 for awhile now and really enjoyed it. Since I'm a web dev, I really don't have large files that would really put it's performance to the test, and so it's not really a problem for me. The ease of making extensions and modifying the UI is really what pulled me over, and I think that if people recognized that not everyone is opening files with tens of thousands of LOC and so Atom works really great in many situations where performance problems never occur.

And as you have noticed, the speed has improved and I assume will continue to improve.

3

u/Amerikaner Jun 25 '15

I would wager most people using Sublime are web developers. Other software developers typically use IDE's. I'm a web dev too and I see slowdowns on even small projects. I just tested it without even loading a project and it was slow booting up a few plugins. You don't need an enormous project to notice the difference between ST3 and Atom.

The fact that it's built with web languages is very cool. But at the end of the day, performance is much more important to me than customizing the editor with web languages.

→ More replies (5)
→ More replies (1)

3

u/stronglikedan Jun 25 '15

Since you already have it installed (still, hopefully), does it have multiple cursors? I can no longer work without that feature.

--ST3 user

→ More replies (2)

2

u/smakusdod Jun 25 '15

I'm relatively new to Sublime 3. Is there a hack or setting that allows a graphical 'new file' tab button, similar to a 'new tab' button on web browsers?

4

u/Amerikaner Jun 25 '15

Not that I know of. You know you can double click the empty tab area for a new tab though right?

→ More replies (4)
→ More replies (2)

77

u/Spartan-S63 Jun 25 '15

I've used Atom for quite some time now.

In short, it's not as snappy as Sublime Text 3 and my load time as I add plugins has become noticeably slower. So much so that I went back to Sublime Text 3 as my daily driver because I didn't want to wait more than two seconds for Atom to load a window with my files in it.

Long story short, it's cool, it's hackable, but it's just too slow for me. That's what you get when you try to "Javascript all the things" (IMO).

22

u/Aea Jun 25 '15

It seems blazingly snappy for me and I hate the idea of JSing all of the things. But it seems like it's a common complaint against Atom, maybe bad plugins? I only have 3-4 non-"official" ones.

11

u/Spartan-S63 Jun 25 '15

Yeah, at 3-4 plugins you're fine, but I think I have at least a dozen, if not more. When you start piling on that many extra plugins (and an extra UI and syntax theme) you start getting load times 2.5 seconds which is really annoying.

You can see your load time by going into the command palette and checking out the Timecop output.

Also, I'm running a late 2013 15" rMBP so there's little reason why it should be slow. It seems to me like it's Atom's runtime that causes the slowdown (and/or poorly built packages).

14

u/dacjames Jun 25 '15

In comparison, I have 39 plugins installed in ST3 right now and it still opens in under a second. To be fair, many of them are just syntax highlighting/themes, but there's 10-15 real plugins in there, too. Loading plugins asynchronously makes a huge difference in feeling fast, even with a few slow plugins.

I really hope Atom addresses it's performance issues because I would prefer to use an open source editor. Unfortunately, I work with large files (10s of MBs) quite regularly so Atom is a non-starter for the time being.

→ More replies (4)
→ More replies (5)
→ More replies (5)

4

u/HomemadeBananas Jun 25 '15

Just try it for yourself.

6

u/keiter Jun 25 '15

I used ST2/3 at work about a year ago but have used Atom the last ~6 months. The main advantage of that switch to me is that Atom is Open Source, on Github and has an extremely high development pace. So if there are any problems they're usually fixed, and I could fix them myself if necessary. By contrast I got tired of waiting for the lone author of Sublime to fix some bug that'd been reported for months (forgot what it was now). IMHO Sublime moves so slowly it might as well be abandoned.

→ More replies (3)

1

u/agmcleod Jun 25 '15

It's really a personal preference. If the performance of atom is a problem, than stick with sublime. For me, I've really gotten to love how atom doesnt do project finds or command T (Ctrl+P on windows) opens in gitignored directories. I haven't found a way to get that to work in sublime. I still use sublime for opening large files, but other than that i'm pretty happy with atom.

When trying out a bit of typescript, i liked using atom more as the plugin for it happens to be way more useful. Can see here in the images what information it provides: https://atom.io/packages/atom-typescript

→ More replies (13)

53

u/[deleted] Jun 25 '15

Congratulations to the Atom team. They've come a long way from the unusable editor that I tried in early 2014. I switched over from Slickedit about 8 months ago and have been (mostly) happy with it ever since.

Now they just need to update their Chocolatey repo... The release in that repo is 6 months old now.

5

u/inyourgroove Jun 26 '15

FYI I beleive they deprecated the chocolatey repo see here.

14

u/trisscar1212 Jun 25 '15

I haven't used Atom in a while, but I frequently use ST3 for navigating large files and such. Once loaded, a large file feels smooth. I seem to remember Atom not even being able to open large files. Is this still the case?

11

u/Canacas Jun 25 '15

You can open large files now, but syntax highlighting will be disabled when you do.

31

u/Carighan Jun 25 '15

It can't do highlighting on files larger than 2mb? Really? In 2015? Is this news from onion or so?

14

u/redwall_hp Jun 26 '15

But MongoDB Atom is web scale!

In all seriousness, I can open enormous log files and SQL dumps in a text editor from the 1970s (vim), and smoothly navigate them with minimal system resources. That's a text editor's job. If your text editor is shit at loading, displaying and editing text, then you've screwed up big time.

→ More replies (1)
→ More replies (5)

2

u/trisscar1212 Jun 25 '15

Thanks, exactly what I wanted to know. Wonder how the performance with large files is.

5

u/[deleted] Jun 25 '15

File size in Atom was 2MB last I knew.

9

u/[deleted] Jun 26 '15

Not anymore, now you can load files bigger than 2MB and have it be slow as shit, and it even disables syntax highlighting!

8

u/[deleted] Jun 26 '15

Wow, that sounds amazing!

2

u/_tenken Jun 25 '15

In like the last month it can now do bigger files, check their blog.

→ More replies (1)
→ More replies (1)

126

u/maep Jun 25 '15

Whenever I see a project that builds non-web stuff "with web technologies" I read that as "we are too lazy to use more efficient technologies, and btw, you should to upgrade your hardware".

61

u/TheMoonMaster Jun 25 '15

Maybe they had other motivations? Like building an editor that is completely extensible using only JavaScript.

I think you're right in a lot of cases, like Slack for example. But atom was intentionally built on top of this and I don't think it stemmed from laziness.

7

u/Zaemz Jun 25 '15

Could you expound a bit on what you mean with Slack?

Are you saying that there's already software that exists that does what Slack does?

31

u/[deleted] Jun 25 '15

Slack has a "desktop app" that's just a crappy (at least on Linux) wrapper around their website.

15

u/I_Downvote_Cunts Jun 25 '15

Windows user here, it utter crap here as well.

→ More replies (7)

12

u/Kiloku Jun 25 '15

Hipchat is an example, and if you're going more general purpose (as in, Hipchat and Slack are meant for company chats), IRC is ancient, Jabber is pretty old too.

→ More replies (7)

6

u/TheMoonMaster Jun 25 '15

I mean Slacks desktop app being a very thin web wrapper. It's not very polished and feels like a wrapper. Native would have been a much better experience in that case.

5

u/valleyman86 Jun 25 '15

I like Slacks desktop apps on Windows and Mac. I never have any issues with it. In fact by them making it web based with a wrapper they don't have to manually support a lot of the plugins and content they support such as gifs, auto descriptions and parsing of various content to show it inline. If they made a standalone app they would have to write a bunch of code to support and draw everything which would potentially be buggy.

→ More replies (3)

15

u/[deleted] Jun 25 '15 edited Jun 25 '15

Like building an editor that is completely extensible using only JavaScript.

Maybe they should realize languages other than JavaScript exist, and some of them exist for the sole purpose of being embedded in programs to extend them.

Lets see, should we embed an entire browser into our application or a 200kb lua runtime. And hey, if we want to make it fast we can include a 400kb luajit runtime that runs circles around any javascript jit.

→ More replies (4)
→ More replies (5)

22

u/bearrus Jun 25 '15

NodeJs: "Why learn a proper language? lets use javascript everywhere."

5

u/fieryrag Jun 26 '15

Are you saying that javascript is not a proper language ??

13

u/bearrus Jun 26 '15

It is not proper for the task at hand. JavaScript is one of the most used languages, but it does not make it the right choice for everything.

→ More replies (2)
→ More replies (1)
→ More replies (7)

5

u/noticingthenoticing Jun 26 '15

But does it do syndicated news feeds?

25

u/Slxe Jun 25 '15

I'll stick with ST3. Congrats on hitting 1.0 though, although from the comment by /u/x-skeww it seems like it's a bit too early.

49

u/x-skeww Jun 25 '15

it seems like it's a bit too early.

Yea... https://github.com/atom/atom/issues/3684

"Better handling for international keyboards" is in the 1.0 checklist, but they skipped it, because being able to write text is evidentially not that important for a text editor. :/

2

u/Slxe Jun 26 '15

Yea this just blows my mind that they'd skip over such an essential feature in a text editor. Hate to say it but I think this has something to do with what the ecosystem for web and javascript technology is like in general, and more reason for me to stay away from it and stick with native application dev.

0

u/[deleted] Jun 25 '15

[deleted] — view deleted comment

14

u/Occivink Jun 25 '15

Not only russian but also variants of latin layout, such as german, french ...

3

u/601error Jun 26 '15

AKA "We're not targeting them with this release, so I think it's safe to let this slip."

AKA "Let's skip internationalization for now on this greenfield project, because we'll just roll out to English-friendly countries first."

Happened on my current project.

→ More replies (1)

4

u/vermiculus Jun 26 '15

Atom is an interesting project, but I'll stay with emacs for the time being. Haven't seen anything better than Projectile/Helm/Company since they were released.

4

u/bastibe Jun 26 '15

I'm an Emacs user. One of the big things that bothered me about Emacs is how slow it was to start up (several seconds). And it does that, because it's essentially a lisp virtual machine and everything is implemented in lisp. This makes Emacs incredibly powerful and versatile, but also kind of slow. (And, as I later learned, there are ways to defer load time to when stuff is actually needed, which makes startup bearable.)

Now here is Atom. One of the big things that bother me about Atom is how slow it is to start up (several seconds). And it does that, because it's essentially a JavaScript virtual machine and everything is implemented in JavaScript. This makes Atom incredibly customizable and hackable, but also kind of slow. I am yet waiting for the realization of that built-in flexibility, though. Where are the terminal emulators, the integrated REPLs, the debugger integrations, the build systems, the code inspectors, the source control integrations, and the information organizers?

Maybe Atom is just missing another few decades of third party packages. Or maybe, JavaScript and HTML are just not up to the task. I opened a 500Mb file in Emacs yesterday. This is probably not something Atom will ever be able to do. Only time will tell.

Best of luck to you, Atom! Happy birthday!

2

u/SrbijaJeRusija Jun 27 '15

Emacs startup is a lot better now with package management and precompilation.

→ More replies (2)

4

u/[deleted] Jun 26 '15

Shitty new CoffeeScript/JavaScript full of bugs software...

22

u/[deleted] Jun 25 '15

For a text editor it sure makes me use the mouse a lot.

8

u/Booty_Bumping Jun 26 '15

Not sure where you're getting this from. Atom, by default, has a strong set of keybindings and a sublimetext fuzzy file matching and actions menu. In addition, there are many plugins that emulate vim and emacs pretty well (not as complete as I'd like though)

→ More replies (1)
→ More replies (2)

40

u/[deleted] Jun 25 '15

Perfect example of, "Just because you can do something doesn't mean you should."

16

u/[deleted] Jun 25 '15

I'll stick too Vim, I can't webscale anyway.

3

u/sgraf812 Jun 26 '15

Anyone else finds the announcement trailer hilarious?

14

u/Axxhelairon Jun 25 '15

You really have to wonder about the delusional Atom fanatics who post in these things, do they really not see the problem with Atoms speed? Do they really think the noticeably longer startup time than any other similar suited software prevalent on many people's computers is not a big deal? Do they really think anyone cares what the reason is ("oh no no its not JAVASCRIPT, its not OUR Fault!") instead of the fact that's unusable? It's not finished software and it might as well still be in beta in the eyes of everyone who has had problems with it, a ton of people aren't just complaining for no reason about the performance

3

u/stevedonovan Jun 26 '15

The desire for 'everything JavaScript' is strong. But then I could imagine an editor written in JS and simularly extensible, but not using a browser. That could be interesting, but apparently not sexy. Anyway, if I want slow, I'll stick to Eclipse which at least understands my code well.

7

u/lurebat Jun 25 '15

So why now? there isn't really anything changed or added in this version other than making it 1.0

2

u/sime Jun 25 '15

Compare to what? 0.211?

→ More replies (3)

5

u/[deleted] Jun 25 '15

Quite surprised by this. I have used it for a long time and it still feels very unfinished. There is enough features for me atleast, but it needs polishing. For example today it just randomly crashed when I was looking at the settings and its not as slow as it used to be but it still feels heavy and slow sometimes.

5

u/teiman Jun 26 '15

Some programmers have the imagination of a worm. Is funny because us programmers sometimes do something that need a lot of imagination to understand the purpose, why is cool, or why is powerful. Some dudes wrote a Pascal compiler in assembler, then they wrote a compiler in Pascal, to have Pascal compiled in Pascal. For whatever reason we have javascript programmers writting a editor in javascript.

Is a mystery why javascript programmers would want the editor written in the language they know better and can do cooler things. Why would that be? nobody knows.

1

u/wchill Jun 30 '15

Some dudes wrote a Pascal compiler in assembler, then they wrote a compiler in Pascal, to have Pascal compiled in Pascal

https://en.wikipedia.org/wiki/Self-hosting

Is a mystery why javascript programmers would want the editor written in the language they know better and can do cooler things

The whole reason why I (as well as many others) generally prefer a text editor over an IDE (even with plugins) is due to the speed.

Atom is not speedy.

4

u/GreenFox1505 Jun 25 '15

I have a chromebook. Is it possible to set this up as a service that I can use remotely? (like Cloud9)

1

u/Booty_Bumping Jun 26 '15

Unfortunately probably not. Atom is integrated tightly with electron APIs, and electron currently does not provide a way to do such a thing.

2

u/[deleted] Jun 26 '15

Atom is a fucking resource hog. I like it, but it uses ~80% of memory on my laptop

1

u/kaukassus Jun 26 '15

How much ram does your laptop have?

I'm generally hovering around 150mb with a project with a few hundred files.

→ More replies (1)

2

u/Pixa Jun 26 '15

Here I was expecting an article about syndication and publishing protocols...

7

u/Tikotus Jun 25 '15

Everyone is hating the javascript but I see a lot of potential, especially for visualizing stuff. Sprite selecting, color picking, scratch style visual programming... Atom is a great platform for creating a fun and visual development environment for specific problem domains. Great for teaching.

2

u/fridofrido Jun 26 '15

That's a very good point!

(but then maybe they should advertise that side? They say "Our goal is a zero-compromise combination of hackability and usability", but it definitely doesn't seem to be "zero-compromise")

→ More replies (1)

4

u/[deleted] Jun 25 '15

Is beyond me why people use these when their so many better options.

3

u/BadGoyWithAGun Jun 25 '15

Can it open and edit 20MB files yet?

3

u/[deleted] Jun 26 '15

it can :)

3

u/Jonshock Jun 26 '15

Still has that weird first time startup issue on ubuntu

14

u/[deleted] Jun 25 '15 edited Oct 15 '15

I said nothing...

17

u/Carighan Jun 26 '15

Or maybe because:

  • Most countries, mine included, cannot use it.
  • It can't open files large enough to be useful.
  • It's slow as snails comparing other text editors.

I mean, something as simple as Notepad++ will win out by a mile. And that's not the end all be all of text editors either. Yes, the concept has merit but also not really because to fix these issues they'd have to make it even slower.

5

u/x-skeww Jun 26 '15

something as simple as Notepad++

Notepad++ uses Scintilla as the editing component. Scintilla is also used by SciTE, Komodo Edit/IDE, FlashDevelop, Geany, and Aegisub.

It's a solid library with good performance.

29

u/JackHasaKeyboard Jun 26 '15

People are providing very real reasons for why this isn't a good idea.

33

u/[deleted] Jun 25 '15

Or maybe it just isn't very good.

→ More replies (6)

8

u/oneUnit Jun 26 '15

It's slow as fuck. Why should I use this over sublime.

4

u/rco8786 Jun 26 '15

Nah, it's been around for long enough and it's never been "in". It has real live problems that were solved(or frankly, just never encountered) by basically every other text editor.

4

u/Paradox Jun 25 '15

Just dropping this here: /r/atom

17

u/[deleted] Jun 26 '15

Here, you dropped this: /r/atom

3

u/sgraf812 Jun 26 '15

Actually, your item is gone once you drop it

→ More replies (1)

3

u/HomemadeBananas Jun 25 '15

Whoa, awesome. I was not expecting this today.

2

u/MightyCreak Jun 25 '15

Too bad that configuring a proxy is just a mess... :(

I followed this stackoverflow answer (https://stackoverflow.com/questions/24936889/not-able-to-connect-to-atom-io-for-themes-and-packages), but it still doesn't work.

2

u/[deleted] Jun 26 '15

Stupid name. Atom is a protocol.

1

u/Roflha Jun 25 '15

I was skeptical and I still haven't made up my mind about it, but I have been using it for four weeks now. I had used sublime before and always wanted some way to remotely edit files on a linux server without typing each file I wanted to edit or not requiring some other sync program to manage everything. Ideally I wanted some SFTP plugin that would list remote files in the file tree. I couldn't find any plugin that would work for me in sublime, atom has a couple.

I understand the skepticism about using web tech for an editor, but it really does seem like the best way I can think of to allow full customization. I think performance will only get better so we will see, but I could see this becoming my main editor.

NOTE: While it is slow, most of the files I edit are not large enough to cause my much issue.

1

u/[deleted] Jun 26 '15

sshfs?

1

u/inknownis Jun 26 '15

To be 1.0 too soon. I still have problem of opening all windows closed last time. Seems it always forgets last closed session but only those it remembers some time ago.

1

u/afiefh Jun 26 '15

So I'm a bit of a slow changer. My dayjob is C++ and most of my hobbies are a mix of C++ and Python.

The first thing I look for in an IDE is assistance in mundane tasks that I (and humans in general) am very bad at, so if someone could enlighten me on how good Atom is in the following areas that'd be great:

  • Type deduction (auto)
  • Finding decleration/implmentation of a function
  • Finding all overloads of a virtual function
  • Finding all usages of a function (even if it's hidden inside a macro)
  • Dealing with macros

5

u/[deleted] Jun 26 '15

Atom aint a IDE it's just an text editor. That said there is a possibillity someone made an plugin for most of that, although if my experience from sublime is applicible those plugins cant compare too something like visual studio.

→ More replies (1)

1

u/[deleted] Jun 26 '15

Still not usable as a c++/c IDE out of the box /:

1

u/shenglong Jun 26 '15

What are the use cases for this editor?

1

u/goodwaffle Jun 26 '15

don't delete Sublime yet - the git-blame package for Atom doesn't work at all

1

u/adyrhan Jun 26 '15

I remember seeing that "Ace" editor long time ago. I see it resembles Sublime Text now. But I don't know, I'm using Android Studio, Intellij Idea, software that is very memory hungry. Sublime Text 3, which I use often is less memory hungry, but it isn't an IDE. Now this seems like Sublime Text but using more memory than the former due to its JS VM. I don't know really if this will be of any use to me, I know the advantage of it is that its supposed to be easily hackeable, and open source. But to the use I'm giving to a text editor, being able to use plugins and write one from time to time is enough for me. Also, I wouldn't say writing Javascript is an easier task than doing it in any other language.

1

u/fruit_cup Jun 26 '15

I abandoned Atom about a year ago because it felt like a shoddy clone of Sublime. I picked it back up again after seeing the news, and I actually like it a lot. It's a little slow on startup but otherwise feels like a solid editor. Given its open source nature, I'm going to be using it instead of Sublime from now on.

1

u/craigasketch Jun 26 '15

Anyone else have an issue I am having? I can't start Tomcat when I have atom running before... really strange.

1

u/vfclists Jun 27 '15

The person who made the 666'th comment must be the beast.

1

u/pyThat Jun 26 '15

this editor is a joke, really

1

u/flexiverse Jun 25 '15

Sublime Text just works faster for me. Plus it works on osx 10.7.5.

1

u/hero_of_ages Jun 26 '15

Atom 1.0: Still sucks

1

u/michaex Jun 25 '15

What a disappointment. I'll stick to Sublime.

1

u/sdubois Jun 25 '15

I'll stick with BBEdit for now

-5

u/[deleted] Jun 25 '15

Even LighTable is more useful than this.

0

u/[deleted] Jun 25 '15

[deleted] — view deleted comment

2

u/Ran4 Jun 25 '15

What's the deal with LightTable by the way? I haven't heard anything about it for quite some time, so I'm assuming that there's something fundamentally flawed with it.

→ More replies (3)