Clice v1.0: Modern C++ Language Server Now Stable
After four months of alpha testing starting in July 2026, the C/C++ language server clice shipped version 1.0. Built from scratch rather than incrementally improving existing Clang-based servers like clangd, clice addresses architectural limitations that have plagued competing tools for years. Written entirely in modern C++, it demonstrates that contemporary language features can power complex, production-grade software.
Modern C++ patterns permeate the implementation. C++20 coroutines manage asynchronous operations through a custom event-driven library, C++20 modules replace traditional headers, static reflection handles serialization across multiple formats, and data-oriented design minimizes virtual functions. The build system uses Bazel with cross-platform xclang compilation, generating heavily optimized binaries through profile-guided and link-time optimization.
Multi-process compilation isolates compiler failures to individual workers, protecting the server—a contrast to clangd’s threaded model. Clice natively supports C++20 modules with persistent disk caching, auto-detects compilation context for incomplete code, and includes built-in probing for over 50 toolchains including nvcc, MSYS2, Cygwin, and zigcc. Beyond editor support via VS Code, it offers command-line tools for indexing, linting, and formatting.
Read the full article
Continue reading at Hacker News →This is an AI-generated summary. Read the original for the full story.