by bluedino · 10y ago · 0 comments
Just because Sublime's developer isn't updating it as much as he used to doesn't mean anything. What more could you want? The community hasn't stopped with plugin development which is what really counts.
This just reminds me of the consumer software mindset where a new version needs to come out every year, just for the sake of it. There's nothing wrong with using 'old' software that just works.
Granted I would expected it to be slower using an interpreted language and all but other than opening large files the only thing noticeably slower to me is start-up. That's it. The plug-in ecosystem got me to permanently switch to Atom and it's very fast. I also haven't noticed any battery issues yet as I still will frequently use my MacBook for sometimes most of a day before needing to charge.
I'm not sure if you were speaking from experience with Atom or just approximating but it's surprisingly good. I know I was extremely skeptical to the point of calling it a dumb idea to write an editor in the way they did but after they dumped react I don't notice any slowdowns.
Granted, I typically use Sublime in a way that others probably do not...more for manipulating / viewing data than actual coding. Outside of HTML, JS & CSS, I tend to use IDEs for development (VS for C#, XCode for ObjC and Jetbrains for most everything else). Maybe Atom isn't meant for that type of use and it much more suited for use as something akin to an IDE.
All that being said, I have found nothing that compares to Sublime for simple data viewing / manipulation (regex)...it seems to have no issues with 100+ MB files where as I don't even know if Atom could open something that large.
Since I only use Atom to write code I would consider anything over, say, 200kb a large file. Unless it's a log file I never open anything larger than that in Atom. A few MB usually isn't too bad but once I hit around 5MB it gets to be just too slow.
I use sublime for browsing log files :)
That's a big pain point, if you switch between windows (e.g. browsers - including some tabs/incognito for testing etc.). After having used eclipse when I moved to ST 3/4 years ago. I realized what I was missing. Faster start time and switching is a must. I normally have 3/4 projects (i.e ST sessions open). And just using key board (ctrl-tab) switch between them, and its almost instantaneous.
I typically use it for coding Go, bit of C++ and web UI (javascript etc).
The fast feel is so good, that now, I think even if I need to start a Java project, I will try ST with some appropriate plugins.
I typically have 4-5 Atom windows open all with multiple files open and each has always opened instantly when switching.
Have not used Atom. Great for you, if you like it.
My point being, when I started to use ST (which has been coded in C++). It dawned on me, that most editors not coded in C/C++ (or coded in Java, which are the ones I used) are slow, mainly because of lots of extra memory usage. Using ST also brought back the memories of fast and responsive Vi(m) earlier. I recalled, even MS Visual C++ (which I believe is done in either C or C++), which I used before eclipse/etc was quite fast. Hence my submission. So now, I don't think I am going to like using a coding editor, which is done in any garbage collected language (basically any non C/C++ language). As a side note, when I tried to use the DartEditor for coding in Dart, after having tasted ST, I was thinking why did Dart team not make a simple ST plugin instead? I believe an editor could make a difference in adoption of a new language. In love with ST.
Javascript isn't interpreted, it is dynamically typed, but there is a compilation process before any JS code even executes.
The plugin system is great. But updating, searching, parsing, is very slow. Have you tried displaying the keybindings? It takes forever.
While I love Atom for small projects, its slowness is what drives me away for large projects.
One great thing that came out of it was Electron though, neat piece of software.
Note: I run it on the beefiest 17" mid 2015 Macbook Pro.
Being interpreted and dynamically typed are not mutually exclusive. Regardless I'm not going to get into a pedantic argument about what is or isn't an interpreted language because it's ridiculous. If you feel strongly about JavaScript not being an interpreted language, as per your personal definition of interpreted languages, then feel free to update the wikipedia article (https://en.wikipedia.org/wiki/Interpreted_language).
> The plugin system is great. But updating, searching, parsing, is very slow.
I haven't noticed. By the time I get to the point of needing a search function over a project (because in file is instant) it's not the fastest operation in any editor.
> Have you tried displaying the keybindings? It takes forever.
Yeah though I've never noticed any slow down in doing so (seems to open in less than a second every time I try it on my MacBook Air). Regardless keybindings is something I'd open once every 3 months-ish; so it could take 20 minutes to open for all I care as long as the editor itself is fast and improves my productivity, which at the moment it does (I previously used Sublime).
I move to whatever editor makes me more productive. I have no loyalty here. I tried Visual Studio Code which was pretty nice but I'm too used to tabs and had to move back to Atom.
Yeah I've opened maybe one or two files like that before. I honestly can't remember if there was an issue or not but like I said I would be shocked if I ever needed to open a file that's bigger than, say, 200kb in Atom. If I need to open a big file that's, say, logs or contains base64 encoded stuff in it then I use Sublime. Atom just isn't a good fit for opening large files.
Right tool for the job and all :)
Switching to Atom a few months ago let me get things linting errors displayed inline [1]. Sublime plugins have very limited ability to tweak the editor contents.
There's also a neat Git plugin that turns Git's textual conflict markers into live markers allowing you pick which side to use. It also displays a list of pending project-wide conflicts while you're working — also not something Sublime plugins can do.
The Markdown Preview package is very nice. It displays a preview window inside Atom. Sublime can't do this because of the API.
Atom has a bunch of Go packages that autoformat on save, provide "intelligent" autocompletion (e.g. type a variable and a dot and it will suggest methods callable on the variable), lint/syntax check, and so on. (In particular, Atom's autocompletion mechanism is extensible; plugins can provide completions based on context. Sublime's autocompleter is hardwired, I believe.) There are some Go packages for Sublime, but they never worked properly for me. The ones for Atom are quite polished and just work.
Sublime plugins can't modify the file sidebar. With Atom, I can have the sidebar colorized based on Git status, for example.
The color-picker package is great — when editing CSS you can get a little color picker popup for color codes. Again, not possible in Sublime.
In short: Sublime has a very limited plugin API that supports very little side from editing text. Atom's API opens up a ton of possibilities that simply can't be done in Sublime.
And this is why I'm on ST2
That's why I use TextMate ;) Honestly, it's got a great UX and is native for OSX. But hey, use whatever you enjoy.
Printing.
I'm not the only one to feel this way. https://www.google.com/search?q=sublime+text+printing
Atom users, too: https://discuss.atom.io/t/printing-support/760/8
https://en.m.wikipedia.org/wiki/Exponential_growth
Note, I own Sublime and still use it. However, I do see great value in the Atom project. Developers shouldn't fall in love with an editor. Key bindings perhaps. The ideal editor would let me turn it into vim or Emacs, for example.
First, there are no more free "Moore's Law pushes". There haven't been any to write home about for at least 2-3 years. It's now all about multicore (which is also not exactly the best thing for a JS based editor to benefit from).
Another issue is that JS performance has already reached most of the optimizations out there. With the JIT-based JS engines there has been a 100x or more speedup from early JS to circa 2010 or so. Not it's at best some 20%-30% speedup year over year, and that only in some narrow cases. Even webassemply (when that lands as a viable option) is not expected to change that much.
As for the larger developer community, ST already has a huge development community for plugins -- which is where most of the action happens. And sometimes a talented programmer with a strong opinion can be better than "design by comitee".
That said, I find Atom to be a nicely designed editor which would have a great potential, if only it wasn't burdened with a crappy architecture and runtime choices. It might not even be JS fault, as Microsofts VS Code seems to do much better.
And you're saying that a 20%-30% (6x-13x) improvement over then next 10 years won't make a big difference? If Atom was 10x faster, would it be more useable?
As for concurrency not being applicable, that might be true for some tasks but I can easily imagine scenarios where is would help greatly. Multiple buffers and files. Replace and search for example. Indexing, concurrent garbage collectors, ...
So, in your scenario, if cpu's only become 10x faster and we get 60 CPUs, we won't be able to make a better editor?
The "transistor count" version of Moore's Law has been saved by multiple cores. The speed version hasn't been true for single core performance for years.
> You are asking us to believe the recent past means that we will not get more single cpu performance increases over the next 10-20 years.*
Moore's law is put in specific time terms -- transistors/power(speed) should double every 18 months. So if this hasn't been the case for the recent 2-3 years, then Moore's Law is already broken -- no belief required. The fact that it's very possible we'll might see another CPU speed breakthrough in, say, 2022 or 2028 or 2050 doesn't change that -- as Moore's Law talks about sustained improvements over 18 month periods.
Besides, few in the industry disagree that the Moore Law is pretty much over. That's a great motive behind all the talk of optimizing multicore performance, functional techniques etc.
>And you're saying that a 20%-30% (6x-13x) improvement over then next 10 years won't make a big difference? If Atom was 10x faster, would it be more useable?
As already said, this 20-30% is "at best" and covers specific benchmarks and uses, not general speed. And nobody said this is sustainable long term either. After a JIT engine reaches a specific point of sophistication, there are few things that one can add to make it even faster.
>Next month, the worldwide semiconductor industry will formally acknowledge what has become increasingly obvious to everyone involved: Moore's law, the principle that has powered the information-technology revolution since the 1960s, is nearing its end.
http://www.nature.com/news/the-chips-are-down-for-moore-s-la...
You mean like vim-mode is already existing in every editor worth to be called editor?
(Also some of us used vi too, and that didn't have all the stuff vim comes with either).
Your projection also implies that programmers of the future won't also produce exponentially slower code. I have doubts about that, considering how unresponsive programs these days are, compared to their counterparts of two decades ago (when most programmers actually cared about performance).
Thats a bit over exaggerated. As fine for me. Maybe I have a faster laptop