News for hackers. Stuff that matters.
Re:Vim 8.0 is coming by ecthiender on Wednesday April 13, 2016 @05:40AM (#11486867)
To list few of the new features: Asynchronous I/O support, channels (Vim can now exchange messages with another process in the background asynchronously), Background jobs, timers, packages for plugins!

Wow! This is huge. So many interesting features landing on Vim 8.0.

Re:Vim 8.0 is coming by andrewstuart2 on Wednesday April 13, 2016 @05:47AM (#11486887)
Async I/O, plus JSON is seriously enormous. I'm very excited for how much faster things will be, and I can imagine JSON support will definitely make integration just that much easier. My one minor gripe was plugin speed, as syntax highlighting, linting, etc. can take long enough to be jarring.
Re:Vim 8.0 is coming by majewsky on Wednesday April 13, 2016 @07:14AM (#11487211)
Especially Syntastic. It's always a pain when every ":w" of a Ruby file hangs for 5 seconds during syntax checking because Ruby is so abysmally slow.
Re:Vim 8.0 is coming by andrewstuart2 on Wednesday April 13, 2016 @01:09PM (#11490088)
Yeah, Syntastic is my number one offender. I'd love to see Syntastic be able to just maintain a background server linting process (or several). I can imagine that alone, skipping all the environment loading/code parsing, would likely be good enough to make all but the longest files lint fast enough to be unnoticeable.
Re:Vim 8.0 is coming by andrewstuart2 on Wednesday April 13, 2016 @07:45PM (#11493281)
(Still worth it by far, though. I'll take a few seconds and nice error highlight over an hour of "Where the heck is my missing semicolon?")
Re:Vim 8.0 is coming by dopamean on Wednesday April 13, 2016 @10:42AM (#11488574)
Five seconds?! Mine hangs for at most half a second (and I thought that was a lot). I almost don't even notice it anymore.
Re:Vim 8.0 is coming by majewsky on Wednesday April 13, 2016 @12:59PM (#11489996)
Let's say these are five perceived seconds. The number might or might not be skewed by my passionate hatred of Ruby.
Re:Vim 8.0 is coming by jmedefind on Wednesday April 13, 2016 @12:47PM (#11489864)
I get long hangs (5 secs) when saving Ruby code.

I think it just takes a long time to load up all the gems rubocop relies on, then to process the syntax. I put the blame squarely on Ruby, not vim.

Re:Vim 8.0 is coming by ecthiender on Wednesday April 13, 2016 @05:49AM (#11486895)
Exactly!
Re:Vim 8.0 is coming by userbinator on Wednesday April 13, 2016 @07:08AM (#11487182)
Async I/O? In a text editor, where the bulk of the time is spent waiting for the user to do something?

I've used (an older version of) Vim on huge 100MB+ files and never thought it to be slow at all. In fact I don't think I've ever experienced any lag with Vim. I suspect you won't find this new version any faster.

Re:Vim 8.0 is coming by chronial on Wednesday April 13, 2016 @07:19AM (#11487232)
This is in fact fixing a massive pain point in vim, and one of the main reasons why NeoVIM has so much support. Saving a file in vim takes 1-2 seconds for me. Not because my disk is slow, but because I run some linters on my files, that take that long to all complete.

Async I/O is not about disk I/O, but communication with other programs.

Re:Vim 8.0 is coming by BonsaiDen on Wednesday April 13, 2016 @07:18AM (#11487222)
This is mostly about linters, makeprg's and things like Ctrl+P / Command+T, git-gutter etc.

I recently switched to NeoVim and it really _does_ make a world of difference, saving is a whole lot faster when git-diff can be performed asynchronously and the ability to scan directories in the background makes fuzzy searching of files a lot faster.

Re:Vim 8.0 is coming by hollander on Wednesday April 13, 2016 @07:51AM (#11487358)
I've opened 5GB files in Vim, on an average 2010 Ubuntu desktop. It took some time, like 5 minutes, but it worked.
Re:Vim 8.0 is coming by wodenokoto on Wednesday April 13, 2016 @07:53AM (#11487367)
> Asynchronous I/O support

I don't keep myself much up to date on these things, but wasn't this one of the main new features in NeoVim? (then code cleanup, then more language to script in)

Re:Vim 8.0 is coming by ecthiender on Wednesday April 13, 2016 @08:06AM (#11487437)
Yes it was. And now Vim is getting those features as well.
Re:Vim 8.0 is coming by caipre on Wednesday April 13, 2016 @11:42AM (#11489131)
Are they merging code from neovim, or is it a parallel implementation?
Re:Vim 8.0 is coming by oblio on Wednesday April 13, 2016 @01:48PM (#11490444)
Parallel. Bram (Vim maintainer) doesn't seem to like Thiago (Neovim lead dev).
Re:Vim 8.0 is coming by Ericson2314 on Wednesday April 13, 2016 @12:30PM (#11489658)
I think the former---from what I've heard neovim and vim are on very good relations, and here is the fruit of that.
Re:Vim 8.0 is coming by levemi on Wednesday April 13, 2016 @01:51PM (#11490479)
Negative. NeoVim does away with supporting the ancient systems that are important to Bram for some reason. I seriously doubt they will merge.
Re:Vim 8.0 is coming by Ericson2314 on Thursday April 14, 2016 @10:04PM (#11501596)
Good relations =/=> must plan to unfork, at least in a post-git world.
Re:Vim 8.0 is coming by superskierpat on Wednesday April 13, 2016 @11:48AM (#11489202)
Well except for the code cleanup and the more extensive scripting options ;)

I've been a happy neovim user for a few months now, but I'm still glad to see that vim is keeping itself up to date.