3 ms·
I thought so too about Nim, but then I realized how easy it is to call c libs from nim. There is infinate amount of c and c++ libs out there.
by treeform 8y ago
I thought so too about Nim, but then I realized how easy it is to call c libs from nim. There is infinate amount of c and c++ libs out there.
- jhasse 8y agoDoes calling C++ libs work in the latest version of Nim though? I mean real C++ interfaces, not C ones that just happen to use C++ in their implementation.
- mratsim 8y agoWorks for me: Wrapping a C++ header-only template library: https://github.com/status-im/nim-ttmath https://github.com/status-im/nim-ttmath Generating Cuda C++ Functor: https://github.com/mratsim/Arraymancer/blob/master/src/tensor/private/incl_kernels_cuda.nim https://github.com/mratsim/Arraymancer/blob/master/src/tenso...
- dom96 8y agoYes, and as far as I'm concerned Nim has one of the best C++ interop capabilities out of any language bar C++ itself.