emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Renaming eglot -- or at least add an alias?


From: Theodor Thornhill
Subject: Re: Renaming eglot -- or at least add an alias?
Date: Thu, 13 Oct 2022 08:59:04 +0200


On 13 October 2022 02:47:51 CEST, Stephen Leake 
<stephen_leake@stephe-leake.org> wrote:
>Richard Stallman <rms@gnu.org> writes:
>
>> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
>> [[[ whether defending the US Constitution against all enemies,     ]]]
>> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>>
>>   > > Because all of the interaction between server and client in lsp is json
>>   > > there's a huge overhead with parsing and shipping things into the emacs
>>   > > user interface.  So IMO what tree-sitter is good at should be left to
>>   > > tree-sitter.
>
>Premature optimization.
>

Why do you say that? 

I've been using lsp for a long time, and typing lag can get unbearable with 
servers that sends too much stuff. When 20k completions containing _full_ 
documentation for every result that json gets humongous. Adding syntax 
highlights on top of that isn't advisable, considering emacs nonmultithreaded 
nature. 


>In practice, eglot is fast enough. That's why LSP servers are so
>popular.
>

That does not mean piling on features will help. Eglot is fast exactly because 
we've been mindful on what has been added. 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]