Announcement

Collapse
No announcement yet.

Clangd: LLVM's Clang Gets A Server

Collapse
X
 
  • 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...

    http://www.phoronix.com/scan.php?pag...-Clangd-Server

  • #2
    Like Rust Language Server <https://internals.rust-lang.org/t/introducing-rust-language-server-source-release/4209>.

    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.

    Comment


    • #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.

      Comment


      • #4
        Originally posted by phoronix View Post
        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...

        http://www.phoronix.com/scan.php?pag...-Clangd-Server
        Nice clang feature/move. Although I don't understand why IDE usage is treated as "obvious", I can imagine a different "more obvious" use case for clangd - maybe I am thinking ahead about something that clangd will probably converge into over time assuming it won't be abandoned in the meantime.

        Comment


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

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

          Comment


          • #6
            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 View Post
            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.

            Comment


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

              Comment

              Working...
              X