summaryrefslogtreecommitdiffstats
path: root/2022/talks/lspbridge.md
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-09-30 15:59:56 -0400
committerSacha Chua <sacha@sachachua.com>2022-09-30 15:59:56 -0400
commit67f0f1c500091db27a69cb3a05fffd20c137d6e4 (patch)
tree22f66de124999dca2f6d965795c8135d747aa6eb /2022/talks/lspbridge.md
parent0e44a3f1f7dbc27c92aa51aa50e898b163d56ac3 (diff)
downloademacsconf-wiki-67f0f1c500091db27a69cb3a05fffd20c137d6e4.tar.xz
emacsconf-wiki-67f0f1c500091db27a69cb3a05fffd20c137d6e4.zip
Add 2022 talks
Diffstat (limited to '2022/talks/lspbridge.md')
-rw-r--r--2022/talks/lspbridge.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/2022/talks/lspbridge.md b/2022/talks/lspbridge.md
new file mode 100644
index 00000000..f1efb495
--- /dev/null
+++ b/2022/talks/lspbridge.md
@@ -0,0 +1,30 @@
+[[!meta title="lsp-bridge: complete asynchronous LSP client"]]
+[[!meta copyright="Copyright &copy; 2022 Andy Stewart"]]
+[[!inline pages="internal(2022/info/lspbridge-nav)" raw="yes"]]
+
+<!-- Initially generated with emacsconf-generate-talk-page and then left alone for manual editing -->
+<!-- You can manually edit this file to update the abstract, add links, etc. --->
+
+
+# lsp-bridge: complete asynchronous LSP client
+Andy Stewart
+
+[[!inline pages="internal(2022/info/lspbridge-before)" raw="yes"]]
+
+Emacs built-in single-threaded mechanism and GC design will cause Emacs to freeze when receiving oversized LSP data.
+
+Lsp-bridge uses python's threading technology to build caches that bridge Emacs and LSP server. Lsp-bridge will provide a smooth completion experience without compromise to slow down emacs' performance.
+
+lsp-bridge is completely asynchronous, to the point that even the completion popup is controlled by lsp-bridge. It offloads all the computation to an external python process, and hence the emacs session itself stays always responsive, as it has very few things to do.
+
+lsp-bridge has now supported 39 LSP servers and all kinds completion backend: include LSP、 TabNine、 Citre、 Elisp、 Search Words、 Path、 Yasnippet、 Tempel、 Telegra、 English etc, it just works pretty well out of the box.
+
+Related design, please check <https://manateelazycat.github.io/emacs/2022/05/12/lsp-bridge.html> and <https://manateelazycat.github.io/emacs/2022/06/26/why-lsp-bridge-not-use-capf.html> (sorry, I'm Chinese Emacser)
+
+
+
+[[!inline pages="internal(2022/info/lspbridge-after)" raw="yes"]]
+
+[[!inline pages="internal(2022/info/lspbridge-nav)" raw="yes"]]
+
+[[!taglink CategoryCoding]]