[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Elisp LSP Server
From: |
Po Lu |
Subject: |
Re: Elisp LSP Server |
Date: |
Thu, 14 Oct 2021 14:58:05 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> The main benefit, AFAIU, is to use the system's execution units more
> efficiently by off-loading some of the CPU-intensive work to another
> Emacs process.
On the other hand, this doesn't require making the Emacs instance act as
a language server, which will also come with the benefit of not having
to use a mechanism as bloated as JSON RPC for communication.
Implementing an entire Language Server when the goal is to offload work
onto another execution unit seems overkill to me.
> I'm surprised. How large are memory footprints of "other LSP language
> servers", and how large do you envision the footprint of Emacs-based
> server to be? Emacs has ceased to be THE memory hog long ago, it's
> actually quite modest in its memory requirements nowadays. So I don't
> see why this particular job would require Emacs to become such a
> memory-hungry application.
FWIW, CCLS, a popular language server for C/C++ code can easily take
many gigabytes of RAM when working on relatively large C++ codebases.
I don't remember exactly how much CCLS took on the Emacs codebase
(everything in lib, lib-src, and src), but it was somewhere around 600
megabytes.
- Re: Elisp LSP Server, (continued)
- Re: Elisp LSP Server, Tim Cross, 2021/10/12
- Re: Elisp LSP Server, Joost Kremers, 2021/10/13
- Re: Elisp LSP Server, Dmitry Gutov, 2021/10/13
- Re: Elisp LSP Server, Tim Cross, 2021/10/13
- Re: Elisp LSP Server, Stefan Monnier, 2021/10/13
- Re: Elisp LSP Server, Dmitry Gutov, 2021/10/13
- Re: Elisp LSP Server, Eli Zaretskii, 2021/10/14
- Re: Elisp LSP Server,
Po Lu <=
- Re: Elisp LSP Server, Po Lu, 2021/10/14
- Re: Elisp LSP Server, dick, 2021/10/14
- Re: Elisp LSP Server, Augusto Stoffel, 2021/10/14
- Re: Elisp LSP Server, João Távora, 2021/10/14
- Re: Elisp LSP Server, Richard Stallman, 2021/10/15
- Re: Elisp LSP Server, João Távora, 2021/10/16
- Re: Elisp LSP Server, Richard Stallman, 2021/10/17
- Re: Elisp LSP Server, Dmitry Gutov, 2021/10/17
- Re: Elisp LSP Server, Richard Stallman, 2021/10/20
- Re: Elisp LSP Server, Tim Cross, 2021/10/17