Nim -- a modern "glue" language like Python

ringabout

ringabout

Posted on October 12, 2021

Nim -- a modern "glue" language like Python

Nim is a statically typed compiled systems programming language. It supports various backends: it compiles to C, C++ or JavaScript so that Nim can be used for all backend and frontend needs. Via importc, importcpp, importjs pragmas, Nim can import C/C++/JS/ObjC methods or symbols in general. You can refer to the manual of Nim.

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.

💖 💪 🙅 🚩
ringabout
ringabout

Posted on October 12, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Nim experiences so far(?)..
nim Nim experiences so far(?)..

September 8, 2023

Flutter 2.0 meets Nimbella
flutter Flutter 2.0 meets Nimbella

March 21, 2021

Aprende a programar con Nim
nim Aprende a programar con Nim

March 11, 2021

Rock, Paper, Scissors on 1 Tweet
nim Rock, Paper, Scissors on 1 Tweet

November 30, 2020