‹ BackHN Continuity

Thread

Why building a Rust LSP is hard

144 points · 77 comments · agluszak

  1. mitxela · · focus · HN ↗
    Using a JSON TCP connection for what on Windows would be direct function calls (COM) or in Eclipse would be direct function calls between Java modules always felt a bit gross.
    1. pjmlp · · focus · HN ↗
      It only makes sense in the context of host security and stability, as proven by plugin issues in those IDEs.

      However, to come back to your point, there are much better high performance OS IPC mechanisms for inter process communication than sending JSON down through a TCP wire.

      As others point out, Electron.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.