C2nim: A tool to translate ANSI C code to Nim

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
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
  1. c2nim

    c2nim is a tool to translate Ansi C code to Nim. The output is human-readable Nim code that is meant to be tweaked by hand before and after the translation process.

  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. nimterop

    Nimterop is a Nim package that aims to make C/C++ interop seamless

    There’s also nimterop: https://github.com/nimterop/nimterop

  4. tinycc

    Unofficial mirror of mob development branch

    E.g., at least on Linux where glibc headers are very gcc-tilted, the only extension tcc really needs is that __attribute__(()) stuff (maybe 1 or 2 other "just ignore this stuff" things).

    While there can always be edge cases that are broken, I use tcc daily on Linux without issue. So, I would encourage people to not view C as an untamable complexity monster or be captive to prevailing implementations.

    [1] https://github.com/TinyCC/TinyCC

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

  • C23: A Slightly Better C

    2 projects | news.ycombinator.com | 21 Jan 2024
  • Optimizing GoAWK with a bytecode compiler and virtual machine

    4 projects | news.ycombinator.com | 3 Feb 2022
  • Standalone C compiler/assembler/linker/Libc for x86-64/aarch64/riscv64/WASM

    1 project | news.ycombinator.com | 29 Apr 2025
  • I built a hardware processor that runs Python

    11 projects | news.ycombinator.com | 28 Apr 2025
  • Ask HN: Writing an Interpreter in Go or Crafting Interpreters?

    1 project | news.ycombinator.com | 22 Apr 2025

Did you know that Nim is
the 50th most popular programming language
based on number of references?