News for hackers. Stuff that matters.
Re:Apple's investment into Clangd and refactoring tooling by DannyBee on Thursday April 19, 2018 @10:46AM (#16876327)
Just to clear what seems to be some confusion in what you wrote:

Clangd already exists (it was contributed and mainly maintained by Google, IIRC), and works great. It supports LSP, and works fine with vscode.

What apple is investing in is making it their default tooling.

So the benefits of this change are exclusive to apple xcode (ATM) :)

The benefits to using clangd in general are (among poher things) editor agnosticism and scaling.

If everyone uses libclang, libclang must scale to every codebase (or a least, the interface, and then you'd have to replace/relink it).

If everyone uses LSP, you just need something that speaks LSP, and scales to your codebase.

At the scale of Google's codebases, for example, the first is untenable, the second is doable.

Re:Apple's investment into Clangd and refactoring tooling by kenferry on Thursday April 19, 2018 @11:11AM (#16876570)
Well, I mean, it's a little more than that unless clangd is straight up finished software. Apple will now be contributing to clangd as well, which benefits all clients of clangd.
Re:Apple's investment into Clangd and refactoring tooling by DannyBee on Thursday April 19, 2018 @11:34AM (#16876744)
That is why I said "at the moment". It also depends heavily on what extensions are contributed and how and whether they are standardized, etc.

Certainly missing LSP functionality helps everyone, but the rest depends quite a lot on approach and details.