Nvim vs Zed with 30k cursors
5,2 тыс. подписчиков
65 566 просмотров
54 комментария
Комментарии из оригинального поста в X (Twitter)

@DormantSakthi
Ahh yes I need to use 30k cursors
119 отметок «Нравится»

@lobre8
Here is Kakoune with 300k selections.
18 отметок «Нравится»

@justinmk
nice! Nvim still has a lot of baggage to remove (and low-hanging fruit) to improve editing speed; my multicursor work hasn't touched any of that, only focused on MC itself being fast.
8 отметок «Нравится»

@meekaale
it's time to rewrite zed in rust
14 отметок «Нравится»

@lisikpatryk
Is this going to be available in neovim 0.13?
4 отметки «Нравится»

@justinmk
yup
14 отметок «Нравится»

@rushter
It's almost instant for me in helix, 80k of short strings
4 отметки «Нравится»

@justinmk
i'm sure Zed can fix whatever is happening here. and Nvim will be able to fix perf issues as we go along too. that's why architecture matters, it allows you to iterate.
24 отметки «Нравится»

@dcolascione
Are cursors here implemented like Emacs markers? An unsorted singly linked list? There was a patch to change to change them to a tree with much better asymptotic bounds but it didn't land. (In Emacs, point is literally a marker.)
3 отметки «Нравится»

@justinmk
Nvim cursors use "marktree", an internal data structure that has nice things like bisect. > In Emacs, point is literally a marker. sadly, Nvim "primary" cursor is still separate. changing that would be a boil-ocean refactor :<
12 отметок «Нравится»

@6thScythe
50% of people hyped to the moon 49% of people don't get it 1% of people kakoune Personally I see this as monumental. Gaining some of the capabilities of kakoune/helix, with Neovim's built up (and incredibly hard to replace) plugin ecosystem is going to be incredible
2 отметки «Нравится»

@marktyrkba
Don't test this in EMACS your computer is gonna blow up
2 отметки «Нравится»

@diachkow
Proud to be neovim user
2 отметки «Нравится»

@borrowck_novel
Very cool. Why is Zed on the CPU and not on the GPU though?
1 отметка «Нравится»

@justinmk
@ZH1YGD idk. i have a 2025 macbook air, maybe it doesn't have a H200?
16 отметок «Нравится»

@borrowck_novel
Tbh, I don't know how things work on mac, but on a regular laptop with integrated and dedicated GPU, I would assume that Zed was running on the integrated only. That's something sometimes desirable to reduce noise and battery consumption. I think it is worth it to ask someone knowlegdable with macs.
1 отметка «Нравится»

@AdamSmielewski
pov: i'm trying to contribute a feature somewhere the maintainers: but what if the user has 30k cursors? this would impact performance
1 отметка «Нравится»

@eduardoarandah
This is epic! Great job 👏 A lean performant editor is the kind of editor that we will someday carry on a watch
1 отметка «Нравится»

@Jezda337
is this a block select or multi-cursor feature that is coming to Neovim?
1 отметка «Нравится»

@justinmk
multicursor
7 отметок «Нравится»



















