libCat
clangd
Our great sponsors
libCat | clangd | |
---|---|---|
21 | 46 | |
51 | 938 | |
- | 3.7% | |
8.8 | 3.3 | |
about 1 month ago | 10 days ago | |
C++ | Shell | |
GNU Affero General Public License v3.0 | Apache License 2.0 |
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.
libCat
-
I hate almost all software
That's awesome! I'm working on something that sounds similar. https://github.com/cons-cat/libcat
I'd love to see your work if you're willing to share it here!
- Manticore 6.0.0 – a faster alternative to Elasticsearch in C++
-
Chromium accepting Rust in a clear move to copy what Mozilla have done, replace C++ source code
It's worse in the standard library than it has to be. When I refactored my traits to minimize template instantiations and lean on concepts as much as possible, I measured over 30% improvement to clean build compile times. It's not possible for the standard to do this, because it would subtly change the API. For instance, you can't instantiate or take the address of a concept, but you can for a type-trait class. No reason you'd want to do that, but you can, so they can't "break" the standard library by optimizing this.
-
C++'s smaller cleaner language
This doesn't have to be true. Over the past year I've made progress towards demonstrating how even non-freestanding C++ can be written without any C or C++ standard library headers or DLLs (with large benefits). There are a few names which the compilers require to be in the std:: namespace, though, but they're very special features like source_location and construct_at with semantics that can't be expressed otherwise.
-
Is bloat in std::unexpected expected?
It isn't that hard to put a predicate into a type. We have lambdas in an unevaluated context, CTAD, and templated type aliases. https://github.com/Cons-Cat/libCat/blob/main/src/libraries/scaredy/cat/scaredy https://github.com/Cons-Cat/libCat/blob/main/src/global_includes.hpp#L70 https://github.com/Cons-Cat/libCat/blob/main/src/libraries/linux/cat/linux#L289 You do it like this.
- Software disenchantment - why does modern programming seem to lack of care for efficiency, simplicity, and excellence
- tiny::optional – a C++ optional that does not waste memory
-
Rust analyzer/clippy alternative for C++?
I use clang-tidy. These are my current linting rules.
-
John "God" Carmack: C++ with a C flavor is still the best (also: Python performance "keeps hitting me in the face")
I'm working on this! https://github.com/Cons-Cat/LibCat
- “Hello world” is slower in C++ than in C (Linux)
clangd
-
vscode alternative for C++ on M1 mac?
Come to the light side: VSCodium with clangd
More Details here: https://clangd.llvm.org/
-
Looking for projects to contribute to
If you use the clangd LSP: https://github.com/clangd/clangd/issues
-
C++ dev environment in pure lua based plugins.
Overall I think it’s pretty good. Though I’ve found a nasty clangd bug might push me back to YCM. Though. I don’t recall this being a issue in my previous vim setup.
- Lazyvim/Neovim Formatting Issue upon saving: A space is required between consecutive right angle brackets (use '> >') (fix available) clang
-
Most comfortable with C/C++. Want to make the jump to Rust.
That's why most people don't even try to do that, they use clangd instead.
-
First time nvim user here. Wanted to ask some questions.
- set up neovim with "intellisense" (language server + code completion). I would suggest https://github.com/VonHeikemen/lsp-zero.nvim with the "recommended" preset to start with. From there,when you edit a C++ file for the first time, I'll ask if you want to add a language server for it: just say "YES". This will install `clangd` (https://clangd.llvm.org/) automagically.
-
neovim-lua - Working on improvements for LSP and celebrating 2 years with Lua
LSP is just a communication protocol. You need two parts: an LSP client and a server. What Neovim includes is the client, the part that integrates with the editor. You will still need a separate server for each language, e.g. pylsp for Python or clangd for C. These are separate programs which exist outside of Neovim, they are editor-agnostic and can be used with any other LSP client as well.
-
linux c++ devs, what does your dev environment look like?
clangd as lsp server
-
C++20 Modules are now supported In CLion!
clangd: https://github.com/clangd/clangd/issues/1293
What are some alternatives?
ccls - C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
nvim-lspconfig - Quickstart configs for Nvim LSP
eglot - A client for Language Server Protocol servers
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
coc-diagnostic - diagnostic-languageserver extension for coc.nvim
Bear - Bear is a tool that generates a compilation database for clang tooling.
include-what-you-use - A tool for use with clang to analyze #includes in C and C++ source files
LanguageClient-neovim - Language Server Protocol (LSP) support for vim and neovim.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
coc-clangd - clangd extension for coc.nvim
lsp-mode - Emacs client/library for the Language Server Protocol
language-server-protocol - Defines a common protocol for language servers.