No announcement yet.

Clangd: LLVM's Clang Gets A Server

  • Filter
  • Time
  • Show
Clear All
new posts

  • Clangd: LLVM's Clang Gets A Server

    Phoronix: Clangd: LLVM's Clang Gets A Server

    An early feature for LLVM Clang 5.0 is a prototype implementation of clangd, a server component for the compiler...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Like Rust Language Server <>.

    It's good to see Language Server Protocol taking off though - means a lot less reinventing the wheel in the future. Now to see if all those syntax highlighting / static analysis plugins for clang get ported over or a parallel ecosystem continues.


    • #3
      Very cool, there are quite some approaches out there meanwhile, like RTags, however I've being asking for a long time, when clang itself will start to provide something like this.


      • #4
        Yeah, that's really nice actually.

        I hope this gets integrated to more IDE's once it stabilizes.


        • #5
          Originally posted by phoronix View Post
          It will be interesting to see what more features clangd tacks on in the months until the Clang 5.0 release later in the year as well as what IDEs end up providing support for it.
          Any IDE that supports the Language Server Protocol will automatically support it (as well as any other language server). That's the whole point.

          Originally posted by atomsymbol
          Nice clang feature/move. Although I don't understand why IDE usage is treated as "obvious"
          Because that's quite literally the Language Server Protocol's mission statement. Anything else is icing on the cake.


          • #6
            I wonder if there will be a "Distributed Compile" environment built into it, that'd be rather cool