NimProgrammingBook
nimjl
NimProgrammingBook | nimjl | |
---|---|---|
5 | 5 | |
257 | 47 | |
- | - | |
7.5 | 5.3 | |
6 months ago | about 2 months ago | |
CSS | Nim | |
- | - |
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.
NimProgrammingBook
- Computer Programming with the Nim Programming Language – A Gentle Introduction
-
The Python Paradox
The community gives me pause. Nim's BDFL seems to have a habit of driving away prominent users of the language. Programmers who had contributed to the compiler have made their own hostile fork, and two of the three people who have written book-length introductions to the language have either given up on Nim or been tempted to do so. (The third is the BDFL himself.)
If anyone cares, here's some comments from one of those authors: https://github.com/StefanSalewski/NimProgrammingBook/issues/... .
-
Computer Programming with Nim
The book has a GitHub repo, but the author unfortunately hasn't decided on licensing yet and doesn't accept contributions. At least there's a place to suggest corrections and possibly have a discussion with the author.
https://github.com/StefanSalewski/NimProgrammingBook
- Difference between ref and a var inside proc definition
nimjl
-
Deeplearning in Nim?
While indeed we are less people developing stuff in Nim compared to even the Julia community (which itself is of course much smaller than say Python), we do have cover a large amount of the typical needs in the scientific computing domain. And where we miss stuff it's a) easy to wrap C/C++ or b) simply call Julia, R or Python (As a personal reference I'm doing data analysis & numerical physics stuff in context of my PhD in physics and I literally do everything in Nim. The only significant C dependency {and only as a shared lib} I depend on is libhdf5 via nimhdf5).
-
Stan in Nim?
use nimjl to access the Julia bindings
-
Generate Python extensions using Nim language
To add to that, there's also a Nim <-> Julia bridge: https://github.com/clonkk/nimjl
- Computer Programming with Nim
-
Nim -- a modern "glue" language like Python
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.
What are some alternatives?
nimskull - An in development statically typed systems programming language; with sustainability at its core. We, the community of users, maintain it.
genny - Generate a shared library and bindings for many languages.
nimpy - Nim - Python bridge
neo - A matrix library
nimporter - Compile Nim Extensions for Python On Import!
Arraymancer - A fast, ergonomic and portable tensor library in Nim with a deep learning focus for CPU, GPU and embedded devices via OpenMP, Cuda and OpenCL backends
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.
nimblas - BLAS for Nim
futhark - Automatic wrapping of C headers in Nim
pytype - A static type analyzer for Python code