sourcegraph / go-langserver

Go language server to add Go support to editors and other tools that use the Language Server Protocol (LSP)
https://sourcegraph.com
MIT License
1.17k stars 89 forks source link

What is meant by "isolated" and "parallel" as features of this implementation #376

Open apatrida opened 5 years ago

apatrida commented 5 years ago

You use vocabulary when describing this language server that I can guess what it means, but would prefer to know what do you mean by "isolated" and "parallel" when describing the features of this language server?

keegancsmith commented 5 years ago

I actually can't remember when we added that. But I suppose what is different about our implementation vs most language servers is we designed it to run in a datacenter for Sourcegraph. So a single language server process can have concurrent workspaces active (connecting via TCP), and each one uses a virtual filesystem so the workspaces are isolated from each other (however, will share immutable resources when they can).