News for hackers. Stuff that matters.
Re:Rust Language Server Now Available with Rustup by jblow on Tuesday April 18, 2017 @07:46AM (#14138027)
I think the sentiment still applies. Why is this a service instead of just a library I can link and use however?
Re:Rust Language Server Now Available with Rustup by masklinn on Tuesday April 18, 2017 @07:53AM (#14138062)
> Why is this a service instead of just a library I can link and use however?

Because if you want "just a library", there's already Racer.

Furthermore language servers can provide a coherent view to multiple clients at the same time, and are more independent from clients: clients don't need to develop against and link specifically to each and every library, they just need to speak the language server protocol.

Re:Rust Language Server Now Available with Rustup by josteink on Tuesday April 18, 2017 @10:02AM (#14138865)
> Why is this a service instead of just a library I can link and use however?

Because every language will be implementing and providing their own, often per compiler-release, and if you need to link up to get support, your editor will be limited to support only those who was built in.

It's a protocol. If your editor speaks it, it can speak it to all the servers (all of which are local daemons).

Re:Rust Language Server Now Available with Rustup by dom0 on Tuesday April 18, 2017 @08:46AM (#14138344)
> instead of just a library I can link and use

Because that does not work for most newer languages which usually include an invasive runtime. Rust is an exception there.