clangd VS rtags

Compare clangd vs rtags and see what are their differences.

rtags

A client/server indexer for c/c++/objc[++] with integration for Emacs based on clang. (by Andersbakken)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
clangd rtags
53 3
1,307 1,820
5.0% -
2.2 4.5
8 days ago 14 days ago
Shell C++
Apache License 2.0 GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

clangd

Posts with mentions or reviews of clangd. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-28.

rtags

Posts with mentions or reviews of rtags. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-07.
  • How to combine rtags and vertico
    4 projects | /r/emacs | 7 Apr 2023
    I decided to install cmake-ide. It seems that rtags came along with the former. Fine, but I also decided to use the vertico package. It also seems that rtags has a support for Helm, but from what I understand, Helm and and Vertico fall under the same category of packages and therefore I can only have one of them.
  • Modern alternate to ctags/etags?
    3 projects | /r/cpp | 13 Jan 2022
    An alternative to LSP is rtags. I found this is often a lot faster than LSP, with any server.
  • External Clang Examples
    5 projects | news.ycombinator.com | 9 Feb 2021
    >"List of projects and tools

    https://github.com/Andersbakken/rtags/

    "RTags is a client/server application that indexes c/c++ code and keeps a persistent in-memory database of references, symbolnames, completions etc."

    https://rprichard.github.com/sourceweb/

    "A C/C++ source code indexer and navigator"

    https://github.com/etaoins/qconnectlint

    "qconnectlint is a Clang tool for statically verifying the consistency of signal and slot connections made with Qt's QObject::connect."

    https://github.com/woboq/woboq_codebrowser

What are some alternatives?

When comparing clangd and rtags you can also consider the following projects:

ccls - C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting

nvim-lspconfig - Quickstart configs for Nvim LSP

language-server-protocol - Defines a common protocol for language servers.

eglot - A client for Language Server Protocol servers

llvm-project - The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.

nvim-treesitter - Nvim Treesitter configurations and abstraction layer

dxr - DEPRECATED - Powerful search for large codebases

coc-diagnostic - diagnostic-languageserver extension for coc.nvim

ToyClangPlugin - Playing with Clang plugin system

Bear - Bear is a tool that generates a compilation database for clang tooling.

cldoc - clang based documentation generator for C and C++