Clice v1.0 is the first stable release of a C/C++ language server built on LLVM/Clang and written in C++23. After four months of nightly builds and alpha testing, its developer says core features are stable and have been tested against real open-source projects. Its design isolates compilation in child processes, so a compiler crash can disable one worker without taking down the server. It also supports C++20 modules with on-demand builds and persistent caching, handles files whose meaning depends on where they are included, and offers enhanced template-aware navigation and completion. Most projects need only a compile_commands.json, with built-in detection for more than 50 toolchains. Clice also provides command-line tools for indexing, linting, formatting, querying code, refactoring, analyzing project structure, and converting code to modules.
The project is also presented as a demonstration that modern C++ features - including coroutines, named modules, reflection-based serialization, and standard-library facilities such as std::expected and ranges - can support a large, complex application, despite friction in the surrounding ecosystem. Its architecture and breadth are intended to address longstanding shortcomings in clangd and ccls. The developer says clangd has lacked sustained maintenance since around 2024, after Google reduced its investment in Clang, leaving major improvements difficult to advance. That experience helped motivate a new implementation rather than incremental changes. The release marks more than two years of development and a milestone of 1,000 commits.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.