8 ms·
Atom 1.10 and 1.11 beta
- balanceiskey15 10y agoObligatory: Is it fast yet? Apologies if this comes off as trolling. I really want it to be snappy so I can switch over.
- Dowwie 10y agoWhat were you doing with it that gave you performance problems? Basic navigation has millisecond response time. Auto-complete / live syntax checking for Python is instantaneous. My peeve is with font rendering. The same fonts look better in pycharm. I hope they improve this.
- jve 10y agoMy use case: Open some html file with thousands of lines. Was unusuable. But that was long ago.
- virmundi 10y agoSimilar real line: Does it still eat battery like a mid-westerner at a buffet? I've thought about using underlying tech for a desktop app. I don't know how easy it will be to sell given that it would drain battery at probably 1.5 the rate of a normal Java or QT app.
- ralmeida 10y agoFor what's worth (and to the best of my knowledge), Spotify's and Slack's desktop apps are based on Electron, the same "underlying tech" as Atom.
- PeCaN 10y agoYeah, and they're both pretty miserable. I'm thinking of unsubscribing to Spotify just because their desktop client is so bad. Also, I'm not sure why Slack needs ~250MB of RAM. Seems a bit extreme for a chat app.
- ishansharma 10y ago250 MB for slack is good. I am in 4 teams and it is consistently taking 1 GB or more. Something is wrong when a chat app takes more RAM than my Vagrant VM running an entire OS!
- Klathmon 10y ago250mb of RAM for a chat app that can display 4k assets, renders every known written language under the sun side-by-side in multiple fonts, supports a stupid number of emoji, has an inline image viewer, realtime sockets kept open for notifications, includes syntax highlighting for a bunch of languages, a wysiwyg-ish editor for posts, one-on-one audio chat, and can work effortlessly with hundreds of people in a single channel (which is about as many as i've seen, but it could do more). I think that's more than reasonable, and trying to get that number down to anything lower would be such a waste of resources for almost no payoff (what percentage of users do you think will have their lives measurably improved by having slack use 100MB less RAM?) Oh, and mine is only using 100MB and has been running for a few days at least.
- bnt 10y agoSlack is eating up 560MB on my machine. I actually do wonder why it needs this much.
- coldtea 10y ago>250mb of RAM for a chat app that can display 4k assets, renders every known written language under the sun side-by-side in multiple fonts, supports a stupid number of emoji, has an inline image viewer, realtime sockets kept open for notifications, includes syntax highlighting for a bunch of languages, a wysiwyg-ish editor for posts, one-on-one audio chat, and can work effortlessly with hundreds of people in a single channel Not of what you wrote is even remotely difficult to be achieved, even in a 50MB-using native app. In fact most of those things come for free with the OS and relevant native libs are already loaded into memory: "renders every known written language under the sun side-by-side in multiple fonts", "supports a stupid number of emoji" (the OS font-renderer can give all that to all apps for nearly free) "can display 4k assets", "has an inline image viewer" (I can do that in a trivial app that's 1MB or less). "includes syntax highlighting for a bunch of languages" ... Really, none of these features, and neither all of them combined, warrant 250mb of RAM.
- HalfwayToDice 10y agoUgh that's maybe why Slack is one of the slowest apps I've encountered on my Mac. Asides from Atom.
- peterkelly 10y agoI think it's unlikely the performance issues are related to the underlying tech (that is, Electron), since it's basically a custom build of Chromium that omits the normal web browser controls. Performance-wise, if your app is suitable for running in a browser, it should be fine for bundling with Electron.
- ralmeida 10y agoAs noted in a sibling thread, other Electron apps such as Spotify and Slack do suffer from performance issues, and the general notion is that Electron apps are "slow by default" - that is, slow unless you take explicit effort to make them fast.
- coldtea 10y agoSince when are programming editors handling large files and IDE-like features "suitable for running in a browser"? I know there have been several (browser based programming editors) over the years, but all have been equally crappy and slow on medium to large files, and not that better at normal workflows either.
- cwyers 10y agoAs a Midwesterner, I have to ask, what do you coastal folks do at your buffets?
- heydenberk 10y agoTrick question.
- msbarnett 10y agoI wouldn't really call buffets a coastal phenomenon. I mean, there's the odd one here or there, but compared to the last time I was in Kansas, they might as well not exist.
- bryanlarsen 10y agoI thought buffets were called smorgasbords in the midwest, or is that just Minnesota?
- twic 10y agoWell they don't eat batteries, it seems. I know, doesn't make a lot of sense to me either.
- madspindel 10y agoAt least moving around tabs is fast now. Other than that I feel Atom is pretty fast on my computer. Still some problems with large files compared to VSCode but I still like Atom more.
- Klathmon 10y agoNothing "earthshattering" in either of these releases. But progress is definitely being made. I have nothing to really back this up, but it looks like they are in the "death by 1000 cuts" mode of trying to speed things up. Little improvements here or there, little speedups across the board, refactoring bits of code to skip processes that aren't necessary when possible. Those kinds of things. If you are waiting for a big event like "hey we did X and now it's 5x faster across the board" i don't think you are going to see it any time soon (and if it does happen, you can be sure it'll be in the title!). That being said, this release does bump the node version up, and the npm version. A lot of the startup slowness is from finding and loading node modules (at least from the bit of profiling I did months ago), and NPM3's flatter structure should allow maximum "reuse" of modules meaning less time reparsing identical modules. I don't know if this will have any actual visible changes, but again, death by 1000 cuts.
- acdanger 10y agoYes and I would also add - is it stable yet ? I had numerous instances where Atom would crash at inopportune times on my 2015 16GB MBP. I Really hope these core issues have been fixed. Seems like a great editor and I’d love to be able to give it another shot.
- swinglock 10y agoI don't think it is, this is the only thing I'm interested in hearing from Atom. Every time I've tried it has been unusable to me, I need it to be at least close to Sublime performance and resource usage to matter.
- embwbam 10y agoThey fixed the input lag a few releases ago. I switched from neovim two months ago and it can keep up with my mad keystrokes now. It still takes a while to launch, but that isn't as important to me as performance once it is running.
- thatswrong0 10y agoThere are still little things that I notice are slow. For example, when I search for text within a file, I hit Cmd-f, then paste whatever I'm searching for.. And then my previous search finally loads and overwrites my actual search. In other words, I'm quicker at pasting than the editor is into the search window, so I have to deliberately slow down my paste. I'm actually trying VisualStudio Code now, mostly because Atom handles indentation terribly. Trying to copy and paste and preserve indentation is a lost cause as of now.
- jszymborski 10y agoI use it daily for PHP development, and I don't ever notice performance slow-downs unless I accidently click on a >1mb image and it tries to write the binary to display.
- ChrisClark 10y agoYup, it's perfectly fast. I never notice any slowdown and code on it all day.
- mrspeaker 10y agoOne thing I just tried: opening a bundle.js file. I accidentally do this at least once a day and it crashed Atom every time. The 1.11 beta handles it fine now. Good job Atom people!
- haylem 10y agoWell, that's quite an underwhelming comment... Yay, we can open a file!
- puppetmaster3 10y agoI have been developing for 20 years, handy w/ vi, eclipse, inteliJ, sublime... But the new king is Atom. One reason is it easily plugs in the modern 'transpilers' / generators. Ex: jade. inteliJ is pita for jade. i urge you to try the free atom.
- ythl 10y agoTried it. Too laggy and unresponsive compared to Sublime. I shouldn't need an i7 to run a text editor.
- puppetmaster3 10y agoIf you do web work, you may even have to render a video, maybe batch resize a bunch of images. I suggest an high end i7 for all developers, especially web dev/designers.
- ythl 10y ago> I suggest an high end i7 for all developers I suggest that too; unfortunately the company I work for gives us cheaper machines with AMDs to cut costs.
- wott 10y agoThat's the worst suggestion possible. It is the reason why why developers do not even notice that their program/application/page uses one or two orders of magnitude more resources than it needs and thus will bring many users' machine to its knees and run way slower than it should. Since I am not going to follow the upcoming conversation, I sum it up in advance: * [Insert here the usual "yes, but nowadays everyone has got X Go RAM, and a CPU scoring YYY WhateverMark." ] * That's not true by any means, in real life most non-geek people do not have these or want to buy them (even if "every computer sold nowadays comes with it" was true, which it isn't either) just to do everything that they could already do 10 years ago, but in fuchsia now; and even people with an up-to-date machine may wish to run several different programs or several instances of the same application in these days without eating all their RAM, maxing their CPU or draining their battery.
- nkg 10y agoThe version number going from 1.9 to 1.10 disturbed me...
- ythl 10y agoWhy? 1.9->2.0 would not make sense in most release schemes. Most release schemes are major.minor, so incrementing the major number implies a MAJOR change. So major that it is probably not backwards compatible with the 1.X versions.
- krisdol 10y agoI suggest you read about Semantic Versioning (http://semver.org/ http://semver.org/).
- nkg 10y agogood read, indeed!
- profmonocle 10y agoVersion numbers aren't decimals. If they were, versions like "1.0.1" wouldn't make any sense.
- dragonwriter 10y ago> Version numbers aren't decimals. Using groups of numerals separated by decimal points to communicate this not-decimal nature is, however, a potentially very confusing overloading of notation (and, actually, while most version numbers using notation that looks like that now don't have decimal number semantics, that's not historically universally true; version numbers that were -- at least to the extent of comparing as -- decimals were actually quite common in the past.)
- Jtsummers 10y agoAnd still are in some contexts, but that creates its own confusion. Developers reserved 2 digits for the minor revision. So what happens at 1.99 when they realize they don't want to go to 2.00 (perhaps 1.99 was a bug fix for the legacy system and 2.xx is already out there). If you want to use a decimal-imitative notation, do like Knuth and have your system's version number converge to Pi or e or some other constant.
- kapv89 10y agoObligatory: Please stop trolling atom on performance. Have set up several dev teams on atom + eslint. Finishing up my own product now, 170K LOC react-native app, 7K LOC api code. All written on atom. One thing it hasn't done noticeably till now is lag. The only times I see a hit on perf is when I run react-native server, genymotion emulator, chrome, and android studio along with atom. But then, I see a perf hit on everything at these times.
- grosbisou 10y agoTry opening a database dump or a log file in Atom. It is slow and it will crash.
- jszymborski 10y agoSuggesting to screw a nail or hammer a screw will lead to similarly unsatisfactory results. Atom is for writing code, not viewing logs. We have tail and syslog and a thousand other tools for that.
- JorgeGT 10y agoI thought it was a text editor. It is rather curious that it cannot open large text files.
- ChrisClark 10y agoNo, it's a code editor.
- ssully 10y agoNot according to their website https://atom.io https://atom.io "Atom - A hackable text editor"
- tree_of_item 10y agoNo, it's a text editor, like it says on https://atom.io/ https://atom.io/. It doesn't do much for "code" besides draw keywords in pretty colors.
- peterkelly 10y agoI'm an avid user of Atom, but one thing I'm curious about regarding the performance issues (which I primarily see on startup) is whether or not the JIT compilation done by V8 (which is what it uses behind the scenes) does any caching of generated code that lasts beyond a single program launch. JavaScript JITs are designed with interpretation first in mind, and then optimised native code generation for hotspots. This works pretty well for apps loaded irregularly, but I'm wondering if it happens for apps based on Electron (of which Atom is an example)?
- randomfool 10y agoSuch as http://v8project.blogspot.com/2015/09/custom-startup-snapshots.html http://v8project.blogspot.com/2015/09/custom-startup-snapsho...? At a glance, it looks like there were some issues: https://github.com/electron/electron/issues/169#issuecomment-33667112 https://github.com/electron/electron/issues/169#issuecomment...
- weatherlight 10y ago“There are only two kinds of languages: the ones people complain about and the ones nobody uses.” ― Bjarne Stroustrup, The C++ Programming Language Same goes for Software, I love atom precisely because I can hack it into whatever I need it to be with knowledge I currently have as a Web developer. For that and that alone, Atom is awesome :)
- azeirah 10y agoI don't use it, I just complain about it and use Sublime instead :D
- Dowwie 10y agoMy hardware was set up in January 2013: cpu: i7-3770 CPU @ 3.40GHz , ram: Patriot 16GB(2x8GB) Viper III DDR3 2133 (PC3 17000) , ssd: Kingston HyperX 3K 240 GB SATA III 2.5-Inch 6.0 Gb/s Solid State Drive SH103S3/240G , mb: ASUS P8Z77-V LGA 1155 Intel Z77 HDMI SATA 6Gb/s USB 3.0 ATX Intel Motherboard Operating System: Ubuntu 16.04 My Atom performance report: No lag nor unresponsiveness to report. Nav responds in milliseconds as does auto-complete and live Python syntax checking. I am using atom primarily for Python development.
- 120bits 10y agoOk after reading comments about performance compared to sublime. I wanted to try this out myself. I opened a 7.5K LOC on both atom and sublime, atom was responsiveness and no lag. Second, I fired up my linux machine and filled a log file with 159K lines. I use vi first and no lag. I opened it on atom, it was slow, took more than 30 secs to basically show the file, not completely loaded. And finally, I opened that log file on sublime, bam! instant load, no lag. So, yes, I can see what fellow HNers have been saying about the performance. cpu: intel core i5 680 @ 3.60GHz, Memory: DDR3 12G, OS: Windows 10 Professional
- jhallenworld 10y agoHere is a performance comparison of a bunch of editors: https://github.com/jhallen/joes-sandbox/tree/master/editor-perf https://github.com/jhallen/joes-sandbox/tree/master/editor-p...
- zzleeper 10y agoWait so Atom uses 825mb of RAM to open a 5mb xml file with no highlighting? (compared to 64mb for Sublime and 34mb for notepad++) My newish X1 Carbon has 8gb of ram (soldered); this probably means a few Atom instances are enough to use all the RAM...
- azeirah 10y agoJust to let people know, github is very interested in making Atom more performant; look at this job opening: https://jobs.lever.co/github/baaa9a2c-c249-4d06-b73f-e9bee1a3d147 https://jobs.lever.co/github/baaa9a2c-c249-4d06-b73f-e9bee1a... > In the next year we're focused on improving Atom's performance, collaboration features, and better responsiveness with our open source community. > Things that might make you stand out include: > •Demonstrable experience building lightning-fast desktop applications > ..
- wldcordeiro 10y agoFYI to anyone on Linux (may apply to other platforms too), the beta doesn't override your previous install anymore so if you had the 1.10 beta you need to uninstall that after because the 1.11 beta is `atom` and the 1.10 was `atom-beta`.
- crbelaus 10y agoAtom is my main editor (actually I use Vim for git commit messages and for doing quick file editions). It may be unresponsive sometimes, but it is known, officialy recognized and actively being worked on. The main reason I use Atom is because it is free as in freedom. Since Emacs and Vim no other free text editor has received so much effort. This makes me think that Atom will live for a very long time.