News for hackers. Stuff that matters.
Re:Rust Language Server Now Available with Rustup by masklinn on Tuesday April 18, 2017 @04:12AM (#14137187)
Language Servers are not "cloud" or even remote, they're local daemons with a standardised protocol, the "server" comes from the fact that you run a language server and various clients (IDE, refactoring systems, documentation, …) can connect to the server to query it and get information about files/projects in a given language without needing to understand the semantics of the language itself.

See https://code.visualstudio.com/docs/extensions/example-langua... for more.

Re:Rust Language Server Now Available with Rustup by flukus on Tuesday April 18, 2017 @04:17AM (#14137207)
Being pedantic, why is it called server? Wouldn't service be more appropriate? Or deamon for that matter, service is already over used in our field but a daemon has a specific meaning.
Re:Rust Language Server Now Available with Rustup by masklinn on Tuesday April 18, 2017 @06:22AM (#14137589)
> Being pedantic, why is it called server?

Because it serves data to clients connecting to it. Hence e.g. Emacs Server[0] or X Server[1]. Historically server doesn't imply a network operation.

> Or deamon for that matter, service is already over used in our field but a daemon has a specific meaning.

It's a subset (well not exactly you can have non-daemon servers but close enough), most daemons are not servers, in fact many daemons are client (e.g. ntpd).

Service is basically the windows name for daemon, so it has the same lack of connotation, a service can be a client, a server, neither, both.

[0] https://www.gnu.org/software/emacs/manual/html_node/emacs/Em...

[1] http://www.linfo.org/x_server.html

Re:Rust Language Server Now Available with Rustup by Freak_NL on Tuesday April 18, 2017 @04:42AM (#14137282)
Daemon doesn't imply communication capabilities, server does. In common parlance 'server' may carry a connotation of remoteness, but for software professionals a client/server architecture just means that there is a distinct process that other processes may 'talk' to via any agreed upon protocol (e.g., sockets or HTTP).

Just think of it as a local language server daemon. :)

Re:Rust Language Server Now Available with Rustup by Sean1708 on Tuesday April 18, 2017 @05:07AM (#14137354)
To me calling it a service would imply cloud more that calling it a server does.
Re:Rust Language Server Now Available with Rustup by oblio on Tuesday April 18, 2017 @05:22AM (#14137397)
Server is a bit overloaded but its most common meanings are:

1. PC that hosts a server application

2. Application that serves client applications.

After all, we have HTTP servers, FTP servers, etc.

"Server" seems to be the appropriate name, here.

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.