|
|
|
|
|
by pineapple_sauce
1138 days ago
|
|
From what I can tell:
1. They have a REPL and Jupyter integration
2. They're planning to do C and C++ interop. This is achievable in Nim but it is a pain, i.e. there is not easy way to import/include a C header in Nim, e.g. nothing as straight-forward as @cImport("cheader.h") in Zig or #include "cheader.h" in C++; one must go through c2nim or a third-party library (1) cannot be achieved without a custom linker or using a JIT such as LLVM or compiling to WASM and embedding a WASM runtime into the binary I really hope Nim gets some language/compiler upgrades due to this. |
|
I prefer writing an explicit wrapper anyway. It allows me to rename symbols to a more idiomatic name.