News for hackers. Stuff that matters.
Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by hacker_9 on Thursday March 17, 2016 @08:37PM (#11308945)
Seeing as quite a few people here are complaining about the performance of Atom, I thought I'd give it a try see if there's anything to it. Cloned the 'Phaser' javascript game engine repo off GitHub and went through a few files (each with 500-1000 LOC), did some editing and... didn't have a single problem with performance.

I can only imagine that you and the other complainers are running older computers that can't keep up, or you've got a load of other programs running and your PC is having to use virtual memory. I thought it strange that Atom wouldn't focus on performance if it were such a problem as is being made out, but it seems that this is just the case for the vocal minority once again.

Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by mrcwinn on Thursday March 17, 2016 @08:44PM (#11308984)
Nope, completely wrong. I have a 32GB i7-4790K at around 4Ghz or so, and Atom is a complete dog. The painful truth is that a webview is never going to beat a native app at this kind of task.

It's not a vocal minority. Atom is painful to use compared to, say, Sublime.

Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by 13years on Thursday March 17, 2016 @08:55PM (#11309040)
I suspect that both are right. Some people are having issues and others are not. I don't seem to have any lag at all when typing even with multi megabyte size files. Maybe you could give some more details into exactly what actions were slow for you and what types of files you were editing.

Actually, thanks to innovations in Mozilla's servo, the web may actually become faster than native.

Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by yAnonymous on Friday March 18, 2016 @09:18AM (#11311550)
Speak for yourself. I haven't had any performance problems with Atom for quite some time with similar hardware.
Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by hacker_9 on Thursday March 17, 2016 @09:08PM (#11309098)
You expect me to believe that with those specs Atom really runs like a 'complete dog'? The fact you also mention Sublime too really just tells me that your opinion was biased from the start. Finally, JIT compiled languages can be just as fast as native, simply because they can optimise to your hardware specs. You are getting mixed up as to why things are the way they are; JavaScript is a dynamically typed language, so the engine doesn't know AOT what types have what members, so this can cause a slow down compared to statically typed languages. BUT any JavaScript engine worth it's salt quickly figures the stuff out on startup so it's not a problem, as long as you don't use too many dynamic tricks that it can't optimise.
Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by ibrahima on Thursday March 17, 2016 @09:53PM (#11309281)
I don't think it's a JIT vs native issue, it's more likely from native UI components vs DOM. I'm sure JS as a language is plenty fast enough, but the DOM adds overhead that kills that. But this is just speculation on my part as I've barely tried Atom.
Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by PeCaN on Thursday March 17, 2016 @11:41PM (#11309716)
For the record, I have the same CPU as him but with 16GB of RAM and Atom is obnoxiously slow for me.

Never used Sublime, but I am biased towards Vim ;-)

Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by drylight on Thursday March 17, 2016 @09:18PM (#11309142)
You should believe them and others on here. Atom is slow. No way around it.

If you or others say that it's fine, then you're suffering from Stockholm syndrome, having been taken in to the cult of Atom.

Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by brazzledazzle on Friday March 18, 2016 @04:25AM (#11310546)
>If you or others say that it's fine, then you're suffering from Stockholm syndrome, having been taken in to the cult of Atom.

Can we please stop accusing each other of malicious intent? I can't believe there are people on both sides of this argument that can't see that the other could have a different experience.

Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by azinman2 on Friday March 18, 2016 @12:41AM (#11309950)
I'm just starting to use it today on a large code base, and it's been fine. Only have vim and go-plus plugins installed. I would guess plugins are what's slowing most.
Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by hacker_9 on Thursday March 17, 2016 @09:22PM (#11309160)
Did you not read my original post? I only just downloaded Atom for the first time.
Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by pyre on Thursday March 17, 2016 @10:08PM (#11309361)
Seems to me like you're suffering from "I can't replicate it therefore it does not exist and everybody else is either lying to me or a complete idiot."

You haven't actually called anyone out as liars or idiots, but your lack of belief of what they are communicating to you and the tone (from what I can gather) of your responses speaks for itself (whether or not that was your actual intention).

Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by spdustin on Thursday March 17, 2016 @10:59PM (#11309560)
So, no "real world" assortment of plugins for today's multilingual developer? Is that a valid assumption?
Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by yAnonymous on Friday March 18, 2016 @09:32AM (#11311639)
Broad statements like that make you sound like another editor's fanboy.
Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by riscy on Thursday March 17, 2016 @09:14PM (#11309128)
> went through a few files (each with 500-1000 LOC), did some editing and... didn't have a single problem with performance.

Pfft, 1000 lines of code? If Atom couldn't handle tiny files like that, you couldn't even call it an editor. Try working with a 10-20k+ line file (very common for me when looking at compiler output) and your heart will skip a beat when you realize that you had unsaved changes in another file before opening that file, because the whole program locks up for about 5 seconds trying to apply highlighting. I have to use sublime text for those files and watch where I click in Atom because of this.

I'm using a very recent quad core i7 MBP with 16GB ram and an SSD, absolutely not my computer.

Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by hacker_9 on Thursday March 17, 2016 @09:27PM (#11309179)
Ok sure, I opened up a 1000 SLOC file and copied until it was a 20,000 SLOC file, and performance was still fine. So I made it a 60,000 SLOC file. This time there was a small drop in perf as the editor caught up then it was fine again (not sluggish at all when editing the file).

Are you taking this compiler log from a remote build server? AS in that case it's your network that is the bottleneck as the file is copied to your computer, which could be causing the lock up.

Note: I'm using a 4790k 4ghz with 8gb RAM.

Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by riscy on Thursday March 17, 2016 @09:41PM (#11309229)
No, the file is not on a network; I don't get why you are in such disbelief... HN complains about a lot of things, but this is pretty cut and dry. I just opened a 2.4MB, 28425 line file containing LLVM IR, and it locks up just scrolling through the file, and the highlighter totally gave up and none of it is colored no matter how many times I try to get it to highlight it. Cutting it down to 5k lines gets me highlighting.
Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by pyre on Thursday March 17, 2016 @09:57PM (#11309302)
No! You must be lying! I just opened a file and experienced none of that. Therefore it is patently impossible for you to be experiencing what you say you are! /s

Didn't we get enough of this BS in the era where people were "victim-blaming" over BSODs in Windows because "I've never had a BSOD and I've been running Windows for years?"

Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by riscy on Thursday March 17, 2016 @10:53PM (#11309545)
Did you mean to reply to hacker_9 ?
Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by timlyo on Friday March 18, 2016 @04:44AM (#11310587)
I feel like it could have been a relevant response to most of the comments in this thread.
Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by pyre on Friday March 18, 2016 @07:44AM (#11311098)
I was mocking @hacker_9's continued disbelief of everything that people were saying about Atom's poor performance by replying to a comment about Atom's poor performance.
Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by skybrian on Thursday March 17, 2016 @10:19PM (#11309412)
Like the doctor said, if it hurts when you do that, don't do that.

I use Atom for reading source code because there's a language-specific plugin I like (for Dart). I also use Sublime for looking at output logs when I don't care about IDE-like features, and occasionally emacs or vi from the terminal.

Re:Atom 1.6 Released with Pending Pane Items, Async Git and ... by riscy on Thursday March 17, 2016 @10:58PM (#11309559)
Yea, that's basically what I'm doing now. My larger files are auto-generated source code so all I want is syntax highlighting. I'd like to use Atom for everything because it's pretty slick otherwise, but it's not there yet.