Ask HN: Best dev environment for C in 2024?

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. modern-c-vim-dev-env

    A Modern C development environment using vim, nix, LSP (macOS)

    Here's a couple of tooling posts about modern C development:

    - https://github.com/xave/modern-c-vim-dev-env

    - https://github.com/xave/modern-c-vimspector-debugger-tutoria...

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. modern-c-vimspector-debugger-tutorial

    A `vimspector` tutorial for macOS/Linux debugging with lldb/gdb

    Here's a couple of tooling posts about modern C development:

    - https://github.com/xave/modern-c-vim-dev-env

    - https://github.com/xave/modern-c-vimspector-debugger-tutoria...

  4. modern-c-vimspector-debugger-tutoria

    Discontinued [GET https://api.github.com/repos/xave/modern-c-vimspector-debugger-tutoria: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository]

    Here's a couple of tooling posts about modern C development:

    - https://github.com/xave/modern-c-vim-dev-env

    - https://github.com/xave/modern-c-vimspector-debugger-tutoria...

  5. Unity Test API

    Simple unit testing for C

    There are plenty of good IDE in 2024 for any languages; C included.

    For the IDE itself, the big choices are between Jetbrains CLion and VSCode. If you are familiar with Jetbrains product for another language, stick to it. Same for VSCode, if you’re use to it, just install the right plugins.

    I personally prefer Jetbrains product because it is working without selecting/installing all the plugins. Some people likes to tweak their environment. So, I don’t use a lot of plugins on the IDE.

    I use VSCode only when I have multiple stack in the same project (typically Flutter project which include the Dart part and the native part). In that case, VSCode is more practical.

    In the embedded world, there is also Kiel for ARM embedded development. (https://www.keil.com/). I was never be able to use it. It is really unnatural to me but a lot of embedded C developers love it.

    Regarding the dev tools, I prefer to use tools that are multi platform and widely used. So, the dev tools include CMake, make and GNU C compiler. It is a pretty common toolkit that covered my needs so far.

    Unit tests are written with Unity Test Framework (https://github.com/ThrowTheSwitch/Unity). It is simple and allow to be executed on the target if required; which is practical for embedded development.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Functional Tests as a Tree of Continuations

    2 projects | news.ycombinator.com | 13 Mar 2025
  • It is hard to recommend Python in production

    2 projects | news.ycombinator.com | 7 Mar 2025
  • dnSpyEx: .NET Debugger and Assembly Editor

    2 projects | news.ycombinator.com | 15 Jan 2025
  • How we added Apple Silicon support to analyzer (arm64)

    2 projects | dev.to | 24 Dec 2024
  • Probe.rs: Rust Embedded Toolkit

    1 project | news.ycombinator.com | 10 Dec 2024

Did you know that Vim Script is
the 31st most popular programming language
based on number of references?