3 ms·
Does 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.
by jhasse 8y ago
Does 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.