LIVE

Clice v1.0 Debuts as a Modern C++ Language Server Built on LLVM/Clang

🤖 AI Models 1 min read 👁 10

After two and a half years of development and a recent alpha phase, the creator of the Clice project has officially launched version 1.0 of the C/C++ language server.

Clice v1.0 Debuts as a Modern C++ Language Server Built on LLVM/Clang🤖AI Models

Photo: Hacker News Front Page

Key points

  • Clice v1.0 arrives after two and a half years of development and four months of alpha testing.
  • The tool is written entirely in C++23 and utilizes an isolated multi-process compilation architecture.
  • It features native support for C++20 named modules and local persistent caching.

The developer behind Clice has released version 1.0 of the C/C++ language server following a significant milestone of reaching one thousand commits. Developed over the span of two and a half years, the software transitioned into nightly builds last July and underwent four months of alpha testing supported by real-world feedback.

Written entirely in C++23, Clice uses an LLVM/Clang foundation but diverges from alternatives like clangd and ccls through a ground-up redesign intended to resolve long-standing architectural hurdles. Among its core features is a multi-process compilation design structured similarly to contemporary web browsers, utilizing isolated child processes rather than traditional multithreading to isolate crashes and manage resource constraints.

The platform also incorporates native support for C++20 named modules, local disk caching of precompiled headers and modules, and automated detection of compilation contexts for non-self-contained files. Additionally, the tool introduces a depth-first search pseudo-instantiator to improve template handling and code completion capabilities without demanding full concrete instantiations.

What to watch next: Adoption rates of Clice among developers working with large codebases and C++20 modules.

Source Hacker News Front Page — ykiko.me/en/articles/2105384023094834022/ ↗

Contact the newsroom

Got a tip, a proposal or a partnership question? Write to us and we will reply shortly.