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. (by nim-lang)

C2nim Alternatives

Similar projects and alternatives to c2nim

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better c2nim alternative or higher similarity.

c2nim reviews and mentions

Posts with mentions or reviews of c2nim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-11.
  • Nim -- a modern "glue" language like Python
    9 projects | dev.to | 11 Oct 2021
    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 after the translation process. If you are tired of wrapping C library, you can try futhark which supports "simply import C header files directly into Nim". Similar to futhark, cinterop allows one to interop with C/C++ code without having to create wrappers. nimLUA is a glue code generator to bind Nim and Lua together using Nim's powerful macro. nimpy and nimporter is a bridge between Nim and Python. rnim is a bridge between R and Nim. nimjl is a bridge between Nim and Julia! Last but not least, genny generates a shared library and bindings for many languages such as Python, Node.js, C.
  • Genny – Generate Nim library bindings for many languages
    6 projects | news.ycombinator.com | 12 Sep 2021
    Now if only a full binding generator for C and C++ headers to Nim was done, the language would really be cooking!

    "What do you mean, Nim has two of these already?"

    Yeah, I know, and -- not to hurt anyone's feelings -- but: they kind of suck. And there's no way I see them able to be extended to do the job fully, based on the way they're currently built.

    Those are some bold claims to make!

    So before I get stoned to death (no offense to the authors, I am grateful that they exist and have used them both) let me attempt an explanation and back up these statements.

    ---

    To start off, the two tools available are "c2nim" and "nimterop". c2nim is a Nim official library, while nimterop is a community library.

      https://github.com/nim-lang/c2nim
  • ffipf - quickly jump to file in a project with a native module
    5 projects | reddit.com/r/emacs | 10 Jan 2021
    Yes. Nim compiles to C and has a lot of features for interacting with C code. You can easily call C routines from Nim and Nim functions from C. There's a bit of a ceremony you need to go through, but most of it can be automated with c2nim tool: https://github.com/nim-lang/c2nim
  • C2nim: A tool to translate ANSI C code to Nim
    3 projects | news.ycombinator.com | 1 Jan 2021
  • A note from our sponsor - talent.io
    www.talent.io | 25 Sep 2022
    Median salaries, most in-demand technologies, state of the remote work... all you need to know your worth on the market by tech recruitment platform talent.io Learn more →

Stats

Basic c2nim repo stats
4
401
3.3
27 days ago

nim-lang/c2nim is an open source project licensed under MIT License which is an OSI approved license.

Download talent.io’s Tech Salary Report
Median salaries, most in-demand technologies, state of the remote work... all you need to know your worth on the market by tech recruitment platform talent.io
www.talent.io
Find remote jobs at our new job board 99remotejobs.com. There are 5 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.